callingUid needs to be passed from AMS to DeviceIdleController.
callingUid is the UID of the app who added the temp-allowlist entry, it needs to be passed from AMS to DeviceIdleController. The callingUid will go into Westworld metric ForegroundServiceStateChanged. Bug: 171305836 Test: Observe the callingUid while grepping for "tempAllowListReason" in adb logcat, it should be a non-zero value. BYPASS_INCLUSIVE_LANGUAGE_REASON=Existing public API. Change-Id: I19f5cf8f72d5fbfb3fd6caefe6978e75d4c1a801
Loading
Please register or sign in to comment