Commit Graph

17235 Commits

Author SHA1 Message Date
taiki tsutsumi
4d044ced6d Display a toast to notify user that Preset APN setting cannot be viewed
When KEY_HIDE_PRESET_APN_DETAILS_BOOL is set to true, Preset APN setting
is hidden. When user taps Preset APN, a toast should be shown to inform
that user cannot view the APN.

Test: manual - check Preset APN setting details are hidden
Bug: 115453290
Depends-On: I8a5c6f92f876d349b304acf89b4ffab86ff3f24b
Change-Id: I0078b3492ae87a4297f24871b8bea1579e6a79af
2018-11-21 15:40:58 -08:00
Beverly
c94da8b7ce Remove "Allow alarms" from top level DND settings
Test: manual
Bug: 111475013
Change-Id: Ieb2539a7f0a389738a936cb9210951d07121e69a
2018-11-21 13:23:37 -05:00
Arc Wang
4591d82bdf Upload basic UI files for Wi-Fi DPP Settings development.
WifiDppQrCodeScannerActivity is the activity for user to scan
QR code and add device to a saved network.

Bug: 118797380
Test: manual
Change-Id: If2c8c5ba1620e5584fb47ba7b0ea2bc2d7acb641
2018-11-21 10:06:47 +00:00
Raff Tsai
eff51396df Update backup icon
Change-Id: I64f5999af162d6b9b932b1f947e43140e63354de
Fixes: 119290226
Test: visual
2018-11-21 15:43:25 +08:00
Raff Tsai
b92e9d4239 Add BatteryFix Slice
Change-Id: I504df1e9caadced71cc37f8be9207ab9fd26f9ab
Fixes: 114807643
Test: manual
2018-11-21 12:25:06 +08:00
Mill Chen
4b19fecd50 Update new UI for conditional collapsibility
- Add a footer view with collapsing button and this view will be
appended to the last position of condition cards when condition
cards are expanded.
- Add a header view with expanding button when condition cards
are in collapsed state.

Bug: 119593268, 113451905
Test: rebuild, visual
Change-Id: I82c20641d1542e45383da48106f8fedea06a68ed
2018-11-20 23:20:53 +00:00
Kevin Chyn
f611fe8689 Merge "Simplify preview logic" 2018-11-20 18:12:42 +00:00
tmfang
e541def5c5 Create "on lock screen notifications" in Privacy
Test: visual, robotest
Bug: 116628158
Change-Id: I056f3734c591f8b300ae1003364ed4c1c2b2f9e3
2018-11-20 20:09:46 +08:00
Kevin Chyn
7d7ffda9ae Simplify preview logic
Fixes: 112564159
Bug: 119786386

Test: manual
Change-Id: I42fba5a53248193fbe820e710a863ec9de728d4a
2018-11-19 18:34:31 -08:00
TreeHugger Robot
f8a2304da4 Merge "Tweak strings" 2018-11-19 22:08:46 +00:00
John Reck
1e136ea046 Tweak strings
Bug: 119120272
Bug: 119621549
Test: n/a
Change-Id: I73a7b594b02f6ebea2e7d15e15ebd681fe9270db
2018-11-19 12:27:39 -08:00
Fan Zhang
1f8e60b1c5 Merge "Apply new action buttons style for instant app" 2018-11-19 18:59:29 +00:00
Fan Zhang
84a1acbcc7 Merge "Add below/above dividers for new action buttons" 2018-11-19 18:35:19 +00:00
tmfang
86fcd905b0 Add below/above dividers for new action buttons
- App info
- App storage
- Power usage

Test: visual
Bug: 116346008
Change-Id: Ie4a4ad6f41b74e7bc38f3ac99f241da6be19e647
2018-11-19 18:02:09 +08:00
Raff Tsai
667e9137f6 Change Switchbar fontFamily and textSize
Test: manul
Change-Id: I8e03dd9ca500ab5517ed7a0d4abcb6e9edfbe239
Fixes: 116342461
2018-11-19 17:43:18 +08:00
tmfang
787cfb34c8 Apply new action buttons style for instant app
Test: visual
Bug: 116346008
Change-Id: I5a9f31960da28757e51683db4011820f7339e2f9
2018-11-19 14:10:53 +08:00
Salvador Martinez
5e568343c2 Merge "Update Settings components for dark theme" 2018-11-16 18:29:48 +00:00
TreeHugger Robot
3704899fc9 Merge changes from topic "settings-action-button"
* changes:
  Remove setButtonPositive method
  Apply new action button visual design
  Create a new visual design for action buttons
