summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorFelka Chang <felkachang@google.com>2021-11-12 15:00:22 +0800
committerFelka Chang <felkachang@google.com>2021-11-15 12:53:01 +0800
commit5a9aaf693bad552dbfd06d362a41c845e1b81421 (patch)
treedf78abbe3a71c807f348544c77d1a5068546feb4 /core/java/android/inputmethodservice/InputMethodService.java
parent387615bf80422be167161eb0a1c5f24c330860b4 (diff)
Fix 0x10000 resource not found exception
An application "consumer" needs a static library "provider" that needs another static library "recursive". The recursive static library will change its code path to another path although Install Process uses the same apk to install twice. The "recursive" library directory change its installation directories. And, the old installation directory has been removed. The remove operation reveals an error that resources use the old recursive static library apk path. Root cause: "consumer" reference "recursive" indirectly. PackageSetting of "consumer" doesn't notify the changes when its library files are updated as a different list. Solution: It calls PackageSetting.onChanged() when the parameter usesLibraryFiles is different from PackageSetting.getUsesLibraryFiles(). Fixes: 201750896 Test: TP="FrameworksServicesTests"; \ atest ${TP}:com.android.server.pm.PackageManagerSettingsTests Test: atest \ CtsOsHostTestCases:android.os.cts.StaticSharedLibsHostTests Change-Id: Ia8ab7a67ca2d5729d8b4c0f9e53a7deaa760f914
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions