OSDN Git Service

ActivityManagerService: make bluetooth actually persistent
authorTim Murray <timmurray@google.com>
Tue, 17 Apr 2018 04:43:33 +0000 (21:43 -0700)
committerTim Murray <timmurray@google.com>
Wed, 18 Apr 2018 16:47:51 +0000 (09:47 -0700)
commite010b418ec1defadff855feece5d99aba6193ca5
treee263a10b7ec26cabfe45e6f296b179b326a35406
parent4ea0a5a2df28c3acdd72332907be2d4f38fcd061
ActivityManagerService: make bluetooth actually persistent

com.android.bluetooth was being marked as a persistent service in terms
of OOM adjustment, but it was only being marked as important foreground for
scheduling reasons. Make sure that persistent services are correctly
marked as persistent for the purposes of scheduling too.

bug 78197570
Test: dumpsys activity

Change-Id: Ieb2fe4253cac1202bd94a42356bb32f9e77b5637
services/core/java/com/android/server/am/ActivityManagerService.java