commit | 0a82690868b58fde22d6aaaebe1d01b7bb9b8658 | [log] [tgz] |
---|---|---|
author | Christopher Tate <ctate@google.com> | Fri May 25 15:15:44 2018 -0700 |
committer | Chris Tate <ctate@android.com> | Tue May 29 22:00:48 2018 +0000 |
tree | 4f9a77ad23855397d6ea7f61189b7ad8a1f406cb | |
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