Commit Graph

49033 Commits

Author SHA1 Message Date
Salvador Martinez
6974be492b Merge "Create shell UI for smart battery saver" 2018-12-11 23:24:53 +00:00
Xin Li
419086d8b3 DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master
Bug: 120502534
Change-Id: I63bedf30fa0a4629cfab1dbe94359b4d36cf9ac1
2018-12-11 15:24:05 -08:00
TreeHugger Robot
45ed311e26 Merge "Add edit and delete buttons to zen rules" 2018-12-11 23:11:56 +00:00
Xin Li
dfd5b86302 [automerger skipped] DO NOT MERGE: Merge pie-platform-release (PPRL.181205.001) into stage-aosp-master
am: 5134815af5  -s ours

Change-Id: I2bb19a2cb832111ee29ef3762c3b13808dde3b11
2018-12-11 15:07:53 -08:00
TreeHugger Robot
2d744bd9e1 Merge "DO NOT MERGE: Merge pie-platform-release (PPRL.181205.001) into stage-aosp-master" into stage-aosp-master 2018-12-11 21:49:26 +00:00
Salvador Martinez
108faaf1ce Create shell UI for smart battery saver
This CL creates the new screen WITHOUT any of the behaviors
(changing the global settings/calling power manager apis) and
hooks it up to the preference in BatterySaverSettings for
navigation. The logic for the preference in BatterySaver Settings
is also added so that it shows the correct summary when the
schedule settings are modified. Additionally, a small tweak is
made to the radio preference widget to make it possible to hide
the appendix view. It didn't seem to do anything except get in
the way and potentially ruin your day, much like its biological
counterpart.

Test: Overriding power mode via adb, robotests
Bug: 111450127
Change-Id: Ic681aaf565ce1caf7d00d314e14ae6c4779fe8f6
2018-12-11 11:20:02 -08:00
Beverly
48903ccefe Add edit and delete buttons to zen rules
Test: atest ZenModeScheduleRuleSettingsTest ZenModeEventRuleSettingsTest
Test: manual
Bug: 111475013
Fixes: 120787343
Fixes: 120758763
Change-Id: If81ce2972e6887fb2a85d4b7262e81b26162e19c
2018-12-11 13:56:05 -05:00
Phil Weaver
ca32293e76 Merge "Clarify text shown in a11y service warning dialog" 2018-12-11 17:15:06 +00:00
tmfang
ff8fca7d9e Change LayoutPreference resource path in robo test
Since we change the name of LayoutPreference in SettingsLib,
we also need to change its path for robo test.

Test: robotest
Change-Id: I0401351585564ebfc320c52279af6bfa3b6dbb84
Fixes: 120706174
2018-12-11 21:49:42 +08:00
Inseob Kim
ca2704a451 [automerger skipped] Merge "Revert "Revert "Schematize vold system properties""" am: cc24a22da9 -s ours am: 95a1128814 -s ours
am: fe9f5c42f6  -s ours

Change-Id: I5f75b15ab792329cdb9bf2dd2e4b42bccb6eb0f3
2018-12-11 03:45:30 -08:00
Inseob Kim
fe9f5c42f6 [automerger skipped] Merge "Revert "Revert "Schematize vold system properties""" am: cc24a22da9 -s ours
am: 95a1128814  -s ours

Change-Id: Id55802e6e5395a0f748f5b125d551b64c22473f1
2018-12-11 03:34:42 -08:00
Inseob Kim
95a1128814 [automerger skipped] Merge "Revert "Revert "Schematize vold system properties"""
am: cc24a22da9  -s ours

Change-Id: I19f28ff740c8cf3bb0ec1d68cef80563998154f2
2018-12-11 03:26:07 -08:00
Treehugger Robot
cc24a22da9 Merge "Revert "Revert "Schematize vold system properties""" 2018-12-11 11:04:01 +00:00
Cosmo Hsieh
5ac2c048fb Merge "Rename wifi/NetworkRequestTimeoutDialogFragment to wifi/NetworkRequestErrorDialogFragment for extending usage." 2018-12-11 08:21:14 +00:00
TreeHugger Robot
c53717f5d7 Merge "Add a helper class for listening to subscription and airplane mode changes" 2018-12-11 07:11:57 +00:00
Johnson Lu
5aef897e9b Implement receiver flow of WiFi sharing feature
1.Add a button to launch QR code scanner when add a network.
2.Scan button added in AddNetworkFragment / WifiDialog / WifiSettings.