2018-11-16 10:45:29 +00:00
Yanting Yang
5b5d4c6d33 Merge "Add Low Storage slice to Contextual Settings Homepage" 2018-11-16 07:36:02 +00:00
tmfang
3adb74ea60 Apply new action button visual design
- Add some icon resources.
- Add icon for each button in action button preference.
- Update "Enable" and "Disable" string to "Install" and "uninstall".
- Remove unused string.
- Add divider between entity header and action buttons.

Test: visual, robotest
Fixes: 119203074
Bug: 116346008
Change-Id: Ib8d7aeb2943d39d257e977b84f165f002bf47559
2018-11-16 14:33:03 +08:00
Salvador Martinez
2bb9930866 Update Settings components for dark theme
This CL updates the colors and properties of various themes and
widgets to make them follow dark theme UI. Specifically, it changes
the color accent and uses true black for the background.

Test: manual inspection
Bug: 111397440
Change-Id: I15214a4c5d4864244af856312d2fc3e3a7e7ce36
2018-11-15 15:00:44 -08:00
Beverly Tai
4fa2b88556 Merge "Add new settings page for apps overriding dnd" 2018-11-15 18:06:06 +00:00
Yanting Yang
04eb082bce Add Low Storage slice to Contextual Settings Homepage
Bug: 114808204
Test: robotests, visual
Change-Id: I0c1a02dc40a0a72b7a2ad8f46505325e52bee942
2018-11-15 16:32:12 +08:00
Leon Liao
d6f13c1c49 Merge "Implement a11y UI for Accessibility timeout feature." 2018-11-15 07:17:40 +00:00
Stanley Wang
83680c7c98 Merge "Layout updated for file size text wrapping with largest display" 2018-11-15 07:10:49 +00:00
Leon Liao
fc29b1c331 Implement a11y UI for Accessibility timeout feature.
This UI control the Accessibility Timeout API in Settings App.
Add a user control to set timeout length to suit their need.

Bug: 119283926
Test: atest AccessibilityTimeoutControllerTest
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=CodeInspectionTest
Test: atest UniquePreferenceTest
Change-Id: Ic8f7337e6bd7739c1189382cc87d45465b64c6ed
2018-11-15 10:24:43 +08:00
tmfang
8f65efa8f9 Create a new visual design for action buttons
- Create a new style for two action buttons.
- Change the layout of two_action_buttons.
  Since we use same style for positive/nagative
  buttons now, we only remain button1/button2 for
  this layout.
- Create a setButtonIcon interface in ActionButtonPreference.
  So, user can set icon for each button in this preferece.

Test: visual, robotest
Bug: 116346008
Change-Id: I511272cba5fd961349b85cae6d30004ddabe2c8e
2018-11-15 10:15:58 +08:00
Beverly
7973c635c9 Add new settings page for apps overriding dnd
Close starred contacts cursor

Test: atest ZenModeAllBypassingAppsPreferenceControllerTest
Test: atest ZenModeBypassingAppsPreferenceControllerTest
Bug: 111475013
Change-Id: I84d259aaef1bc5cc907ec5bef08beade91a8b904
2018-11-14 15:56:29 -05:00
TreeHugger Robot
2167b7deab Merge "Update delete user strings in multiple users page" 2018-11-14 18:12:24 +00:00
TreeHugger Robot
c052bcb8be Merge "Update strings" 2018-11-14 13:18:38 +00:00
Edgar Wang
22e29a28ee Update delete user strings in multiple users page
Change-Id: I3ab25e491af3894f8163d9ef9a88c446575ebbc3
Fixes: 111723127
Test: visual
2018-11-14 20:32:59 +08:00
Edgar Wang
913790b4cb Update strings
Bug: 118399687
Test: visual
Change-Id: I0b5f86235b7fd7530ba8eeed9649f0c3dc3b94bf
2018-11-14 18:17:32 +08:00
Stanley Wang
1ed36d8b23 Layout updated for file size text wrapping with largest display
This solution will change the portrait layout for
large, larger, and largest of Display size.

