summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/AbstractInputMethodService.java
diff options
context:
space:
mode:
authorGavin Corkery <gavincorkery@google.com>2021-09-09 15:39:31 +0100
committerGavin Corkery <gavincorkery@google.com>2021-09-09 15:39:31 +0100
commitce163ffca121406cf2a655ffa4c23e544409b20f (patch)
treef15b7c91aaccaa0701fce432262f3aa5a3a8189f /core/java/android/inputmethodservice/AbstractInputMethodService.java
parent15baa6ed9d7dd1047f19fe003152d52ea7af71b7 (diff)
Only delete available rollbacks if packages are replaced
This accounts for the case when an update is staged and the system server restarts. Previously, any rollbacks in the ENABLING state were deleted in this case since the current package versions would not match the "rolled back from" version in the rollback. This would mean that a rollback could be deleted even if the subsequent install was successful. Instead, skip the package version check for ENABLING rollbacks. Test: Stage install with rollback enabled, adb shell am restart, ensure the rollback is still in the enabling state Bug: 198006738 Change-Id: I70dfde95ccf0d6a5e20144e3de7f6c8afe55c13b
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions