summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorTetsutoki Shiozawa <tetsutoki.shiozawa@sony.com>2018-01-17 11:07:09 +0900
committerTodd Kennedy <toddke@google.com>2018-02-02 09:51:37 -0800
commitebe0e5f71672d1b01c5bac20b5e078dc8fa3ee0e (patch)
treed57b2ad28c5c13d0a84a0d9ae9143e900bd17de5 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentb97eb6b8172ce2f617a9549dd55a8b9ed503af8d (diff)
Keep the legacy ssaid for apps on SD card
Symptom: After O OS upgrade, LINE application on SD card got crash loop. The encrypted data depended on the ssaid and it was changed by OS upgrade. Root cause: At the 1st boot-time of OS upgrade, StorageProvider migrates the legacy ssaids. At that moment, SD card is not mounted yet. The target of migration depends on the list of PMS#getInstalledPackages() and the list doesn't contain the apps on unmounted SD card. As a result, the ssaids for the apps on SD card are not migrated. Solution: The target of ssaid migration respects the all known packages of PMS. To achieve it, getInstalledPackages() with MATCH_UNINSTALLED_PACKAGES is improved. Now, it can provide the information of package which has an inaccessible package file. Even though SD card is not mounted, the package list contains the apps on SD card. Bug: 72343790 Change-Id: If5d31e44cf7ec44da6010434515a157b00a5a09a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions