Commit Graph

19537 Commits

Author SHA1 Message Date
menghanli
756d819c42 Color correction improvement (5/n)
"Use Color correction" should be replaced by "Correct colors"

Bug: 145968068
Bug: 147988288
Test: make RunSettingsRoboTests2
Change-Id: I90ef36a99b34a82eb9f29f8b79d9aaa8d56441d1
2020-01-20 14:29:30 +08:00
timhypeng
adae7475b0 Add title and icon in panel header
- Add getIcon() and getSubTitle() in PanelContent
- Check icon avalibility to decide header layout
- Add test cases

Bug: 147776885
Test: make -j42 RunSettingsRoboTests
Change-Id: Idb51e81359b6037ca9b90965dd9b370fc5e22c84
2020-01-20 13:43:19 +08:00
Bill Yi
4ea25da221 Import translations. DO NOT MERGE
Bug: 143905457

Change-Id: I14e7311ac25f37bbf8bc846a79963d0c560d98c8
Auto-generated-cl: translation import
2020-01-18 04:51:41 +00:00
Automerger Merge Worker
6471715f51 Update L2U string for face unlock in settings am: 13a5924c8d
Change-Id: I72bec002da39a9ac86a8bb242d59e1a98d9e1369
2020-01-18 01:04:42 +00:00
Curtis Belmonte
13a5924c8d Update L2U string for face unlock in settings
Test: Checked in Settings for flame-userdebug build
Bug: 143905457
Change-Id: I2705b6bf9ae0a140f69ffaa5490a91500745f1e0
Merged-In: I1e98b95e81dea355c66e8c0f30664db21632d05c
2020-01-17 14:14:49 -08:00
Andrei Onea
e2f4619602 Fix strings in PlatformCompatDashboard
Be more specific, by referring to 'target SDK', instead of just 'SDK'.

Test: atest PlatformCompatDashboardTest
Bug: 138280620
Change-Id: Ied8dd5d682ed20962040bf81e9b3b3b45166ea46
2020-01-17 16:41:46 +00:00
menghanli
87147f55f0 Support accessibility shortcut secondary action (9/n)
Reorder layout and add title for each category block.

Bug: 142530063
Bug: 142531156
Test: make RunSettingsRoboTests2
Change-Id: I0f4067aaf9c42c3ce065eebd0e75ad4153f7e9dc
2020-01-18 00:24:20 +08:00
Menghan Li
fa240f6cfc Merge "Support autoclick secondary action (1/n)" 2020-01-17 14:13:47 +00:00
ChenJean
7afc1fa6fb Support autoclick secondary action (1/n)
Added radio button preference and control to handle user update value.

Bug: 146019277
Test: Manual
Change-Id: Ie9136f942eec43fc378e7f39d8c2eb7534c531c9
2020-01-17 10:31:07 +00:00
TreeHugger Robot
244afa02d2 Merge "Revert "Settings search - Navigate user to exact page"" 2020-01-16 13:06:24 +00:00
Sunny Shao
6b032f4e2d Create a new Open supported links page
- Add a new OpenSupportedLinks fragment
- Add a new AppHeaderPreferenceController
- Add a new AppOpenSupportedLinksPreferenceController

Fixes: 143185713
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.applications
Change-Id: I6568950b7b918378baaa80e2ca0d596913620928
2020-01-16 18:18:14 +08:00
Edgar Wang
e19ee9a01f Revert "Settings search - Navigate user to exact page"
This reverts commit 08f2a58459.

Reason for revert: design changed, we decide to take the user to
the entry after clicking on a search result.
It's opposite with what we did, so we revert related CL first.

Test: robotest

Change-Id: Iadb9a94a7ef7838be34a54499e2d934d6396c336
2020-01-16 14:07:38 +08:00
Bill Yi
250b9e7012 Import translations. DO NOT MERGE
Change-Id: If28324d88c5dabf515e6ce440d4816b185a39a00
Auto-generated-cl: translation import
2020-01-15 20:22:42 -08:00
Bill Yi
9a6dcd2eaf Import translations. DO NOT MERGE
Change-Id: I40ca1052c54e91f5de8fc81d052f397bcd7aea75
Auto-generated-cl: translation import
2020-01-15 19:56:31 -08:00
TreeHugger Robot
4bc2ba2cb9 Merge "Fix tabLayout swipe direction" 2020-01-15 11:36:22 +00:00
Raff Tsai
751f63a635 Fix tabLayout swipe direction
- Fix swipe direction by add layoutDirection=ltr in xml
- Reverse viewPager tab index when layoutDirection is rtl

Fixes: 147415514
Test: 1. change to rtl language
      2. Settings -> Account
      3. Swipe from left to right, should move tab to left.
      4. Swipe from right to left, should move tab to right

