Commit Graph

3977 Commits

Author SHA1 Message Date
jackqdyulei
dc75d02b95 Merge "Add owners to setting packages." am: f82cd59476
am: e6f052e928

Change-Id: Ie9bcc92888073e504ac444c42bc801c50aac7eb5
2017-11-21 16:46:24 +00:00
jackqdyulei
e6f052e928 Merge "Add owners to setting packages."
am: f82cd59476

Change-Id: Ic7c94f6ba65149cdc799332a0cc5976ff285f16f
2017-11-21 16:41:50 +00:00
TreeHugger Robot
95cd246993 Merge "Move some tests to sdk version o" 2017-11-21 02:40:01 +00:00
Lei Yu
064a76c3d3 Merge "Add feature flag for connected device" 2017-11-21 01:13:29 +00:00
TreeHugger Robot
197c0c83de Merge "Do not add SelectUsbConfigPreferenceController if USB is disabled." 2017-11-21 00:43:35 +00:00
jeffreyhuang
c47d806d30 Move some tests to sdk version o
Test: make RunSettingsRoboTests -j40
Change-Id: I8fa5dc1f371b5b16403304d0dc2bc821d6f3804a
2017-11-20 16:40:02 -08:00
jackqdyulei
d6a00cfa3f Add owners to setting packages.
Bug: 65294119
Fixes: 69384604
Test: Build

Change-Id: Ib4fddc1f04087671d8445fd967d4262287e5c4f3
Merged-In: I927052a73f639d0894600611cd5c79293f43ff5e
Merged-In: Ia1eb8155f2d4359d56b0babd474083295ba38a0b
Merged-In: I24ec103ff5013ad416e3dfb1c548acd387b4ba64
Merged-In: If9fddc8b4e2e6d4d7db185ab16063e824323b9a7
Merged-In: I49159950521a013422b1087ea2c3e6cd5151457c
Merged-In: I69af58183c5b89af96c1a8808665fa506a620012
Merged-In: Ie9492f497824cd2b2727dde9d3a48452c72f1084
Merged-In: I2fd0249fd8b555e5ca93c3aec13857e6c74e157c
Merged-In: Id1c2d9233643a18c1e104255a9e2b8b1aaefc44e
Merged-In: Icdcfaaf6cc7a1e1cf77e89a79d0425cab4405ffc
Merged-In: I697528ff260a0f8e54aa1188e35143e668800e7d
Merged-In: I1486782f476acaf1e2e4b66df57869409239986f
Merged-In: I804b50a38c877da80b5ef3251e16029259014152
Merged-In: I39eec9ebc1db2dc14669f27b17624394e25eb47f
Merged-In: I054a6df08046cda1c2f202390ed24839a6b10349
Merged-In: I9da5bd71ed6aa3922a7f2e2ac4729e3247a204ce
Merged-In: I63778c68f1ab9edc36a9e12aa1729f8fd6a5e073
2017-11-20 16:39:59 -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
b46078fdc8 Merge "Revert "Revert "Prevent monkey from changing usb settings""" 2017-11-20 21:45:29 +00:00
TreeHugger Robot
6b0fd1d0bd Merge "Import translations. DO NOT MERGE" 2017-11-20 21:38:11 +00:00
Lei Yu
a6005aa3b1 Merge "Decouple BluetoothDevicePreference and DeviceListPreferenceFragment" 2017-11-20 21:27:20 +00:00
Ben Lin
3f5d58b981 Do not add SelectUsbConfigPreferenceController if USB is disabled.
Bug: 69479572
Test: Local cherry-picked to master-arc-dev, and deployed cheets_x86 to
a ChromeOS device. Developer Options show up.
Updated SelectUsbConfigPreferenceControllerTest.

Change-Id: I8c6a4501849e67c92f50b8a3781260e9dbcdaf20
2017-11-20 13:26:15 -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
Jeffrey Huang
5a280667ba Revert "Revert "Prevent monkey from changing usb settings""
This reverts commit da3f0d9e56.

Change-Id: I6d63305e18c2b95676feb60f2526dcade951cd3f
2017-11-20 10:58:38 -08:00
Julia Reynolds
14ed3f176e Merge "Restore group block button." 2017-11-20 18:11:33 +00:00
jackqdyulei
cf1ce05ce5 Decouple BluetoothDevicePreference and DeviceListPreferenceFragment
The BluetoothDevicePreference need to know whether to display with an
invalid name. However pass in the whole fragment is over-killing.

This cl decouple it for several reasons:
1. In P, BluetoothDevicePreference will be used in other fragment.
2. In preference lifecycle from end user side, this flag is constant.

Bug: 69333961
Test: RunSettingsRoboTests
Change-Id: I3dbcd2a4aafa3ead74371534250e5e7c3ee221f7
2017-11-20 10:11:20 -08:00
TreeHugger Robot
d332f5c316 Merge "Add owners files to notification test dirs" 2017-11-20 18:10:59 +00:00
Jeffrey Huang
07394c9931 Merge "Enable flag for about phone v2" 2017-11-20 18:10:14 +00:00
Julia Reynolds
8603c7ea62 Add owners files to notification test dirs
Test: make
Change-Id: I63778c68f1ab9edc36a9e12aa1729f8fd6a5e073
2017-11-20 16:40:47 +00:00
Julia Reynolds
a87cee11b6 Restore group block button.
Test: RunSettingsRoboTests
Bug: 63927402
Change-Id: I2e8163082d81d696dce2082be49a16c85458672b
2017-11-20 09:11:57 -05:00
Pavel Grafov
4559ddeb09 Merge "Block editing of locked down wifi network from details page." 2017-11-20 11:38:19 +00:00
TreeHugger Robot
01a225fd7f Merge "Create version 2 of InstalledAppDetails" 2017-11-18 01:23:43 +00:00
TreeHugger Robot
eacfbf5221 Merge "Delete DevelopmentSettings.java" 2017-11-18 00:05:59 +00:00
Doris Ling
529e207986 Create version 2 of InstalledAppDetails
- this is the first step for converting InstalledAppDetails into
DashboardFragment
- add a feature flag to determine whether to show the new installed app
detail page.
- decouple the fragment from AppInfoBase: extends from
SettingsPreferenceFragment directly and copy all codes from
AppInfoBase.

