diff options
author | Daniel Nishi <dhnishi@google.com> | 2017-01-24 09:29:38 -0800 |
---|---|---|
committer | Daniel Nishi <dhnishi@google.com> | 2017-01-24 09:29:38 -0800 |
commit | 4d4142b6aad3da4c1757b56a78a9196b45a7982c (patch) | |
tree | a63c8a8606f648feb76bf007b2b683d1180f493a /src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java | |
parent | d9d463be8ba2bb07d88f609a71336da5f27e7e37 (diff) | |
download | packages_apps_Settings-4d4142b6aad3da4c1757b56a78a9196b45a7982c.tar.gz packages_apps_Settings-4d4142b6aad3da4c1757b56a78a9196b45a7982c.tar.bz2 packages_apps_Settings-4d4142b6aad3da4c1757b56a78a9196b45a7982c.zip |
Fix a bug where Settings would crash from search into storage.
If the user entered the StorageDashboardFragment from search,
it would crash due to a precondition check added to the Storage
Manager. Because no volume id was set in the bundle for it to
check, it hits an assert that the volume id is not null causing
Settings to crash.
This sets a sensible default instead of null.
Bug: 34633464
Test: Manual. Entering through search does not crash now.
Change-Id: Ia6cd82929a0813eefcdad279436b9c2fe30b0146
Diffstat (limited to 'src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java')
0 files changed, 0 insertions, 0 deletions