Merge "Fix indicator can't disappear in some cases" am: bd6308ac92
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2041184 Change-Id: I9b122468405b44ec0f1b109a29ef61d598352d68 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -376,7 +376,7 @@ public class AppOpsControllerImpl extends BroadcastReceiver implements AppOpsCon
|
|||||||
Log.w(TAG, String.format("onActiveChanged(%d,%d,%s,%s,%d,%d)", code, uid, packageName,
|
Log.w(TAG, String.format("onActiveChanged(%d,%d,%s,%s,%d,%d)", code, uid, packageName,
|
||||||
Boolean.toString(active), attributionChainId, attributionFlags));
|
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_FLAGS_NONE
|
||||||
&& (attributionFlags & AppOpsManager.ATTRIBUTION_FLAG_ACCESSOR) == 0
|
&& (attributionFlags & AppOpsManager.ATTRIBUTION_FLAG_ACCESSOR) == 0
|
||||||
&& (attributionFlags & AppOpsManager.ATTRIBUTION_FLAG_TRUSTED) == 0) {
|
&& (attributionFlags & AppOpsManager.ATTRIBUTION_FLAG_TRUSTED) == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user