summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorHui Yu <huiyu@google.com>2020-03-18 16:33:37 -0700
committerHui Yu <huiyu@google.com>2020-03-19 13:02:44 -0700
commitd3de0b9f07f493c7da3feac3acd9d430d1182ac4 (patch)
tree6edd2dbf2b06b9990240c5a30e5b7dde05e71784 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent00a776682cd5662a28e204894f44dc4b1876b627 (diff)
Debug missing foregrounsServiceType does not need procstate to be
foreground service. This CL is a continuation of ag/10556520, If manifest missing foregrounsServiceType camera/microphone in manifest file and the process is asking for camera/microphone ops, generate a WTF log. Do this also for targetSdkVersion lower than R so we know they need it if targetSdkVersion is R. The process state does not need to be strictly foreground service state, it can be any other foreground state, the process just have a foreground service running. Also change the WTF log frequency to up to one per 10 minutes because we only see about 80 WTF logs per day. The server can handle more. Bug: 150892326 Test: atest cts/tests/app/src/android/app/cts/ActivityManagerProcessStateTest.java atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java Change-Id: I35bf3768d0dc6ed6aa6011189f6b6d92b51029b5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions