Merge "Fix indicator not removing in certain cases" into tm-dev am: b2b75d9b54
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18083366 Change-Id: Ie9f8f5ad90f983a4f3565306d80bbb9cb644b324 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -375,7 +375,7 @@ public class AppOpsControllerImpl extends BroadcastReceiver implements AppOpsCon
|
||||
Log.w(TAG, String.format("onActiveChanged(%d,%d,%s,%s,%d,%d)", code, uid, packageName,
|
||||
Boolean.toString(active), attributionChainId, attributionFlags));
|
||||
}
|
||||
if (attributionChainId != AppOpsManager.ATTRIBUTION_CHAIN_ID_NONE
|
||||
if (active && attributionChainId != AppOpsManager.ATTRIBUTION_CHAIN_ID_NONE
|
||||
&& attributionFlags != AppOpsManager.ATTRIBUTION_FLAGS_NONE
|
||||
&& (attributionFlags & AppOpsManager.ATTRIBUTION_FLAG_ACCESSOR) == 0
|
||||
&& (attributionFlags & AppOpsManager.ATTRIBUTION_FLAG_TRUSTED) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user