Change-Id: Ib5a080f4706161fd9c0f4d7f2da4d7b98946d960
2020-01-15 17:22:43 +08:00
mincheli
5b59e62ecb Create settings for window magnification (3/n)
This change is for internal test.
Add a switch preference for magnification enable mode.

Bug: 146019459
Bug: 146473544
Test: make RunSettingsRoboTests ROBOTEST_FILTER=MagnificationEnablePreferenceControllerTest -j64
Change-Id: I85fdbb5b0efc106d5301d95802b8d6b7dbe8145d
2020-01-15 16:11:38 +08:00
TreeHugger Robot
8415bc7ca7 Merge "[Wi-Fi] Change comment of the string "wifi_auto_connect_title"" 2020-01-15 05:13:49 +00:00
TreeHugger Robot
709e805e47 Merge "WiFi certificates installable from Wifi sub-preference" 2020-01-14 21:47:37 +00:00
Shafik Nassar
96cb3d732c Merge "Increase char limit for manage_external_storage_title" 2020-01-14 21:47:04 +00:00
Jay Aliomer
c31c35fb19 Custom dark theme scheduling
allows the use to set the start and end automatic dark theme
activation within a day.

Test: run all settings tests
Change-Id: If96fc050159724d553acb09c2da4fab1d5ff519f
2020-01-14 16:31:29 -05:00
shafik
0f313aecb6 Increase char limit for manage_external_storage_title
Was 30, but was asked by linguists to increase it to 35.
This CL inscreases the limit to 40.

Test: build
Fixes: 147650566
Change-Id: Ia855293cb42bac4c08a23d47be4a3eaa9e13af7c
2020-01-14 14:09:07 +00:00
Alex Johnston
caef4f80a7 WiFi certificates installable from Wifi sub-preference
Updated the intent to use certificate_install_usage as the extra
instead of install_as_uid.

Bug: 147473033
Test: manual testing
Change-Id: Ic2df3c3c3dc213b8761282d64bde528c1616c44a
2020-01-14 12:39:15 +00:00
Arc Wang
4271ee3818 [Wi-Fi] Change comment of the string "wifi_auto_connect_title"
New comment provide more information about the Auto-connect
feature label.

Bug: 136472407
Test: make
Change-Id: I306b61c97cbd6ab9efb0e20dbb06de01ae788fa8
2020-01-14 19:28:50 +08:00
Zhen Zhang
d0811849ec Merge "Create a fragment class for the new "Hotspot & tethering" screen" 2020-01-14 07:03:12 +00:00
Automerger Merge Worker
eff77d28b9 Merge "Add a RTT setting in A11y screen" into qt-qpr1-dev am: fb44d744c3
Change-Id: I1716dc3e0b13a430ed4d5ff525b95bb09eb0b90a
2020-01-14 00:49:32 +00:00
TreeHugger Robot
fb44d744c3 Merge "Add a RTT setting in A11y screen" into qt-qpr1-dev 2020-01-14 00:38:29 +00:00
Bill Yi
05c8bccf61 Import translations. DO NOT MERGE
Change-Id: I9289b815a4ae222ce411f24a3632dd513c06f5ef
Auto-generated-cl: translation import
2020-01-13 14:40:13 -08:00
Bill Yi
1389dcfd02 Import translations. DO NOT MERGE
Change-Id: Ic9b96f52ac79db1805be44d0272709c417c68801
Auto-generated-cl: translation import
2020-01-13 14:00:18 -08:00
Zhen Zhang
b60e8ca294 Create a fragment class for the new "Hotspot & tethering" screen
This fragment class is created to display Wifi tether settings, Usb
tether settings and bluetooth tether settings within the single "Hotspot &
tethering" screen. By creating a new fragemnt, we can safely change the
UI by replace fragment name in xml file.
Right now, it only supports wifi tether settings and mostly copied from
WifiTetherSettings.java.

Bug: 146447611
Test: AllInOneTetherSettingsTest is created and run.
Change-Id: Icdac0d4930451e6956dbf6ef0f4b65bce96fed3f
2020-01-12 23:32:44 -08:00
Raff Tsai
687b8c4b11 Merge "Fix layout issues" 2020-01-13 05:11:29 +00:00
Raff Tsai
41435ad0ea Fix layout issues
- Add fontFamily in TextAppearance.Tab to support change font style
- Overwrite TabTheme to change overscroll effect color

Fixes: 147134904
Fixes: 147136108
Test: manual
Change-Id: Iebb2dea658a295f3c6ece900680f42fb3a772cb4
2020-01-13 03:07:00 +08:00
Julia Reynolds
b5ea53a981 Visual updates for DND screens
(part 1), emphasizing People

