diff options
author | Hui Yu <huiyu@google.com> | 2020-09-01 16:52:25 -0700 |
---|---|---|
committer | Hui Yu <huiyu@google.com> | 2020-09-10 21:51:19 +0000 |
commit | f58901fa4fe7fdb1599ce2a8bf1a2187edeef850 (patch) | |
tree | 6053c36bb8efc1ef8508e185cf0f915d12a5e450 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c8436b91b2b38472ed716627560aa60fbe107970 (diff) |
Elaborate on the reason of FGS background start.
shouldAllowFgsFeatureLocked used to return boolean, now return an
integer that specify the reason of denial/allowance.
If FGS startForeground() is allowed in bg proc state because the list of
exemptions, still generate the Slog.wtf() log messages so we have a
complete list of bg started FGS.
Bug: 157473819
Test: adb logcat | grep "Background started FGS"
atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java
Change-Id: I21cbaa1d6c44e7c252b8cc91fe258065d0b2ccaf
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions