diff options
author | Christopher Tate <ctate@google.com> | 2018-05-25 15:15:44 -0700 |
---|---|---|
committer | Chris Tate <ctate@android.com> | 2018-05-29 22:00:48 +0000 |
commit | 0a82690868b58fde22d6aaaebe1d01b7bb9b8658 (patch) | |
tree | 4f9a77ad23855397d6ea7f61189b7ad8a1f406cb /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 3ec17d31c5eed1730d3ea1e2d03763b03b2b6820 (diff) |
Guard pre-O apps from malicious startForegroundService()
Don't enforce the startForegroundService() requirement to transition to
foreground when the app hosting the service doesn't yet target the API
level at which this semantic was introduced.
Bug: 79377529
Test: manual (ApiDemos is pre-O)
Test: atest CtsAndroidAppTestCases
Change-Id: Ib0b970211d4ee6a86e22c89aff47b05403907ed5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions