Commit Graph

13636 Commits

Author SHA1 Message Date
Fan Zhang
d643a42b5d Rename search bar corner radius dimen to allow oem override
Bug: 68814716
Test: visual
Change-Id: Iac4da717aea9fd1c3e9cec089464cbb4dccb75f9
2017-11-28 18:02:47 -08:00
Fan Zhang
1ae1e17199 Fix indexing in cast and zen mode settings
- Fragment should either not implement serach provider or return a valid
  xml. Search provider with 0 resource is invalid.

Change-Id: Ie87c739bf72c926cecf48d271c6c2d72459787c4
Fixes: 69864274
Test: robotests
2017-11-28 17:50:15 -08:00
TreeHugger Robot
b1edae2d04 Merge "Update Settings to use DeviceDefault colored button" 2017-11-28 21:23:49 +00:00
TreeHugger Robot
c859721413 Merge "Update style names due to theme migration" 2017-11-27 23:14:02 +00:00
TreeHugger Robot
6cfc72defa Merge "Make sure FP error text is visible in landscape" 2017-11-27 21:42:38 +00:00
jackqdyulei
aec5543841 Add preference group for saved devcies.
Currently it only contains bluetooth devices.

Bug: 3240835
Test: RunSettingsRoboTests
Change-Id: Ief102e7174a4c4610dbda6b728419b303ff928f9
2017-11-27 12:56:44 -08:00
TreeHugger Robot
d5fff3645a Merge "Increase max char limit for sim slot number" 2017-11-27 20:06:41 +00:00
TreeHugger Robot
79bd22ae5b Merge "Fix comma typo" 2017-11-27 19:43:19 +00:00
TreeHugger Robot
42243ef66f Merge "Update string for battery saver" 2017-11-27 19:25:00 +00:00
jeffreyhuang
ade10ca2ef Fix comma typo
Bug: 69672170
Test: Manual
Change-Id: Ib32695ca8ecf19e3d0c4174ce7fbd9f2af31c29a
2017-11-27 10:12:06 -08:00
Antony Sargent
cc16feb726 Update style names due to theme migration
This updates some theme names to go along with a change to migrate some
theme elements from SettingsLib to the support library.

Bug: 64689839
Test: manual
Change-Id: I31b96c321def78bbb49239faae6ba8e73aacd2fa
2017-11-27 18:06:48 +00:00
jeffreyhuang
e1d5a1eaac Increase max char limit for sim slot number
- translations to other languages requires a few more characters

Bug: 69672094
Test: Compiles
Change-Id: I59c1ced9098b02718599a1feb7e64903e8dbd7f7
2017-11-27 10:06:37 -08:00
Bill Yi
9ae05458f0 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I970b01d5df730bd739ef0ad5a40d28916bf53b02
2017-11-26 12:19:05 -08:00
Bill Yi
f00a457d5b Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ibfb674f157b342ea77c07cd88c47dc25b2fcd03e
2017-11-26 12:15:58 -08:00
TreeHugger Robot
e2e0ee33f5 Merge "Update search bar visual" 2017-11-23 00:57:34 +00:00
Maurice Lam
733b7c3c16 Make sure FP error text is visible in landscape
Use layout_weight in the enrolling progress bar to make sure it
there is space left for the error text.

Test: Manual
Bug: 69686380
Change-Id: Idd3d4c4ac376e721f15b8c9871c56e0619def305
2017-11-22 16:17:37 -08:00
Fan Zhang
5830dcc100 Update search bar visual
- Rounded cornal radius is now 1/2 of total height. This makes the
search bar look like a pill.

Bug: 68814716
Test: visual
Change-Id: Ie572d11c0df8c42b4903bfe238e80eeb54e60fd0
2017-11-22 15:12:06 -08:00
yuemingw
7b1da61346 Block settings when DISALLOW_CONFIG_DATE_TIME.
Test: m -j RunSettingsRoboTests
runtest -x packages/apps/Settings/tests/unit/src/com/android/settings/core/UserRestrictionTest.java

Fix: 67497909

