OSDN Git Service
TreeHugger Robot [Mon, 18 Dec 2017 22:08:37 +0000 (22:08 +0000)]
Merge "Rename setDataEnabled to setUserDataEnabled."
TreeHugger Robot [Mon, 18 Dec 2017 20:47:31 +0000 (20:47 +0000)]
Merge "Revamp the network detail page"
TreeHugger Robot [Mon, 18 Dec 2017 20:46:59 +0000 (20:46 +0000)]
Merge "Introduce config_show_wallpaper_attribution."
TreeHugger Robot [Mon, 18 Dec 2017 20:46:53 +0000 (20:46 +0000)]
Merge "Add preference controller for app header view."
Tony Mantler [Mon, 18 Dec 2017 19:45:53 +0000 (19:45 +0000)]
Merge "Move PowerWhitelistBackend to SettingsLib"
jackqdyulei [Mon, 18 Dec 2017 19:07:35 +0000 (11:07 -0800)]
Revamp the network detail page
1. Update the title to be wifi name
2. Add "Advanced" category
Bug:
68029969
Test: Screenshot
Change-Id: Ie0502b22336de7af2c2b1b706b51f340685b2413
TreeHugger Robot [Sat, 16 Dec 2017 02:21:20 +0000 (02:21 +0000)]
Merge "Add setting to disable animations"
Phil Weaver [Sat, 16 Dec 2017 00:13:41 +0000 (16:13 -0800)]
Add setting to disable animations
Fixes:
12910879
Test: make RunSettingsRoboTests
Also went to Settings -> Accessibility, turned off animations,
and observed that animations stopped. Turned it back on, and
the came back. Also fiddled with the granular settings in
developer options, which behaved as expected.
Change-Id: I189fbc4152d3cdb5ee45562c33f94c739f569c32
Janis Danisevskis [Fri, 15 Dec 2017 23:48:55 +0000 (23:48 +0000)]
Merge "Make Settings aware of legacy user keys with secret key prefix"
tiansiming [Fri, 15 Dec 2017 22:41:34 +0000 (22:41 +0000)]
Merge "Fix NPE when press ttsEngines settings icon" am:
4b6e1b0758 am:
57b9039750
am:
576e159641
Change-Id: I475b444fffea5a45532144bc85b7464979fa7a0d
tiansiming [Fri, 15 Dec 2017 22:38:29 +0000 (22:38 +0000)]
Merge "Fix NPE when press ttsEngines settings icon" am:
4b6e1b0758
am:
57b9039750
Change-Id: Iae5884c2950e479c746e7b7761a40c250121dc16
tiansiming [Fri, 15 Dec 2017 22:35:52 +0000 (22:35 +0000)]
Merge "Fix NPE when press ttsEngines settings icon"
am:
4b6e1b0758
Change-Id: I7d90bfce2e4f5d13b66f0e408ab9ff4273f6eac6
Treehugger Robot [Fri, 15 Dec 2017 22:30:04 +0000 (22:30 +0000)]
Merge "Fix NPE when press ttsEngines settings icon"
Janis Danisevskis [Wed, 19 Apr 2017 23:23:02 +0000 (16:23 -0700)]
Make Settings aware of legacy user keys with secret key prefix
Secret keys are not longer identifiable by their alias prefix.
So now we call getKeyCharacteristics and check the algorithm of the
key.
Bug:
63931634
Test: Manually installed a key and checked that it is still dispayed
correctly.
Change-Id: I55a4e46434618cb52ceb9456f184e004165872fd
Tony Mantler [Fri, 15 Dec 2017 18:08:26 +0000 (10:08 -0800)]
Move PowerWhitelistBackend to SettingsLib
Bug:
70716754
Test: RunSettingsRoboTests
Change-Id: I897ce3469bb2d72a0cbe96b16b8de1a565ba4e64
jackqdyulei [Fri, 15 Dec 2017 18:42:15 +0000 (10:42 -0800)]
Turn on the new connected device page by default
Bug:
69926683
Test: RunSettingsRoboTests
Change-Id: Ice589b825226e92eace5f5fa6b58499a13e36ef8
Pavel Grafov [Fri, 15 Dec 2017 13:47:48 +0000 (13:47 +0000)]
Merge "Respect DISALLOW_UNIFIED_PASSWORD in Settings."
Philip P. Moltmann [Fri, 15 Dec 2017 12:00:25 +0000 (12:00 +0000)]
Merge "Switch to modern ArgumentMatchers" am:
b8bf3bbc72 am:
ced2263d48
am:
e360d51476
Change-Id: I2fb154f48bcfedecb5dbd8ccb2792ba34366ed71
Philip P. Moltmann [Fri, 15 Dec 2017 11:04:48 +0000 (11:04 +0000)]
Merge "Switch to modern ArgumentMatchers" am:
b8bf3bbc72
am:
ced2263d48
Change-Id: Iccb726dc2166bb1e30f39f7f6539fb74e1d83997
Philip P. Moltmann [Fri, 15 Dec 2017 10:48:38 +0000 (10:48 +0000)]
Merge "Switch to modern ArgumentMatchers"
am:
b8bf3bbc72
Change-Id: I81455eceac3a4273dc0bfd439fefa21c3b6f571c
Treehugger Robot [Fri, 15 Dec 2017 10:33:13 +0000 (10:33 +0000)]
Merge "Switch to modern ArgumentMatchers"
Ben Lin [Wed, 13 Dec 2017 00:44:53 +0000 (16:44 -0800)]
Introduce config_show_wallpaper_attribution.
This introduces a boolean flag in which when set to true, Wallpaper
Attribution will be shown in the Legal page. When set to false, it
will be hidden. Wallpaper has always been removed from search results,
so that has not changed.
Bug:
62378616
Test: make RunSettingsRoboTests ROBOTEST_FILTER=LegalSettings passes.
Change-Id: Ia6f3e7d1ef471eecf79f1b46616fa4ba27d35748
Doris Ling [Thu, 14 Dec 2017 22:23:41 +0000 (14:23 -0800)]
Add preference controller for app header view.
- move code related to initializing/refreshing the app header from
AppInfoDashboardFragment into a new controller.
- this is the last preference logic in AppInfoDashboardFragment. With
this change, the conversion into dashboad fragment will be considered
as complete.
- remaining work for the bug will be enable the feature flag and remove
the obsolete InstalledAppDetails.
Bug:
69384089
Test: make RunSettingsRoboTests
Change-Id: I14056bf291278b2b36f9502177c84edd6a899d0f
TreeHugger Robot [Thu, 14 Dec 2017 22:04:11 +0000 (22:04 +0000)]
Merge "Clarify secondary dnd media text."
Beverly [Thu, 14 Dec 2017 20:29:28 +0000 (15:29 -0500)]
Clarify secondary dnd media text.
Bug:
63077372
Test: manual
Change-Id: I38f249851fc5122e89dd3cc33124068598475751
TreeHugger Robot [Thu, 14 Dec 2017 18:08:44 +0000 (18:08 +0000)]
Merge "Hide Location Mode from search results if it's not available."
Lei Yu [Thu, 14 Dec 2017 18:05:11 +0000 (18:05 +0000)]
Merge "Add PowerUsageSummaryLegacy to Restricted list."
Philip P. Moltmann [Thu, 23 Nov 2017 00:07:48 +0000 (16:07 -0800)]
Switch to modern ArgumentMatchers
Test: adb shell am instrument -w -e class com.android.settings.vpn2.PreferenceListTest com.android.settings.tests.unit/android.support.test.runner.AndroidJUnitRunner
Change-Id: Id2e4684f6d3048cfb60fee1f747d0796c157a3da
TreeHugger Robot [Thu, 14 Dec 2017 15:49:17 +0000 (15:49 +0000)]
Merge "Add developer option control for GNSS duty cycling."
Peter Visontay [Thu, 14 Dec 2017 13:49:18 +0000 (13:49 +0000)]
Merge "Add a unit test for the AppOps permission for displaying UI overlays."
TreeHugger Robot [Thu, 14 Dec 2017 02:07:39 +0000 (02:07 +0000)]
Merge "Add preference controller for app action buttons."
gomo [Wed, 13 Dec 2017 11:44:09 +0000 (03:44 -0800)]
Add developer option control for GNSS duty cycling.
Duty Cycling control is one of the Android-P features. In Android-P the
feature will be controlled via a Developer Options button with no
public API. This CL adds the button and connect it to be read via the
GnssLocationProivder to control the feature. Also Roboelectric test
added.
Bug:
64009176
Test: Tested on Android-P build and works as expected. Also Robolectric test added.
Change-Id: Icc0d259719cf9034caf2c78c790b914ab4292597
Ben Lin [Wed, 6 Dec 2017 19:31:55 +0000 (11:31 -0800)]
Hide Location Mode from search results if it's not available.
Test: make RunSettingsRoboTests ROBOTEST_FILTER=LocationModeTest all
passes.
Bug:
70283459
Change-Id: Id99d4a8f694b6f223ee8ead9701569840e333a9e
Philip P. Moltmann [Wed, 13 Dec 2017 23:40:08 +0000 (23:40 +0000)]
Merge "Switch to modern ArgumentMatchers"
TreeHugger Robot [Wed, 13 Dec 2017 23:01:36 +0000 (23:01 +0000)]
Merge "Add Slices Data object and DB Contract"
TreeHugger Robot [Wed, 13 Dec 2017 22:59:43 +0000 (22:59 +0000)]
Merge "Simplify DND Behavior secondary text"
Doris Ling [Wed, 13 Dec 2017 22:12:27 +0000 (14:12 -0800)]
Add preference controller for app action buttons.
- move code related to initializing/refreshing the action buttons from
AppInfoDashboardFragment into a new controller.
Bug:
69384089
Test: make RunSettingsRoboTests
Change-Id: I8eb5f42a1b6d3c35f5a9e1356a9e5e31f643d5d3
TreeHugger Robot [Wed, 13 Dec 2017 21:22:36 +0000 (21:22 +0000)]
Merge "Move AppInfoDashboardFragment into appinfo package."
Beverly [Wed, 13 Dec 2017 20:08:30 +0000 (15:08 -0500)]
Simplify DND Behavior secondary text
Bug:
63077372
Change-Id: I0ac305ff429de27a65667441703b938305d8a03f
Fixes:
70627215
Test: make ROBOTEST_FILTER=ZenModeSettingsTest RunSettingsRoboTests -j40
James Lemieux [Wed, 13 Dec 2017 19:31:37 +0000 (19:31 +0000)]
Merge "Adopt robolectric 3.5.1"
Matthew Fritze [Mon, 11 Dec 2017 23:01:11 +0000 (15:01 -0800)]
Add Slices Data object and DB Contract
Add in a Data object used to represent one row
in a new SQLite database used for building Slices.
The database has the following schema:
- Key
- Title
- Subtitle
- Screentitle
- Icon
- Fragment
- Controller
The key is the preference key.
Title, subtitle and Icon are for UI info.
Screentitle and fragment are for the intent.
Controller is used to get dynamic ui info (like summary),
and to take actions on the slice (like a toggle).
The actual indexing and a Slice will be handled in a subsquent CL,
but a prototype can be found here: ag/
3324435
Test: robotests
Bug:
67996923
Change-Id: Id91deb58a3ab89ce1dab5a3f34cdb9ade6263aa8
Peter Visontay [Wed, 13 Dec 2017 17:31:41 +0000 (17:31 +0000)]
Add a unit test for the AppOps permission for displaying UI overlays.
The test logic is the same as ExetrnalSourcesSettingsTest but I moved/renamed some methods so both AppOps tests can use them.
Test: make -j32 SettingsUnitTests && adb install -r out/target/product/marlin/data/app/SettingsUnitTests/SettingsUnitTests.apk && adb shell am instrument -w -e class com.android.settings.applications.ExternalSourcesSettingsTest com.android.settings.tests.unit/android.support.test.runner.AndroidJUnitRunner
Test: same as above, but for DrawOverlaySettingsTest
Change-Id: Ifc0f0985a4cb4a82a00839aeb4cd4216c777250e
Jordan Liu [Wed, 13 Dec 2017 18:20:08 +0000 (18:20 +0000)]
Merge "Add signal strength customization"
jackqdyulei [Wed, 13 Dec 2017 18:18:23 +0000 (10:18 -0800)]
Add PowerUsageSummaryLegacy to Restricted list.
Then in guest/secondary user it is also possible to show
battery settings.
Bug:
70606597
Test: Manual
Change-Id: I7993abbf988926d0890229e9c14c779906be6e23
Robin Lee [Wed, 13 Dec 2017 17:31:16 +0000 (17:31 +0000)]
Merge "Handle getActiveAdmins() == null safely." am:
d46153c3d3 am:
70a6dfd647
am:
df5053e85b
Change-Id: I8f01cd4716ead11e7671e5fa572b8cd01087899c
Robin Lee [Wed, 13 Dec 2017 17:28:34 +0000 (17:28 +0000)]
Merge "Handle getActiveAdmins() == null safely." am:
d46153c3d3
am:
70a6dfd647
Change-Id: I98ccb0e4eb0882e10c0266d3f1fbbddaa1073db8
Robin Lee [Wed, 13 Dec 2017 17:24:00 +0000 (17:24 +0000)]
Merge "Handle getActiveAdmins() == null safely."
am:
d46153c3d3
Change-Id: If8a1bcdaa5c106394e4c00add45765d27c80e0ef
Treehugger Robot [Wed, 13 Dec 2017 17:16:38 +0000 (17:16 +0000)]
Merge "Handle getActiveAdmins() == null safely."
Android Build Merger (Role) [Wed, 13 Dec 2017 13:25:18 +0000 (13:25 +0000)]
Merge "Import translations. DO NOT MERGE am:
1d6d60f251 -s ours" into oc-mr1-dev am:
ad44ea442b -s ours
am:
937902f2f5 -s ours
Change-Id: Ibd076af118eb15993d7ecf37dbbcd77f371f892e
Bill Yi [Wed, 13 Dec 2017 13:24:40 +0000 (13:24 +0000)]
Import translations. DO NOT MERGE am:
e30af484ff -s ours
am:
b63129a388 -s ours
Change-Id: I1ba68b8ecf7f17d813ffc6023fc0589b2eb08ff6
Android Build Merger (Role) [Wed, 13 Dec 2017 13:23:07 +0000 (13:23 +0000)]
Merge "Import translations. DO NOT MERGE am:
1d6d60f251 -s ours" into oc-mr1-dev
am:
ad44ea442b -s ours
Change-Id: I8d26666caaa62bb95fed60d484368fc5b191bdcd
Bill Yi [Wed, 13 Dec 2017 13:22:04 +0000 (13:22 +0000)]
Import translations. DO NOT MERGE
am:
e30af484ff -s ours
Change-Id: If2100d09d2f2c16f27e3c77ecaeded8fee5ebc90
Android Build Merger (Role) [Wed, 13 Dec 2017 13:19:40 +0000 (13:19 +0000)]
Merge "Import translations. DO NOT MERGE am:
1d6d60f251 -s ours" into oc-mr1-dev
Bill Yi [Wed, 13 Dec 2017 13:19:06 +0000 (13:19 +0000)]
Import translations. DO NOT MERGE
am:
1d6d60f251 -s ours
Change-Id: I3a20f9e9061dbaf15f5f61a3f5f0a146c128ff2e
TreeHugger Robot [Wed, 13 Dec 2017 07:02:07 +0000 (07:02 +0000)]
Merge "Fix crashes related to ExternalSourcesDetails."
TreeHugger Robot [Wed, 13 Dec 2017 02:54:59 +0000 (02:54 +0000)]
Merge "Add power save action to BatteryBroadcastReceiver"
Hemant Gupta [Wed, 13 Dec 2017 02:26:01 +0000 (02:26 +0000)]
Merge "Bluetooth: Add support for PBAP UI preference" am:
f689d1aaa7 am:
0b4c0ebbe4
am:
40069b5ee2
Change-Id: I57de94d04d73ed1af24a15b36a73ea0692ad9815
Wang wenrui [Wed, 13 Dec 2017 02:25:04 +0000 (02:25 +0000)]
Merge "Fix screen freeze when changing display size in Multi-Window mode" am:
2051822bb9 am:
b2a6489139
am:
9b3b72f6b2
Change-Id: I4d3e3ef484d93535eb599104330048e1610cb370
Hemant Gupta [Wed, 13 Dec 2017 01:57:51 +0000 (01:57 +0000)]
Merge "Bluetooth: Add support for PBAP UI preference" am:
f689d1aaa7
am:
0b4c0ebbe4
Change-Id: I5419efe379ee5bf0622ac8070b6ef3886d277bdf
Wang wenrui [Wed, 13 Dec 2017 01:56:50 +0000 (01:56 +0000)]
Merge "Fix screen freeze when changing display size in Multi-Window mode" am:
2051822bb9
am:
b2a6489139
Change-Id: I791f25687e37448659b3e0d91ad35f28dca0fed6
James Lemieux [Wed, 13 Dec 2017 01:31:47 +0000 (17:31 -0800)]
Adopt robolectric 3.5.1
Bug:
70581603
Test: make RunSettingsRoboTests
Change-Id: I21dba3381ae62ee12de1ce29bea473b3d0f069c0
Hemant Gupta [Wed, 13 Dec 2017 01:27:46 +0000 (01:27 +0000)]
Merge "Bluetooth: Add support for PBAP UI preference"
am:
f689d1aaa7
Change-Id: Ic4ffc6a26b11cdf0a937402c3bdcd68441fe4aed
Wang wenrui [Wed, 13 Dec 2017 01:26:52 +0000 (01:26 +0000)]
Merge "Fix screen freeze when changing display size in Multi-Window mode"
am:
2051822bb9
Change-Id: I974abe3dd2114aa439c0db46fa4930a947912de6
Lei Yu [Wed, 13 Dec 2017 01:06:14 +0000 (01:06 +0000)]
Merge changes Ie1f934b4,Ic3b045a6
* changes:
Create BluetoothSwitchPreference
Add ConnectedUsbDeviceUpdater
Doris Ling [Thu, 7 Dec 2017 23:30:18 +0000 (15:30 -0800)]
Move AppInfoDashboardFragment into appinfo package.
- update all references to AppInfoDashboardFragment
- removed PackageUtil inner class and change the corresponding function
to be a simple method.
Bug:
69384089
Test: make RunSettingsRoboTests
Change-Id: Ief067e25a303ef16db20b2ca1d8840cb06eff5f9
TreeHugger Robot [Wed, 13 Dec 2017 00:56:56 +0000 (00:56 +0000)]
Merge "Add controllers for iinstant app related preferences."
jackqdyulei [Tue, 12 Dec 2017 00:53:40 +0000 (16:53 -0800)]
Add power save action to BatteryBroadcastReceiver
This cl makes BatteryBroadcastReceiver also listen to update about
battery saver.
Bug:
70530651
Test: RunSettingsRoboTests
Change-Id: I76b2f1b1047aa195ee9d8ff2a8a330cea31039d4
Treehugger Robot [Wed, 13 Dec 2017 00:30:42 +0000 (00:30 +0000)]
Merge "Bluetooth: Add support for PBAP UI preference"
Bill Yi [Wed, 13 Dec 2017 00:25:18 +0000 (16:25 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: If249fffda6df063fd39ec95e4ba04b412a1ea9e1
Bill Yi [Wed, 13 Dec 2017 00:19:14 +0000 (16:19 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I37fb135ddf373093ede9b1d56bf6452ea52ef093
TreeHugger Robot [Wed, 13 Dec 2017 00:02:35 +0000 (00:02 +0000)]
Merge "Add PrefController in XML support"
Treehugger Robot [Tue, 12 Dec 2017 23:59:23 +0000 (23:59 +0000)]
Merge "Fix screen freeze when changing display size in Multi-Window mode"
Adam Lesinski [Tue, 12 Dec 2017 23:35:34 +0000 (23:35 +0000)]
Merge "Update the way OMS records details about overlays" into oc-mr1-dev am:
15b42b89b8
am:
11ab7f7b82 -s ours
Change-Id: I91e9d37fb5b4024f3272a7f968d7885ea88a2244
Adam Lesinski [Tue, 12 Dec 2017 23:16:37 +0000 (23:16 +0000)]
Merge "Update the way OMS records details about overlays" into oc-mr1-dev
am:
15b42b89b8
Change-Id: I15809e100fc46691f0f60ed2729c18a07d904313
Jeffrey Huang [Tue, 12 Dec 2017 22:27:05 +0000 (22:27 +0000)]
Merge "Do not show advanced dropdown if only one setting"
Doris Ling [Tue, 12 Dec 2017 01:32:03 +0000 (17:32 -0800)]
Fix crashes related to ExternalSourcesDetails.
- ExternalSourcesSettingsTest crashes due to the package moved of
ExternalSourcesDetails. Corresponding xml has been updated in previous
CLs. So, reverting the suppress tag for the test class.
- ExternalSourcesDetails can be launched directly with
MANAGE_UNKNOWN_APP_SOURCES intent, and client can pass in invalid
package while launching ExternalSourcesDetails. Need to check whether
the app info is invalid before we try to launch the fragment.
- also fix test failure for not founding the app list as list object
type and id had been changed.
Change-Id: Id7787ca889f770e10d7a8e9fbf8dc79c9d6e884d
Fixes:
70383636
Test: make RunSettingsRoboTests, make SettingsUnitTests
Matthew Fritze [Mon, 11 Dec 2017 17:57:54 +0000 (09:57 -0800)]
Add PrefController in XML support
Add the ability to define a Preference Controller
in xml using the 'controller' tag.
This is useful for two reasons:
- It allows the controllers to be instantiated via
reflection for Slices and Dashboard fragment
- Removes the requirement that controllers be defined manually
in Fragments
In order to be instantiable, they must have a unified construction
following either:
ClassName(Context)
ClassName(Context, String)
Also added a robotest that verifies that all controllers defined
in XML follow the constructor schema, and extend
BasePreferenceController.
Test: robotests
Bug:
67996923
Change-Id: I304b35dc666daebecf0c9e286696f3f2a510704a
TreeHugger Robot [Tue, 12 Dec 2017 21:48:17 +0000 (21:48 +0000)]
Merge "Update the way OMS records details about overlays" into oc-mr1-dev
Philip P. Moltmann [Thu, 23 Nov 2017 00:07:48 +0000 (16:07 -0800)]
Switch to modern ArgumentMatchers
Test: adb shell am instrument -w -e class com.android.settings.vpn2.PreferenceListTest com.android.settings.tests.unit/android.support.test.runner.AndroidJUnitRunner
Change-Id: Id2e4684f6d3048cfb60fee1f747d0796c157a3da
Doris Ling [Thu, 7 Dec 2017 20:38:04 +0000 (12:38 -0800)]
Add controllers for iinstant app related preferences.
For AppInfoDashboardFragment:
- add app installer preference into the preference screen
instead of creating it dynamically.
- add controller for the App Installer, Instant App buttons, and instant
app domains preferences.
Bug:
69384089
Test: make RunSettingsRoboTests
Change-Id: I8d362cacb78077c173130018c33c4d00abfe9843
Jordan Liu [Tue, 12 Dec 2017 01:19:45 +0000 (17:19 -0800)]
Add signal strength customization
Also add default behavior in case carrier config bundle is null.
Bug:
69730732
Test: manual and new unit test
Change-Id: Ia38462a7e1b6f2e27ff45d93beef09465a68ae5c
jeffreyhuang [Fri, 8 Dec 2017 22:39:03 +0000 (14:39 -0800)]
Do not show advanced dropdown if only one setting
Change-Id: I56eff1198636d0f0b95f4aa58eb90efc346c3f65
Fixes:
69402845
Test: make RunSettingsRoboTests -j40
Pavel Grafov [Thu, 26 Oct 2017 16:01:53 +0000 (17:01 +0100)]
Respect DISALLOW_UNIFIED_PASSWORD in Settings.
Bug:
63909482
Test: make ROBOTEST_FILTER=SecuritySettingsTest RunSettingsRoboTests
Test: make cts-verifier
Change-Id: Ia89501d5d5339c1340bee36a9bfb8ef72c4ee9b1
Lei Yu [Tue, 12 Dec 2017 18:05:34 +0000 (18:05 +0000)]
Merge "Add device name preference in pairing page"
TreeHugger Robot [Tue, 12 Dec 2017 01:05:33 +0000 (01:05 +0000)]
Merge "Update package name for PictureAndPictureSettings"
jackqdyulei [Fri, 8 Dec 2017 20:55:26 +0000 (12:55 -0800)]
Add device name preference in pairing page
Also refactor the preference controller
1. Extend from BasePreferenceController.
2. pass in the preference key. Then it could be reused in different
places with different key.
Bug:
69333961
Test: Screenshot | RunSettingsRoboTests
Change-Id: I773ca022baa326481045c1659565c9a21111200a
Doris Ling [Mon, 11 Dec 2017 21:45:40 +0000 (13:45 -0800)]
Update package name for PictureAndPictureSettings
- also need to update the reference in the special app access xml page.
Change-Id: I1199f70adf18d3f0e21a946848239526d9c8b3c8
Fixes:
70491786
Test: make SettingsUnitTests
TreeHugger Robot [Mon, 11 Dec 2017 22:51:42 +0000 (22:51 +0000)]
Merge "Delete about phone v1 code"
TreeHugger Robot [Mon, 11 Dec 2017 21:51:35 +0000 (21:51 +0000)]
Merge "Update the way OMS records details about overlays"
jackqdyulei [Mon, 4 Dec 2017 21:57:31 +0000 (13:57 -0800)]
Create BluetoothSwitchPreference
In the new design, bluetooth preference is not MasterSwitchPreference
any more. This cl creates BluetoothSwitchPreference while reuse the
BluetoothEnabler.
Future cl will remove the BluetoothMasterSwitchPreference when P
feature is finalized.
Bug:
69333961
Test: RunSettingsRoboTests
Change-Id: Ie1f934b4e93a6758a1b0cf83bb5098585a635c2a
TreeHugger Robot [Mon, 11 Dec 2017 21:01:32 +0000 (21:01 +0000)]
Merge "Add icons for color inversion and daltonizer"
TreeHugger Robot [Mon, 11 Dec 2017 20:59:58 +0000 (20:59 +0000)]
Merge "Update package name for PictureAndPictureSettings"
TreeHugger Robot [Mon, 11 Dec 2017 20:33:48 +0000 (20:33 +0000)]
Merge "Disable crashing ExternalSourcesSettingsTest#testManageExternalSourcesForApp"
Robin Lee [Mon, 11 Dec 2017 17:24:03 +0000 (18:24 +0100)]
Handle getActiveAdmins() == null safely.
Test: adb install -r $OUT/system/priv-app/Settings/Settings.apk && adb shell am start -n com.android.settings/.DeviceAdminAdd --es android.app.extra.DEVICE_ADMIN_PACKAGE_NAME com.example.nonexistent
Change-Id: I1e3cf406e8053f6dbf99669f33b7c16648c9c8f8
Fix:
70491813
TreeHugger Robot [Mon, 11 Dec 2017 19:19:33 +0000 (19:19 +0000)]
Merge "Fix assertion in VisibilityPreferenceControllerTest."
Doris Ling [Mon, 11 Dec 2017 19:18:10 +0000 (11:18 -0800)]
Update package name for PictureAndPictureSettings
- the settings have been moved into the appinfo package, but the path
has not been updated properly in the android manifest.
Change-Id: I3a00a187bd2fdbeb926e2bb8cc1c4ab720ccd72a
Fixes:
70491786
Test: manual
Phil Weaver [Sat, 9 Dec 2017 01:10:06 +0000 (17:10 -0800)]
Add icons for color inversion and daltonizer
For accessibilty settings, both on the main page
and the shortcut picker.
Also now observing settings that could be toggled
by the shortcut, so changes can be reflected immediately
in the settings ui.
Bug:
34621067
Fixes:
70335904
Test: Observe icons in settings and shortcut picker.
Toggling color inversion and color correction now changes
the setting ui immediately.
Change-Id: Id27b6471376059288ff971e5aea72d76078bef36
jeffreyhuang [Thu, 30 Nov 2017 00:41:48 +0000 (16:41 -0800)]
Delete about phone v1 code
Bug:
36458278
Test: make RunSettingsRoboTests -j40
Change-Id: Ib8f420a86caa1da0165aa5c161eb584a009ed2b9
TreeHugger Robot [Mon, 11 Dec 2017 18:45:33 +0000 (18:45 +0000)]
Merge "Fix VisibilityPreferenceControllerTest."
TreeHugger Robot [Mon, 11 Dec 2017 17:40:05 +0000 (17:40 +0000)]
Merge "Remove Slice getter from BasePreferenceController"