diff options
| author | Jing Ji <jji@google.com> | 2022-02-07 00:56:27 -0800 |
|---|---|---|
| committer | Jing Ji <jji@google.com> | 2022-02-08 22:46:43 -0800 |
| commit | 8ddcda8bec75dae7edefddab07d3e636d96ca393 (patch) | |
| tree | fd7fc31fd0f667367da096a44ff49f38e9081897 /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | ed6be44189198deb401600704603a1ec6a37eac3 (diff) | |
Don't prompt on bg abuse if the app has a FGS with notification
Add a new config to control whether or not to prompt the user when
the system detects a background abusive app and it has a foreground
service with notification shown. By default it's OFF, meaning if
the background abusive app has a foreground service and its
notification is still showing, no prompt to the user in this case.
Bug: 200326767
Bug: 203105544
Test: atest FrameworksMockingServicesTests:BackgroundRestrictionTest
Change-Id: Ic611090e3152117a2379d902fc32416e11c3e197
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