Bug: 120630683
Test: make RunSettingsRoboTests
Change-Id: I340bfa2247e092f586dd90dfea37c355e681ffee
2018-12-11 14:25:07 +08:00
Johnson Lu
8ef2edfe32 Merge "Implement host flow of WiFi sharing feature" 2018-12-11 05:51:32 +00:00
Leon Liao
0805dbb98c Merge "Fix content timeout item misorder in Display category in A11y Settings" 2018-12-11 03:00:44 +00:00
Stanley Wang
b812668679 Merge "Fix carrier-specific Wi-Fi settings appears in search - even on non-carrier phone" 2018-12-11 02:22:07 +00:00
Johnson Lu
43f0d13e1d Implement host flow of WiFi sharing feature
Add share button and authentication screen to confirm credentials
(pin, pattern or password) for the current user of the device.

Bug: 120517242
Test: make RunSettingsRoboTests
Change-Id: Id79833db0d582c401f1371ff60429e42ce1990e0
2018-12-11 09:44:27 +08:00
Yueming Wang
f831f40d80 Merge "Add Cross profile calendar Settings UI." 2018-12-11 00:40:10 +00:00
Xin Li
5134815af5 DO NOT MERGE: Merge pie-platform-release (PPRL.181205.001) into stage-aosp-master
Bug: 120502534
Change-Id: I4993ed4cbd133e995e950298c65ad57c73c9a5f3
2018-12-10 15:12:59 -08:00
Philip P. Moltmann
19735d202b Merge "RuntimePermissionPresenter was moved" 2018-12-10 20:51:31 +00:00
yuemingw
a35990b633 Add Cross profile calendar Settings UI.
Bug: 117976974
Test: make ROBOTEST_FILTER=CrossProfileCalendarPreferenceControllerTest -j40 RunSettingsRoboTests
Change-Id: Ieb4dcfb8091e2c63f4372af220695297c7bb116d
2018-12-10 19:39:29 +00:00
Phil Weaver
fce1835ef5 Clarify text shown in a11y service warning dialog
Replacing the text generated from the service's
capabilities (which could change) with a generic message
based on the maximum capabilities (full control) a service
can obtain.

Bug: 110715236
Test: atest SettingsRoboTests
Change-Id: Iecb548c77c9031626d4da24741ec1f753d0cc94f
2018-12-10 11:27:30 -08:00
TreeHugger Robot
e29f278fa9 Merge "IMM#showInputMethodPickerFromSystem for supporting multi-display." 2018-12-10 18:56:40 +00:00
TreeHugger Robot
4079f33aca Merge "Revert "migrate new setupcompat and setupdesign to SetupChooseLockGeneric"" 2018-12-10 18:20:09 +00:00
Fan Zhang
8a441b6f10 Merge "Add a loading text when waiting for wifitracker results" 2018-12-10 18:11:14 +00:00
Inseob Kim
8346eb5ccc Revert "Revert "Schematize vold system properties""
This reverts commit 49e81e0eea.

Reason for revert: Fixed breakage

Change-Id: I414b753a218d9baf3d24530ff14df7644eb148e0
Merged-In: Id2a696c621015d46015d5de0e7aef987e9e01b54
2018-12-10 13:03:37 +00:00
Yanting Yang
09b130529c Rename ConnectedDeviceSlice to BluetoothDevicesSlice
Bug: 120029006
Test: robotests
Change-Id: I7e39f52a87ebd017bf0635cd5a76945b39eee6fc
2018-12-10 18:33:51 +08:00
Anthony Stange
09d9666ab0 [automerger skipped] Merge "Revert "Schematize vold system properties"" am: 94ef16b6e3 am: a35a0418c1
am: c7a5a2f39a  -s ours

Change-Id: Ia94db75475da21cbcb87b2db615714473192275d
2018-12-10 02:15:01 -08:00
Cn Chen
f63eee9f0a Revert "migrate new setupcompat and setupdesign to SetupChooseLockGeneric"
This reverts commit 0725bea86e.

Reason for revert: Settings crash
Bug: 120754151
Change-Id: I52f258f7f12d21b8dd16220ba11e50768d0802ee
2018-12-10 07:32:52 +00:00
Stanley Wang
f301f8b216 Fix carrier-specific Wi-Fi settings appears in search - even on non-carrier phone
The preference should be removed from the search result when
the availability status is false.

