summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/24/changes.html
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2016-06-02 15:31:30 +0100
committerDavid Brazdil <dbrazdil@google.com>2016-06-02 15:45:03 +0100
commit89c80bb631d51e2d9947e9e1ccbe328b971d2476 (patch)
treea5269e793752734874c4eb11472ddad75df141bc /docs/html/sdk/api_diff/24/changes.html
parent88be465ce572f84649e01744a7ec96b6346b3686 (diff)
Do not update packages in encrypted state
SystemServer used to run PMS.updatePackagesIfNeeded even when the device is booting in encrypted state only with core packages available. This is redundant because the packages are prebuilts (OAT files always up to date) and the data partition is not mounted yet, so we are only wasting time opening the OAT files and testing checksums. Additionally, the attempt to update these packages gets reported to TRON stats as time spent in the Optimizing Apps dialog and skews the results. This patch does not call updatePackagesIfNeeded when in the device is in encrypted state. Bug: 28833829 Change-Id: I8641d07a8840948ffe261dfb8f99f70de7341972
Diffstat (limited to 'docs/html/sdk/api_diff/24/changes.html')
0 files changed, 0 insertions, 0 deletions