Avoid RuntimeException and log spam

We know Google Play Services have free reign and do whatever they want with the other Google apps.

This commit stops this logspam:

12-25 02:14:01.740   878 31531 W AppOps  : Bad call: specified package com.google.android.gms under uid 10061 but it is really 10021
12-25 02:14:01.740   878 31531 W AppOps  : java.lang.RuntimeException: here
12-25 02:14:01.740   878 31531 W AppOps  :      at com.android.server.AppOpsService.getOpsRawLocked(AppOpsService.java:1257)
12-25 02:14:01.740   878 31531 W AppOps  :      at com.android.server.AppOpsService.checkPackage(AppOpsService.java:976)
12-25 02:14:01.740   878 31531 W AppOps  :      at com.android.internal.app.IAppOpsService$Stub.onTransact(IAppOpsService.java:169)
12-25 02:14:01.740   878 31531 W AppOps  :      at android.os.Binder.execTransact(Binder.java:565)

It also fixes this awful log output. ("here"? really?)

In my case, the 10061 app was Google Keep.

Change-Id: If7469b662625f4f4bbea4e9524bd12d08106a100
1 file changed