Change-Id: I979bc70ec7672b137b96a7e02db2e9ba29fbb7a8
Fixes: 112550245
Test: manual and robotests
2018-12-10 15:14:23 +08:00
TreeHugger Robot
029e9c5da2 Merge "Always save message permission choice" 2018-12-10 02:25:36 +00:00
Cn Chen
258f065e2c Merge "migrate new setupcompat and setupdesign to SetupChooseLockGeneric" 2018-12-10 01:45:28 +00:00
Tim Van Patten
70dc967352 Merge "Update ANGLE Developer Options" 2018-12-08 22:57:34 +00:00
Yanting Yang
327c9a0871 Merge "Add pair new device to ConnectedDeviceSlice" 2018-12-08 15:45:35 +00:00
Yanting Yang
84b3035b21 Add pair new device to ConnectedDeviceSlice
Show "Pair new device" when the number of devices is less than 3.

Bug: 114807655
Test: visual, robotest
Change-Id: Ia8dbff163d758bb077d4960616d1c6538c04aebb
2018-12-08 21:02:26 +08:00
TreeHugger Robot
ae40f0018c Merge "Update scanning settings to show states in summary" 2018-12-08 09:32:19 +00:00
TreeHugger Robot
625646a55c Merge "Add a helper class for filtering available subscriptions" 2018-12-08 01:13:24 +00:00
TreeHugger Robot
31c24d842f Merge "Modified the shadow of the search bar" 2018-12-08 00:51:18 +00:00
Lifu Tang
bee747173f Update scanning settings to show states in summary
Bug: 120220144
Test: build, flash, and test manually
Change-Id: I913d93c2f41e5ffea1d0b9c00d519eba327a0832
2018-12-07 16:11:53 -08:00
Antony Sargent
b33f74192c Add a helper class for listening to subscription and airplane mode changes
For the new multi subscriptions UX, in several places we need to listen
for both subscription changes (eg a sim card was inserted or removed),
as well as airplane mode changing state. This combines those in one
helper class that can be reused.

Bug: 116349402
Test: make RunSettingsRoboTests
Change-Id: Ibcbb669ae291a917f89735dbda043742efaa58c9
2018-12-07 15:40:00 -08:00
Antony Sargent
270296ea23 Add a helper class for filtering available subscriptions
In several places implementing the new changes for better UX with
multiple mobile subscriptions, we need a bit of code that filters the
results coming from the SubscriptionManager. This CL adds that common
code in a util class that will be used in later CLs.

Bug: 116349402
Test: RunSettingsRoboTests
Change-Id: Ie9376629604ac2c4a2f15123edc380c5999f2f83
2018-12-07 13:40:28 -08:00
Tim Van Patten
50f700f1d6 Update ANGLE Developer Options
Update ANGLE developer options to allow selecting the OpenGL driver
(default, ANGLE, native) for each app as well as forcing ANGLE for all
apps.

The settings are also being moved from within the Android settings (here)
to the ANGLE APK, so they can be updated more quickly/easily.

Bug: 118384925
Test: Verify the default/ANGLE/native values are saved and applied and
used by the loader.

Change-Id: Ide449704dd703657bd316231987a07becf8699c9
2018-12-07 21:06:32 +00:00
Fan Zhang
3e107469aa Add a loading text when waiting for wifitracker results
- When there is no result from background worker, a "scanning" text is
displayed instead of a totally empty card.

- Also cleaned up a few minor coding style issues

Change-Id: I73afdb1dd72e7accb387ad9aa493cfbe00bffe66
Fixes: 120051186
Test: robotests
2018-12-07 12:48:31 -08:00
Sunny Shao
5eec4ef7a9 Modified the shadow of the search bar
Modified the SearchBarStyle and added cardElevation and
enforceMaterialTheme attributes.

Bug: 118886724
Test: manual
Change-Id: If9f39ee5dcc85d837036391ae92aeedd6aea4ab6
2018-12-08 04:19:51 +08:00
TreeHugger Robot
34668b6494 Merge "Don't plot usage data beyond current date." 2018-12-07 19:24:43 +00:00
TreeHugger Robot
c8580f3a36 Merge "Update the strings of conditional card" 2018-12-07 17:08:19 +00:00
TreeHugger Robot
a0d2adf198 Merge "Reload data if slice binding returns null at rendering time." 2018-12-07 17:02:11 +00:00