diff options
author | Hui Yu <huiyu@google.com> | 2020-08-06 16:55:19 -0700 |
---|---|---|
committer | Hui Yu <huiyu@google.com> | 2020-08-26 18:24:44 +0000 |
commit | 86bd39db3595842bae77abe7e768226e412591c8 (patch) | |
tree | 6cfe6f7bc26d2c892d331e41f99abb7a02de4dfc /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 21d93d42d910e2e5f0a978d52498bda6a131e6e4 (diff) |
RESTRICT AUTOMERGE: Set mAllowWhileInUsePermissionInFgs correctly when bindService() from background.
Pass original callingPid and callingUid into
shouldAllowWhileInUsePermissionInFgsLocked() after
Binder.clearCallingIdentity().
Bug: 163084228
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java#testFgsLocationStartFromBGWithBind
Change-Id: I7a240621267648ea54e7dc737ebc55bc665e39b6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions