Commit Graph

15511 Commits

Author SHA1 Message Date
TreeHugger Robot
f817b1e3a5 Merge "Misc clean up. move widgets from graph to widget package." 2018-06-12 01:01:32 +00:00
TreeHugger Robot
410c7ddcf7 Merge "Add a switchbar to turn off multi-user feature entirely" 2018-06-11 23:59:18 +00:00
Fan Zhang
670ce333ae Misc clean up. move widgets from graph to widget package.
Bug: n/a
Test: robotests, rebuild
Change-Id: I910f355312d52e81a0bf57b46a3f267e1eb9882a
2018-06-11 16:05:12 -07:00
TreeHugger Robot
58a3d0c67d Merge "Remove DataSummaryUsageLegacy." 2018-06-11 22:51:13 +00:00
Fan Zhang
c39238c63f Add a switchbar to turn off multi-user feature entirely
Change-Id: Ibf88bf37899af5065c68aeb2337acd4ee48bc13c
Fixes: 72319180
Test: robotest on new controller. Manual test on UserSettings fragment.
2018-06-11 15:00:08 -07:00
Fan Zhang
cd21cb8def Remove DataSummaryUsageLegacy.
Change-Id: I8da039530cafe547008b434b6016add5f9383e94
Fixes: 109943959
Test: robotest/atest
2018-06-11 11:05:54 -07:00
TreeHugger Robot
6610e7ff92 Merge "Remove references to SettingsBase styles" 2018-06-11 18:05:32 +00:00
TreeHugger Robot
ddd9283ee0 Merge "Change the string" 2018-06-11 03:39:19 +00:00
TreeHugger Robot
485e8a3531 Merge "Misc search clean up" 2018-06-08 23:01:04 +00:00
Fan Zhang
7f5692bdea Misc search clean up
- Make color mode page searchable and suppress its parent page.
- Suppress entire DataUsageSummaryLegacy page in search. This page will
  be deleted soon

Change-Id: I0f98c9073358934b98e986d034c89a9bf87e58ad
Fixes: 70720645
Test: robotests
2018-06-08 14:51:19 -07:00
Antony Sargent
212b5676d0 Remove references to SettingsBase styles
We've moved the values for several preference-related styles used in
Settings from SettingsLib into the support library. This CL removes the
references to the SettingsLib versions from Settings so they can be
removed from SettingsLib.

Also delete an unused layout file that was moved to SettingsLib a long
time ago (preference_dropdown_material_settings.xml).

Bug: 64689839
Test: visual (styles for things like icon spacing, dividers, etc. should
be the same)

Change-Id: Ib7a745218086269c2e861b18df68bd835929da19
2018-06-08 13:26:16 -07:00
TreeHugger Robot
f11638c61c Merge "Remove bottom padding on screen saturation preview" 2018-06-08 17:23:26 +00:00
TreeHugger Robot
a9b742dd53 Merge "Add help uri for prevent ringing gesture" 2018-06-08 16:29:31 +00:00
Matthew Fritze
8ea60bfdbd Remove bottom padding on screen saturation preview
Change-Id: I5c43209d5711c32e6ab91f65a2fced4b0c9b4c23
Fixes: 80091062
Test: none, only visual changes.
2018-06-08 09:12:05 -07:00
TreeHugger Robot
7bc2f98188 Merge "Fix typo" 2018-06-08 15:39:47 +00:00
TreeHugger Robot
28e0ce5b40 Merge "Don't force lower case in ZenSettings" 2018-06-08 14:44:33 +00:00
Beverly
91ab1338cb Fix typo
Test: manual
Bug: 109925028
Change-Id: I87ec517249567123df1a8eace17109ed7e0bae2b
2018-06-08 10:44:05 -04:00
Beverly
486d1facfa Add help uri for prevent ringing gesture
Test: build
Bug: 79270169
Change-Id: Iea5598f26649854521202363cad6ee297cef3057
2018-06-08 09:53:28 -04:00
Beverly
bb0501c2fd Don't force lower case in ZenSettings
Programatically lower casing letters is bad for translations