After turn on the user restriction in TestDPC:
https://hsv.googleplex.com/5414119658225664
The date time settings page become:
https://hsv.googleplex.com/5199302573948928


Change-Id: I42590c4a505ec1b6ffa86eb460b90fa6ec8ba783
2017-11-22 19:53:18 +00:00
jackqdyulei
35f5d2e66c Update string for battery saver
"Battery saver" -> "Battery Saver"

Bug: 69480774
Test: Build
Change-Id: I6e1598c19ed6d85a15d6178ae010c3dd8cfe25be
2017-11-22 10:44:36 -08:00
TreeHugger Robot
bd642f9db8 Merge changes Ia2ab6b67,I85a9ef21
* changes:
  Update ConnectedDeviceGroupController
  Add infrastructure for connected device group.
2017-11-22 02:33:41 +00:00
Mady Mellor
b2419c7351 Merge "Add slice provider to settings (only provides wifi for now)" 2017-11-21 23:35:12 +00:00
jackqdyulei
75ea67c9f4 Update ConnectedDeviceGroupController
Get the PreferenceGroup there and add/remove preference
through the callback

Also add ConnectedBluetoothDeviceUpdater which only filter
the connected device.

Bug: 69333961
Test: RunSettingsRoboTests

Change-Id: Ia2ab6b6708329227929d6fe442df3a8d45bf86f5
2017-11-21 14:44:35 -08:00
Mady Mellor
7c74085df0 Add slice provider to settings (only provides wifi for now)
- Adds a slice provider to settings that can make a wifi slice

Test: Use SliceBrowser to look at the slice
Bug: 68378569
Change-Id: I8c73ea96a99ee9b0db4a2d7fddc5dbc2b1156da8
2017-11-21 12:56:21 -05:00
TreeHugger Robot
1ba7f8b291 Merge "Import translations. DO NOT MERGE" 2017-11-21 02:20:30 +00:00
Bill Yi
eed3de53ef Import translations. DO NOT MERGE
Change-Id: I8b64600126ed136b8caa3193dd984a287074adf0
Auto-generated-cl: translation import
2017-11-20 16:42:39 -08:00
jackqdyulei
76ba0f72e4 Add feature flag for connected device
Add feature flag to toggle connected device between new and old
feature.

ConnectedDeviceDashboardFragment will contain new feature will
ConnectedDeviceDashboardFragment2 will hold old feature.

Bug: 69333961
Test: Build
Change-Id: I0ea932c69dea5242129aab994d5142b1f87fbea0
2017-11-20 15:29:28 -08:00
TreeHugger Robot
59a800d0ec Merge "Import translations. DO NOT MERGE" into oc-mr1-dev 2017-11-20 22:46:59 +00:00
TreeHugger Robot
ae351b3266 Merge "Import translations. DO NOT MERGE" into oc-dr1-dev 2017-11-20 22:20:05 +00:00
TreeHugger Robot
6b0fd1d0bd Merge "Import translations. DO NOT MERGE" 2017-11-20 21:38:11 +00:00
Bill Yi
d4bae3a7a0 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ic55e0c95b19c299b290f9f22b935b0e553917264
2017-11-20 11:40:38 -08:00
Bill Yi
c47fc92b8c Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Id4c5ecbe846aca0a08b60c7a08d548cbae3458b1
2017-11-20 11:39:36 -08:00
Bill Yi
05fe7d0cd4 Import translations. DO NOT MERGE
Change-Id: I4578cba6e0521f8a6d7fea69c2ae2ab5dd0ea8bf
Auto-generated-cl: translation import
2017-11-20 11:38:20 -08:00
TreeHugger Robot
e68467e03d Merge "Use res-auto as app xml namespace instead of settings." 2017-11-18 02:27:20 +00:00
Fan Zhang
74c61d1fef Use res-auto as app xml namespace instead of settings.
This is necessary for SettingsIntelligence to parse settings:keywords
when indexing search stuff.

