summaryrefslogtreecommitdiff
path: root/core/java/android/widget/TextView.java
diff options
context:
space:
mode:
authorKeun young Park <keunyoung@google.com>2021-09-10 17:10:44 -0700
committerKeun young Park <keunyoung@google.com>2021-10-14 11:33:20 -0700
commitf992cb310195fe4b9cc942daca964ea229df9cb1 (patch)
tree64b26f6525e684c6a30c7b83f465e137a087cc03 /core/java/android/widget/TextView.java
parentbd4ea64e302cece4560d5281454adb2b3b8753a7 (diff)
add cancellation to background dexopt
- Completely refactored BackgroundDexOptimizationService to make it work under PackageManagerService : BackgroundDexOptJobService is added for JobService. - Merged all post boot update code with idle opt code. - added dump through adb shell dumpsys package dexopt - cancel background dexopt when idle job is stopped. Bug: 179094324 Bug: 156537504 TODO: add unit test as separate CL Test: run idle job, stop it repeatedly and check cancellation $ adb shell cmd jobscheduler run android [800|801] $ adb shell cmd jobscheduler timeout android $ adb shell cmd jobscheduler run android [800|801] $ adb shell pm bg-dexopt-job ex) $ adb shell cmd jobscheduler run android 801; sleep 1; adb shell cmd jobscheduler timeout android ex) adb shell pm bg-dexopt-job, in a separate termainal: adb shell pm cancel-bg-dexopt-job $ adb shell dumpsys package dexopt Change-Id: Ifa706fe44b0be76d393608646ea9e98169ea8916
Diffstat (limited to 'core/java/android/widget/TextView.java')
0 files changed, 0 insertions, 0 deletions