Test: atest, manual
Bug: 137397357
Change-Id: I5672462feb480ea2fced70470ed7c2c8116fadfd
2020-01-11 17:03:22 +00:00
Bill Yi
5680c7b0e4 Import translations. DO NOT MERGE
Change-Id: I2ef156b791ffe0cd24dcdb6501cf18dc07625d50
Auto-generated-cl: translation import
2020-01-11 06:40:09 -08:00
Curtis Belmonte
03390a5682 Merge "Update L2U string for face unlock in settings" 2020-01-11 01:53:17 +00:00
TreeHugger Robot
e9f52bce9d Merge "[Wi-Fi] Revert "support SAE password identifier in wifi dialog"" 2020-01-10 08:31:39 +00:00
Tsung-Mao Fang
8a91fbec72 Add a RTT setting in A11y screen
- Add RTT setting in Accessibility screen.
- Create a controller for RTT setting preference.
- Create an array strings to define the subtext.

Test: Rebuild, and visual
Change-Id: I248654c822284473b8a8265de4a3938af89cdf7a
Merged-In: I248654c822284473b8a8265de4a3938af89cdf7a
Fix: 146540478
2020-01-10 07:16:25 +00:00
TreeHugger Robot
02a90deb8f Merge "Add a RTT setting in A11y screen" 2020-01-10 07:13:14 +00:00
Arc Wang
a6ec144392 [Wi-Fi] Revert "support SAE password identifier in wifi dialog"
Revert it because SPEC is not clear now.

Bug: 143379656
Test: manual
      Click "Add network" in wi-Fi picker and edit a WAP3-personal Wi-Fi network

Change-Id: Ifa859d53c29d0fa83f22cc2d0e50294d0a5c7fc9
2020-01-10 11:53:12 +08:00
Automerger Merge Worker
7e1e2b7d7d Dark theme settings text am: 176d4ea28e
Change-Id: I57dc5d3dcb8cc96e4ad61259372360edebe14d9e
2020-01-09 23:21:23 +00:00
Jay Aliomer
176d4ea28e Dark theme settings text
Dark theme text should be appropriate for all types of screens and
not only OLED types

Test: manual
Bug: 147432824
Change-Id: I1e59329064405c72c6f57c92a82b652cd71853a7
(cherry picked from commit d63839afda)
2020-01-09 21:51:47 +00:00
Curtis Belmonte
150e2921d9 Update L2U string for face unlock in settings
Test: Checked in Settings for flame-userdebug build
Bug: 143905457
Change-Id: I1e98b95e81dea355c66e8c0f30664db21632d05c
2020-01-09 13:23:17 -08:00
Jay Aliomer
d63839afda Dark theme settings text
Dark theme text should be appropriate for all types of screens and
not only OLED types

Test: manual
Bug: 147432824
Change-Id: I1e59329064405c72c6f57c92a82b652cd71853a7
2020-01-09 20:22:36 +00:00
Tsung-Mao Fang
7f5986b78a Add a RTT setting in A11y screen
- Add RTT setting in Accessibility screen.
- Create a controller for RTT setting preference.
- Create an array strings.

Test: Rebuild, and visual
Change-Id: I248654c822284473b8a8265de4a3938af89cdf7a
Fix: 146540478
2020-01-09 16:43:34 +08:00
Raff Tsai
5d1bcb0408 Merge "Fix search auto-sync work data doesn't focus on work tab" 2020-01-09 07:06:13 +00:00
Automerger Merge Worker
d0401b1883 Merge "MAP: Add developer option to control map version" am: a24f03d58e am: d8e0b57e3a
Change-Id: I91537221abd287ca66fbc5b1d945b8a464b3e3de
2020-01-09 03:46:22 +00:00
Daniel Huang
1f0d504064 Merge "Modify the year of software Lic." 2020-01-09 03:25:53 +00:00
danielwbhuang
e8edc9a616 Modify the year of software Lic.
It should be 2020 not 2018.
Original code is merged in ag/10000397.

Bug: 143995814
Test: Build pass.
Change-Id: I9a1a3872825f325b785ed55653e64f388ea6bcee
2020-01-09 03:24:27 +00:00
Raff Tsai
9641db557e Fix search auto-sync work data doesn't focus on work tab
Fixes: 147219474
Test: 1. tab search bar
      2. search auto-sync
      3. click auto-sync work data
      4. It should open Settings account page and focus on work tab

Change-Id: Iffad97b468db1698b8e25139f6f24956eaeec7df
2020-01-09 10:06:55 +08:00
TreeHugger Robot
b9f70c1166 Merge "Extend single Slice max height" 2020-01-08 15:37:48 +00:00