Bug: 64938328
Test: rerun tests
Change-Id: I0d8885c854852020dfa0b9faa3044d4a1b82f8f2
2017-11-17 16:49:54 -08:00
TreeHugger Robot
1eaf52aad4 Merge "Remove the private dns dialog in developer page" 2017-11-17 20:34:34 +00:00
Cody Northrop
dd6b82948a Merge "Rootless GPU Debug" 2017-11-17 20:33:24 +00:00
jackqdyulei
46257a6889 Remove the private dns dialog in developer page
This code is added in go/aog/524415. Since we added this dialog
in network page(ag/3193880), we could delete it in developer
page safely.

Bug: 68030013
Test: Build
Change-Id: Id306160f4a87599ebbb68a86606c672ef800cd8a
2017-11-17 10:44:06 -08:00
Cody Northrop
4e7f57add6 Rootless GPU Debug
This commit adds a new toggle to allow loading GPU debug
layers from the base directory of debuggable applications.

It corresponds to changes to GraphicsEnvironment to look for
matching application and layer list, which are then selectively
passed on the native components, like the Vulkan loader.

Bug: 63708377
Test: Manual, CTS tests to follow
Change-Id: Id6917a7b34df4a37905fafe08a4c1b6503abbb0c
2017-11-17 11:06:35 -07:00
TreeHugger Robot
268de492c8 Merge "Add test and fix null keys in search providers." 2017-11-16 23:21:51 +00:00
Jeffrey Huang
12108840a0 Merge "Dynamic advanced button for about phone v2" 2017-11-16 21:55:29 +00:00
Jeffrey Huang
5022cb21b0 Merge "Copy controllers from about phone v1 to v2" 2017-11-16 21:09:27 +00:00
Jeffrey Huang
75077060f2 Merge "Additional search terms for about phone v2" 2017-11-16 21:09:00 +00:00
Fan Zhang
7d5c9ace64 Add test and fix null keys in search providers.
- Add keys to some screens.
- Remove dynamic saved network/turst agent from search provider.
- Remove dynamic print services from printsettings.

Bug: 69384409
Test: atest
Change-Id: I62dce27d52585badb2a8953a05084e35dbae2f7d
2017-11-16 12:57:45 -08:00
jeffreyhuang
6182c048af Copy controllers from about phone v1 to v2
- Add feedback, device fcc, and manual controllers

Bug: 36458278
Test: make RunSettingsRoboTests -j40
Change-Id: Id2aeaa3a18cc83360e252df32f19a69ecd12f59f
2017-11-16 10:56:09 -08:00
Andrew Sapperstein
0efac4693f Update Settings to use DeviceDefault colored button
Uses new Widget.DeviceDefault.Button.Colored style.
Also updates some of the styles to use DeviceDefault
instead of Material styles for a bunch of button styles.

Bug: 64122537
Bug: 69314526
Test: ag/3228846
Change-Id: I478dfdb5ea67ae1882cfee66050ed44fcda3d80d
2017-11-15 17:23:24 -08:00
jeffreyhuang
848e904eed Dynamic advanced button for about phone v2
- Set the number of tiles for the advanced button based on the device's
 sim count

Bug: 36458278
Test: make RunSettingsRoboTests -j40
Change-Id: I86a5e95476eb93a94607e8c379b132a80a5a1fc5
2017-11-15 16:14:38 -08:00
jeffreyhuang
4181a573e6 Additional search terms for about phone v2
Bug: 36458278
Test: make RunSettingsRoboTests -j40
Change-Id: I07172133aa61a36c8c499237d4acaa6a2f392ba0
2017-11-15 15:28:23 -08:00
Fan Zhang
a590aa8de7 Merge "Misc fixes" 2017-11-15 22:40:31 +00:00
TreeHugger Robot
d76496dca1 Merge "Added zen settings messages and calls preferences." 2017-11-15 21:59:47 +00:00
Bruno Martins
b011e2a55b Merge "Settings: Add notification channel for SIM selection" am: c543d5ba26 am: 7431ad3a80
am: 440373dbde

Change-Id: I605e13adb0e050ee73e646fa13c62f88271271b6
2017-11-15 21:59:25 +00:00