Commit 819934d
Settings : Don't disable persisting for MultiSelectListPreference
There is an aosp bug where MultiSelectListPreference stores a custom state type,
but doesn't override onRestoreState and causes an exception to be thrown when inside
activities that don't override orientation change.
This patch resolves this issue by persisting the preference change, which bypasses that route.
No functional impact since we override the values from the settings provider onresume anyway.
Repro :
- Launch dialer
- Launch Settings
- Launch blacklist
- Launch settings
- Rotate phone
- Realize you need this patch :)
Change-Id: Ie51119190fa6c43db612223bdb60c00fe607b9bf1 parent 485377c commit 819934d
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
38 | | - | |
39 | | - | |
| 37 | + | |
40 | 38 | | |
41 | 39 | | |
42 | 40 | | |
| |||
0 commit comments