Change-Id: Ib00b23553c34c1e69cb84e446f409c38ea7544ef
Fixes: 69074097
Test: manual
2018-11-14 16:31:53 +08:00
Yanting Yang
0bfbdf1b1f Add description into strings.xml for missing comment
The comment of string "show_connected_devices" was missing from
ag/5336877.

Fixes: 119534057
Test: robotests
Change-Id: I445413cdcbb647e068a51312fa16f8c93abee36f
2018-11-14 15:24:06 +08:00
TreeHugger Robot
d6cdafc0d7 Merge "Enabled the floating search bar feature" 2018-11-14 04:50:13 +00:00
Cosmo Hsieh
e57e432160 Merge "Implement NetworkRequestDialog architecture(cont.)" 2018-11-14 01:43:47 +00:00
TreeHugger Robot
1ba1a70dfb Merge "Import translations. DO NOT MERGE" into pi-dev 2018-11-14 00:49:33 +00:00
TreeHugger Robot
9ed341b9f0 Merge "Import translations. DO NOT MERGE" 2018-11-14 00:26:00 +00:00
Bill Yi
0301470757 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ic00cbf2b25c019d77c85c93203e58f4a1cf102c1
2018-11-13 14:42:50 -08:00
Bill Yi
2efeec49e7 Import translations. DO NOT MERGE
Change-Id: I4a3e3210380b6f4404c6b5a478eb64638431dd8e
Auto-generated-cl: translation import
2018-11-13 13:33:26 -08:00
John Reck
f68130c7c7 Merge "Add force SmartDark dev setting" 2018-11-13 20:33:37 +00:00
TreeHugger Robot
034e218d3a Merge "Read SettingsIntelligence package name from resource" 2018-11-13 10:58:23 +00:00
Neil Fuller
e451323669 Merge "Remove the feature flag and dead code for the old time zone picker" am: 6bb4b5ca43
am: 78e132773a

Change-Id: Ie8890265b7dd1b5248ccef4dbb0f6fd58da55f85
2018-11-13 02:03:38 -08:00
TreeHugger Robot
523418a456 Merge "Add dismissal mechanism for contextual cards." 2018-11-13 09:13:46 +00:00
Sunny Shao
2c93ec8ae3 Enabled the floating search bar feature
Added the CoordinatorLayout as the top level layout
Added the AppBarLayout to enclose the search bar
Added the app:layout_behavior="@string/appbar_scrolling_view_behavior" to NestedScrollView

Bug: 118886724
Test: manual test
Change-Id: I4a8ef14637dc1dc7cf9618eca00e4b7d7a77c725
2018-11-13 17:04:21 +08:00
Victor Chang
fe627a5901 Remove the feature flag and dead code for the old time zone picker
This commit backports commit 6be6c58206
to aosp/master.

Bug: 72376227
Test: build only
Merged-In: I332077a67cc9f9c83b298e25feea71463e1ee98b
Change-Id: I332077a67cc9f9c83b298e25feea71463e1ee98b
(cherry picked from commit 6be6c58206)
2018-11-13 07:49:32 +00:00
Emily Chuang
6cf3591645 Add dismissal mechanism for contextual cards.
In the homepage, we should allow cards to be dismissed.

- Implement card flipping upon card long pressing.

Bug: 113783548
Test: robotests, visual
Change-Id: I2ddb498321ba5c5078d6944aa2ef32f1386bdb10
2018-11-13 14:46:44 +08:00
Raff Tsai
35ae9bbaac Read SettingsIntelligence package name from resource
Test: make RunSettingsRoboTests
Change-Id: I2143e1f7657cc0e01e91978e8c212ff079cec7d7
2018-11-13 14:45:01 +08:00
Edgar Wang
03aca9f0f9 Merge "Move "About Phone" to bottom of Settings main IA, above "Tips & Support"" into pi-dev
am: 96d829be9a

Change-Id: I93b59d6f62c713bb49f1088ea3911b9b9313894e
2018-11-12 17:39:43 -08:00
Edgar Wang
96d829be9a Merge "Move "About Phone" to bottom of Settings main IA, above "Tips & Support"" into pi-dev 2018-11-13 01:16:48 +00:00