Chromium Code Reviews
DescriptionFix Data Saver settings preference crash on Lenovo Zuk devices
The Data Saver settings menu is crashing for Lenovo Zuk devices
due to findViewById returning null. Since we don't use the title
in the PreferenceCategory, make the DataReductionStatsPreference
a Preference and set the widget layout resource dynamically. Also,
set the preference to not be selectable so that it does not have
dividers and cannot be clicked.
BUG=666412
Review-Url: https://codereview.chromium.org/2554723002
Cr-Commit-Position: refs/heads/master@{#436686}
(cherry picked from commit c8b5b01012a5b4245eddb891c2557e7c6e3e64b6)
Committed: https://chromium.googlesource.com/chromium/src/+/a4e3e0ff2a88903e6636bb3f782adb51060a1ebc
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
||||||||||||||||||||||||||||