Change-Id: Iea39186b9716f628ed96ad457b09440bd177d821
Fixes: 77961695
Test: ZenModeSettingsTest.java
2018-06-07 11:14:11 -04:00
TreeHugger Robot
bef9b58f17 Merge "Change UI for wireless AP tether band selection" 2018-06-06 21:19:41 +00:00
Salvador Martinez
e83388164c Change UI for wireless AP tether band selection
We decided to use the list preference after all due to
some devices not supporting various combinations of AP
configurations. This change makes it so that there are
three different UIs depending on the configurations
which are supported.
- 5.0 GHz unsupported: disable the preference and just
set the value to 2.4 GHz
- all supported, no dual mode: allow the user to choose
EITHER 2.4 GHz or 5.0 GHz
- all supported, dual mode: allow the user to choose
2.4 GHz or BOTH 2.4 GHz & 5.0 GHz with 5.0 being
preferred

Test: atest SettingsRoboTests
Bug: 80315296
Change-Id: I888d35811a98b8cf0155a3cb96c42ff762763378
2018-06-06 13:09:41 -07:00
hughchen
68b9bb68c5 Change the string
Change name of "Received files" to "Files received via Bluetooth"

Bug: 78247635
Test: make -j42 RunSettingsRoboTests
Change-Id: I63cb7a5179008380a70929102bcd9eba38b07387
2018-06-06 14:28:05 +08:00
TreeHugger Robot
ddfb21113e Merge "Add a flashlight slice in settings." 2018-06-06 04:07:35 +00:00
Steven Wu
97915b15d9 Add a flashlight slice in settings.
- It retrieves the flashlight status from Settings.Secure.
- It uses the broadcast relay to update flashlight status
without action on the slice.

Test: robotests
Change-Id: Ib4d636541f5166b8634326cce76aed5665989b76
Fixes: 74913192
2018-06-06 02:59:37 +00:00
Fan Zhang
44931d1e96 Properly suppress zen mode entry from soundsetting page.
Change-Id: If2c033232b05753f3ba52bb986dd6c85cab6e452
Fixes: 72748524
Test: robotests
2018-06-05 15:10:45 -07:00
Fan Zhang
752350c8d8 Suppress prevent ringer gesture parent page in search.
The full page verion of prevent ringing is still searchable.

- Created a new controller for parent entry.
- On the child controller, inherit the same getAvailabilityStatus() but
  override AVILABLE_UNSEARCHABLE to AVAILABLE so it becomes searchable.

Fixes: 72748524
Test: existing robotests for PreventRingingPreferenceController

Change-Id: Id2454db110c81b59fa4a98338602b03de0812f8a
2018-06-05 15:10:45 -07:00
TreeHugger Robot
04af70a604 Merge "Revert "Settings: Add logical camera default switch"" 2018-06-04 17:35:57 +00:00
TreeHugger Robot
e763ebcba1 Merge "Add Wifi calling Preference slice and other cleanup" 2018-06-01 22:32:11 +00:00
Naina Nalluri
6b1869351a Add Wifi calling Preference slice and other cleanup
WifiCallingPreference Slice Provider:
  1. If Wifi calling is not enabled - display message to user
     to enable Wifi calling
  2. Else if Wifi preference is not editable - return a null
     Slice
  3. Else provide a slice with rows - first row giving current pref
     information, followed by preference items (in each row).
     wifi_only is displayed only when it is allowed to display it.
     Each row with preference item has specific intent action.
WifiCallingPreference Slice BroadcastReceiver:
   1. If only Wifi calling is enabled & Wifi preference is editable &
      there is a change in current value modify wifi pref setting
   2. And Ask to re-query the slice in one second to display
      updated settings if 1 is valid or display appropriate message.
Clean-up:
   1. Return null instead of non-actionable slices.
   2. Use getText to get string resources.
   3. Remove unnecessary extra variables.

Bug: 79548264
Test: Use support-slices-demos-debug.apk to test on device
Change-Id: I186f19be2007c2331eaf6195e70b4a9c635adf9e
2018-06-01 11:02:59 -07:00
Beverly
23ea118788 Increase char limit to 76 for Settings string
Test: n/a
Change-Id: I97ac988fc85e8e7cbde516d9d8ad2dc86dee7e80
Fixes: 80200230
2018-06-01 10:14:15 -04:00
Bill Yi
cd69e1f808 Import translations. DO NOT MERGE
Change-Id: I01a0990e89de81507a540cbaa6b1bd1b2de3b2f9
Auto-generated-cl: translation import
2018-05-31 21:25:44 -07:00
Beverly
dc0c9a0ab9 Merge "No need for "and" - ListFormatter adds it" into pi-dev am: fa01fcb2c9
am: 60d57976bc

