diff options
author | Hui Yu <huiyu@google.com> | 2020-08-06 16:55:19 -0700 |
---|---|---|
committer | Hui Yu <huiyu@google.com> | 2020-08-06 17:20:16 -0700 |
commit | 189bfb6f5cc1fc81c5a3a5721409592e464adfca (patch) | |
tree | d944218c7f90ad2fd7af32186bda2a3a478c809f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | fa206670327b35d451bb1736be4da3e816b97383 (diff) |
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_test.cpp')
0 files changed, 0 insertions, 0 deletions