diff options
author | Makoto Onuki <omakoto@google.com> | 2016-11-21 13:41:32 -0800 |
---|---|---|
committer | Makoto Onuki <omakoto@google.com> | 2016-11-21 13:49:31 -0800 |
commit | fac592f64c55004e9048e30e03d6dc65bdb4f00a (patch) | |
tree | 4276d6cc2c8bf63c37d19d1e1d89ce250a09bb8f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | de098d013c8f6fa5bbee8169464b921edde6623d (diff) |
Fix issue with apps restored to lower versions.
When restoring to a new device, if a restored app is not compatible
with the old version (e.g. lower version or different signature),
then we won't restore shortcuts, which is working as expected.
However when it happens, the shortcut manager forgot to "un-shadow"
the package information, causing the app to not have shortcuts at all.
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests
Bug 32999759
Change-Id: I89832360114de0ce1c57d763bcaccab4fdb87b6d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions