OSDN Git Service

Tie FAS service-start to the same idleness state as O+ bg restrictions
authorChristopher Tate <ctate@google.com>
Wed, 25 Apr 2018 17:47:23 +0000 (10:47 -0700)
committerChristopher Tate <ctate@google.com>
Thu, 26 Apr 2018 00:14:13 +0000 (17:14 -0700)
commit45f06c79d6270c608dcdbea55ee9dec501c9187e
treece0c72fc12cb557d6e6df0c1c7250738738db811
parentabab4cbd2573aa9300e56dea1b9529ca7782573e
Tie FAS service-start to the same idleness state as O+ bg restrictions

Change-Id: I5b80519f7006fcee63644235d91435f0a591ea50
Fixes: 78322423
Test: ApiDemos outside FAS with startService() in Activity#onStop()
Test: ApiDemos in FAS service exercises (checking regressions)
Test: Maps navigation (checking regressions)
services/core/java/com/android/server/am/ActiveServices.java
services/core/java/com/android/server/am/ActivityManagerService.java