Change-Id: I77f7aa7076786c6f3855f9b976cfa70e23f0d8a0
2018-05-31 16:03:12 -07:00
Shuzhen Wang
6cd426482e Revert "Settings: Add logical camera default switch"
This reverts commit 5aab8d9ee1.

Reason for revert: This setting is for internal QC purpose only
Bug: 80007047

Change-Id: Id5f01e5de94ffaa86de1e96f6bde1092b0c586a2
2018-05-31 22:29:29 +00:00
TreeHugger Robot
2760369d4f Merge "Added keyword 'bug' to Send Device Feedback" 2018-05-31 21:35:15 +00:00
Beverly
60d57976bc Merge "No need for "and" - ListFormatter adds it" into pi-dev
am: fa01fcb2c9

Change-Id: If899d486356937f740a959f1ca6d94b8675d857a
2018-05-31 14:24:11 -07:00
Beverly
ab5a016e26 No need for "and" - ListFormatter adds it
Test: manual, visual inspection
Change-Id: I5ce1442cc762c9c0ca22827df429dc64714c2f20
Fixes: 80303010
2018-05-31 09:32:26 -04:00
TreeHugger Robot
e68598380e Merge "Shown toast when BT turned on" 2018-05-31 07:00:27 +00:00
hughchen
3051845840 Shown toast when BT turned on
* Shown "Bluetooth turned on" toast only when BT turned on in "Pair new device"
* Add test to verify shown toast function can be called when BT turned on.

Bug: 79383997
Test: make -j42 RunSettingsRoboTests ROBOTEST_FILTER=BluetoothPairingDetailTest
Change-Id: I25f75aaa04063d9ef8a0df4bb06aeaa70d7ac146
2018-05-31 11:03:37 +08:00
TreeHugger Robot
d3fede04a8 Merge "Add strings for multiple user footer" 2018-05-30 23:53:34 +00:00
Fan Zhang
fb6f95fb99 Add strings for multiple user footer
Bug: 72319180
Test: rebuild
Change-Id: If12ff75555aa362c8663dc19ca6ba4d99a7c8a47
2018-05-30 15:38:26 -07:00
TreeHugger Robot
ae20b1ef0c Merge "Added new keywords to adaptive brightness results." 2018-05-30 22:35:38 +00:00
Michael
6097fe9c3e Added new keywords to adaptive brightness results.
Added two new strings to the string resource. Added smart brightness and
dyanmic brightness.

Fixes: 80481385
Test: UI change
Change-Id: Iafde3501d41cac13d5f6da16e4575518c8e7ffa9
2018-05-30 14:26:40 -07:00
Andre Garivay
81bb3cfbf4 Added keyword 'bug' to Send Device Feedback
Added string resource for keywords

Change-Id: I174a401bab93672a2260cf342c6bf52c311383d3
Fixes: 80419062
Test: UI change
2018-05-30 14:26:16 -07:00
TreeHugger Robot
ad90960b6e Merge "delete DeviceInfoSettings and activity, pref xml" 2018-05-30 20:14:50 +00:00
TreeHugger Robot
3a05544d34 Merge "Misc fixes for Settings" 2018-05-30 00:26:48 +00:00
Fan Zhang
8379a09554 Misc fixes for Settings
- Add some precautious logging in RoundedHomepageIcon in case b/79841665
  comes back.
- Hide memory setting from app info page.

Change-Id: I37d090504ab25854e1278aa3a6d3e85781f394b1
Fixes: 79841665
Fixes: 80140797
Test: visual
2018-05-29 13:56:43 -07:00
Antony Sargent
1ee0e670b0 Merge "Another refresh of swipe up gesture video" into pi-dev am: d87ce094cd
am: 8155cbc0d2

Change-Id: I3021834d6e527150d1c1db95f968da6c12aba7e7
2018-05-29 12:50:32 -07:00
Antony Sargent
8155cbc0d2 Merge "Another refresh of swipe up gesture video" into pi-dev
am: d87ce094cd

Change-Id: Icd8df823edcd90220f8173013e019642ac5df554
2018-05-29 12:04:21 -07:00
TreeHugger Robot
d87ce094cd Merge "Another refresh of swipe up gesture video" into pi-dev 2018-05-29 18:34:23 +00:00
TreeHugger Robot
cb4faa37e9 Merge "Modified the ManageDomainUrls" 2018-05-29 17:34:41 +00:00