Update Visibility to Appearance and General to Other display controls.
Fixes: 183554415
Test: rebuild and launch Display settings.
Change-Id: I622e78b43230201faebc2c77e9cccb8a425f1e5b
- Use the primary toggle preference.
- Remove the empty subtext.
Test: See toggle preference on auto brightness feature
Bug: 174964139
Change-Id: Ic5105730c7a2075d61cdde42395e41712bb468a7
Based on the Android S design,
- Group similar settings in a category.
- Set name for each category.
- Remove the "advanced" button design.
- Put settings into "Others" category" if settings are advanced/not
useful.
Test: Rebuilt rom and see the screen
Bug: 174964139
Change-Id: I80194aa8deb7a554188290935a8c790b410c6e1d
Based on Android S design, we want to let user can toggle
night light in display settings page directly.
1. Use primary switch preference in xml file.
2. Add a switch toggle controler for its preference.
3. Move logic of night display preference to controler.
4. Remove the night display preference since we migrate the logic to
controller.
Test: Night display works as intented behavior.
Bug: 174964139
Change-Id: Id920033cb22b1a9dd42c77c6fc2563ddae96bfcd
Sync the screen timeout preference of display_settings.xml to
display_settings_v2.xml since it has been changed to
RestrictedPreference in ag/13210343.
Bug: 174964139
Test: robotests
Change-Id: Ic648198f5d665483a1b13e13d921b2810325eff4
- Add Styles & wallpapers to the homepage group.
- Create a new display settings xml for the silky home.
- Remove Styles & wallpapers from new display settings xml.
- Apply the RestrictedTopLevelPreference to remove the restricted icon.
Bug: 168166015
Bug: 174964139
Test: robotest & visual with turning on/off silky home
Change-Id: Ib495b39bc62413242247f7e767c0e44bacc6e937