Bug: 69384089
Test: make RunSettingsRoboTests
Change-Id: If1ab5b216620eaba1d6bde20e65e7a602931fd94
2017-11-17 15:37:34 -08:00
TreeHugger Robot
2575d3fd45 Merge "Update code to match FeatureFlagUtils interface change." 2017-11-17 22:20:05 +00:00
jeffreyhuang
cb823d5983 Delete DevelopmentSettings.java
- Remove the old DevelopmentSettings
 - Remove references to the feature flag

Fixes: 65522949
Test: make RunSettingsRoboTests -j40
Change-Id: Ie2eb3465127d79a027de6bb58a47bb15e3094f89
2017-11-17 13:52:33 -08:00
Cody Northrop
dd6b82948a Merge "Rootless GPU Debug" 2017-11-17 20:33:24 +00:00
Fan Zhang
264b8b5c08 Update code to match FeatureFlagUtils interface change.
Bug: 36222960
Test: rerun robotests
Change-Id: Iecaaf2dfa1ec0a7f6754e74b723d619e16ec93bf
2017-11-17 11:16:46 -08:00
jeffreyhuang
b025f06a50 Enable flag for about phone v2
Bug: 36458278
Test: make RunSettingsRoboTests -j40
Change-Id: I0a41fdafadf71e20b76f999005dac66b6a52f570
2017-11-17 10:14:00 -08:00
Pavel Grafov
d429225640 Block editing of locked down wifi network from details page.
Test: make ROBOTEST_FILTER=WifiDetailPreferenceControllerTest RunSettingsRoboTests
Bug: 68990370
Change-Id: Idceb064486afd93bc8b2f52d605a788520de8e56
2017-11-17 18:11:25 +00: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
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
Fan Zhang
7d72837179 Merge "Catch exception when checking WifiDisplay availability" am: 7a08901d1b
am: 6d5e7bf41f

Change-Id: I8e1453bdd39ce220381a3368846bb137c4878dd4
2017-11-16 01:36:10 +00:00
Fan Zhang
6d5e7bf41f Merge "Catch exception when checking WifiDisplay availability"
am: 7a08901d1b

Change-Id: I426208a605e3771238bd91c135e47faf1b559e58
2017-11-16 01:33:31 +00: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
Fan Zhang
e0fdec2750 Catch exception when checking WifiDisplay availability
Change-Id: Ic2f17905babf43e92a825b8b5b4f8aac7d8ff001
Fixes: 68013053
Test: robotests
2017-11-15 15:12:14 -08:00
TreeHugger Robot
a1df3b1eee Merge "Add control to save button." 2017-11-15 23:06:00 +00: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
jackqdyulei
84b3b97ca0 Add control to save button.
If the mode is PRIVATE_DNS_MODE_PROVIDER_HOSTNAME and hostname is
invalid, we should disable the save button. Otherwise enable the
save button.

Bug: 68030013
Test: RunSettingsRoboTests
Change-Id: If9149c119f1b396a7057590d515b62e7c19b9f99
2017-11-15 12:54:18 -08:00
Antony Sargent
f20e0a492b Fix BluetoothPairingDialogTest to not expect device name
The functional fix for b/62672248 in ag/2856166 removes the device name
from the text near the checkbox in the bluetooth pairing dialog, so we
need to stop checking for it in this robotest. However, that functional
fix needs to be in a separate CL from this fix for the robotest, because
the robotest doesn't exist on some of the older branches where the
functional fix needs to be backported.

Bug: 62672248
Test: RunSettingsRoboTests
Change-Id: I17ff3e4f13c20d58cc4027557f275d296ecccc95
2017-11-15 18:38:36 +00:00
Jeffrey Huang
e50254dce0 Merge "Speed up dev options" 2017-11-15 18:01:07 +00:00
Jeffrey Huang
f1b6d629bf Merge changes Ibf5dc65b,I0cea3f76,I0dda78b4
* changes:
  Phone number in about phone v2
  Dynamic preferences for sim status
  Dynamic preferences for IMEI
2017-11-15 18:00:39 +00:00
TreeHugger Robot
9767b45534 Merge "Send context object to FeatureFlagUtils." 2017-11-15 03:43:24 +00:00
jeffreyhuang
bf234afbbb Speed up dev options
- Put memory updates on background thread
 - Prevent update state from being called twice

Bug: 69000975
Test: Manual
Change-Id: I186bc25f6b74a5098b1737891efee3a6855dc996
2017-11-14 17:05:25 -08:00
Fan Zhang
cb4fb095d7 Misc fixes
- align wifi connection dialog edittext to viewStart
- Generate a random password when wifi tether password is null

Change-Id: Ia5ca6098c9ef4641cb4f8b4e2b126da061e62830
Fixes: 67749595
Fixes: 64967301
Test: robotests
2017-11-14 16:53:28 -08:00
Lei Yu
7404059de1 Merge "Fix broken test in NetworkDashboardFragmengTest" 2017-11-14 23:58:54 +00:00
Jeffrey Huang
4c57b33f41 Merge "Rename dev options xml file" 2017-11-14 21:37:24 +00:00