summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Script.java
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2016-06-02 16:13:10 -0700
committerMakoto Onuki <omakoto@google.com>2016-06-07 16:11:30 -0700
commit157b1628fd84dc3ef0355fddd8d281618f94d33e (patch)
tree5e24d8a79912aae39313cd1d73598c49bfe970ba /rs/java/android/renderscript/Script.java
parent5eebdd8bb896ff990bbfab06f8f1a6b90982ebdb (diff)
ShortcutManager: deal with changing resource IDs on app update
- When an app is upgraded, all the resource IDs may change. So if a shortcut is previously published with an icon for res ID 100 and the publisher is upgraded, resource #100 may refer to something different. - So now the service also remembers resource names for icon resources, as wells as string resources. When an app is updated, the service fetch the updated resource IDs by name. - Also extract all string resources when a shortcut is published and persist them, so that even when the original string resources are removed from the app, the launcher can still show the extracted strings. - When the system locale changes, re-extract all string resources. - Also really hide the constants in ShortcutInfo that were accidentally made public. Change-Id: I23c29b45c1de5d76175229190a1533c9c62c5960
Diffstat (limited to 'rs/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions