summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorHui Yu <huiyu@google.com>2020-09-30 14:00:48 -0700
committerHui Yu <huiyu@google.com>2020-09-30 16:21:27 -0700
commit12378c5223adbe5779cb4fcdd8e654ebc56941dd (patch)
tree9dbcc476fa7ff3bd3227b9f7c01eb58a68a3bcfc /tools/aapt2/java/JavaClassGenerator_test.cpp
parent282c68d3b30b03bbf2268395d7671e9f1945cb35 (diff)
Show a notification when a BG-launch FGS is restricted.
Previously each BG-launch FGS that is restricted has a logcat message, now we also display a notification that has: Title: "Foreground Service BG-Launch Restricted" Content: "App restricted:" + app package name Detail: intent of the FGS. Use following command to turn on the FGS BG-launch restriction feature: adb shell device_config put activity_manager default_fgs_starts_restriction_enabled true adb shell device_config get activity_manager default_fgs_starts_restriction_enabled Bug: 157473819 Test: Observe the notification when FGS BG-launch is restricted. atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java#testFgsStartFromBG Change-Id: Ia1ce1c7e103fbfa0a8487b0a3009b2d2ca61ba74
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions