summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/AbstractInputMethodService.java
diff options
context:
space:
mode:
authorJackal Guo <jackalguo@google.com>2021-08-18 14:31:35 +0800
committerJackal Guo <jackalguo@google.com>2021-08-20 10:41:14 +0800
commit0a35f11ba7a449712cd293e5075ec92a142bd6af (patch)
tree2aa198c34230ae6e324da1a5acbf58c1dc03ef0b /core/java/android/inputmethodservice/AbstractInputMethodService.java
parent32f23c94f551077fac260d4dbed89c8d525988c6 (diff)
Fix visibility was gone after updating
System grants implicit visibility when the Uri permission is granted. But, all the visibility rules would be cleared when package updating. Since the implict visibility doesn't come from manifest, we cannot restore it via recompuating visibility. This solution is similar to how UriGrantsManagerService handles the granted Uri permissions when packagea updated. We keep them unchanged instead of clearing them. Bug: 161912313 Test: atest AppsFilterTest Test: atest AppEnumerationTests Test: atest UriGrantsManagerServiceTest Test: manually use test APKs on buganizer to verify Change-Id: I3026e06574f78c15dbf60c74db126679c677adb1
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions