diff options
author | Hui Yu <huiyu@google.com> | 2020-08-06 16:55:19 -0700 |
---|---|---|
committer | Hui Yu <huiyu@google.com> | 2020-12-16 22:41:25 +0000 |
commit | 346eed7325d47d8ed453266f613ccad1b4260c67 (patch) | |
tree | cfa1b88a7037cfbe4381e12ee5021bff678411c0 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 0d8b71b18225bc29af86b06f36e0f8209d0d5f56 (diff) |
RESTRICT AUTOMERGE: Set mAllowWhileInUsePermissionInFgs correctly when bindService() from background.
Pass original callingPid and callingUid into
shouldAllowWhileInUsePermissionInFgsLocked() after
Binder.clearCallingIdentity().
Bug: 163084228, 173516292
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java#testFgsLocationStartFromBGWithBind
Change-Id: I7a240621267648ea54e7dc737ebc55bc665e39b6
Merged-In: I7a240621267648ea54e7dc737ebc55bc665e39b6
(cherry picked from commit 86bd39db3595842bae77abe7e768226e412591c8)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions