Commit Graph

22170 Commits

Author SHA1 Message Date
Fan Zhang
947a673f74 Remove more wrappers
- WallpaperManagerWrapper
- UserManagerWrapper

Bug: 76167422
Test: robotests
Change-Id: I3ca866089082e01f1e9d7a4554387962f45a5437
2018-04-02 16:51:40 -07:00
TreeHugger Robot
2a51657c8e Merge "Expand isAvailable to include DISABLED_DEPENDENT" into pi-dev 2018-04-02 23:49:22 +00:00
Fan Zhang
bf0a17a90b Merge "Remove wrapper for device policy manager" into pi-dev am: e35e00712c
am: 4d91ea3036

Change-Id: If7baa937eda42db42cc5161c195f8da56677f06e
2018-04-02 22:30:37 +00:00
Lei Yu
d5dceb7d5c Merge changes Ib497aca6,Ic6def54a into pi-dev am: 5e8a0e2436
am: fc6f4e05da

Change-Id: I44510b8dd49325b913d0d7ad82ceb844f3d98886
2018-04-02 22:29:29 +00:00
Salvador Martinez
49d0d7b492 Merge "Update auto wi-fi to prompt user for permissions" into pi-dev am: 27587f7884
am: 3903f787e9

Change-Id: Ia5f05b32874ec93019fad725bb78d1adae922e4b
2018-04-02 22:27:49 +00:00
TreeHugger Robot
e1549f0af1 Merge "MagnificationPreferenceFragment use DashboardFragment" into pi-dev 2018-04-02 22:25:04 +00:00
Jyun LuoLai
6c5c6d7c22 Merge "Let battery status icon has consist UI in PowerSummaryPage" into pi-dev am: ab19293cf4
am: 6b0a77647c

Change-Id: I2fffa4d581d527b302056e2535f496e62ed1c272
2018-04-02 21:44:35 +00:00
rafftsai
807506b166 MagnificationPreferenceFragment use DashboardFragment
- Move preference related logic to Controller
- Add settings:controller in xml file

Bug: 73899467
Test: manual
Test: make RunSettingsRoboTests

Change-Id: I3eaccc617c4408f50110bf1f5df3482f491f7393
Signed-off-by: rafftsai <rafftsai@android.com>
2018-04-02 13:18:58 -07:00
TreeHugger Robot
e9c8a73607 Merge "Add registry for PreventRingingGestureSettings" 2018-04-02 19:22:30 +00:00
Matthew Fritze
8c48defb52 Expand isAvailable to include DISABLED_DEPENDENT
isAvailable will now return true when getAvailabilityStatus
returns DISABLED_DEPENDENT_SETTING. This is because the setting
should be displayed in the Fragment even if it has a dependent setting,
which matches existing behaviour. Slices will still display the warning
slice without inline content, where the main action brings you to the
setting page. For now, we have to assume the user will be able to figure
out how to enable the setting. In Q, we would like to build a more
intelligent flow so that we can prompt or even help the user fix the
dependency (we just ran out of time in P).

The only setting that had previously used DISABLE_DEPENDENT_SETTING
was a developer option.

Change-Id: I1f774a2e09cb60de01388cf6c35785c8b5dea176
Fixes: 77334915
Test: robotests
2018-04-02 11:59:40 -07:00
Pengquan Meng
519009d3ed Fixed ApnEditor issue
The mainly changed:
1. Will not insert invalid apn data to database.
2. Clicking back button will save the APN data to database if the data is valid.

Test: make ROBOTEST_FILTER=ApnEditorTest -j40 RunSettingsRoboTests
Bug: 73745458
Bug: 67327863
Merged-In: Ie2c147cae03ad78d43c351e05add761b2dffac0c
Change-Id: Ie2c147cae03ad78d43c351e05add761b2dffac0c
(cherry picked from commit f39ef85653)
2018-04-02 18:53:53 +00:00
Pengquan Meng
811a0ad404 Merge "Fixed ApnEditor issue" 2018-04-02 18:52:31 +00:00
TreeHugger Robot
e35e00712c Merge "Remove wrapper for device policy manager" into pi-dev 2018-04-02 18:45:53 +00:00
TreeHugger Robot
5e8a0e2436 Merge changes Ib497aca6,Ic6def54a into pi-dev
* changes:
  Make anomaly jobs persistent.
  Update job ids in Settings
2018-04-02 16:44:51 +00:00
Julia Reynolds
78756b1880 Add app info notification summary
Test: make -j RunSettingsRoboTests
Change-Id: I803b473d994dff4ec8591c43452820b0e702ea0e
Fixes: 72442731
2018-04-02 09:52:20 -04:00
Chalard Jean
42405603c7 Move the Private DNS dialog back to the top level.
Bug: 64133961
Fixes: 74844869
Test: visual test and interaction
      also updated tests and checked they pass
Change-Id: I7c8d50e5941c2a7dd46014932bdace14dc222c80
2018-04-02 09:58:12 +00:00
hylo
ba3fce9559 Add registry for PreventRingingGestureSettings
Register PreventRingingGestureSettings to SearchIndexableResourcesImpl

Change-Id: Idbb9c09f844a327dc1dd865e932ae464db1933ee
Fixes: 77454987
Test: remove @ignore("b/73960706") and make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
2018-04-02 14:06:33 +08:00
TreeHugger Robot
27587f7884 Merge "Update auto wi-fi to prompt user for permissions" into pi-dev 2018-04-02 01:36:37 +00:00
Jyun LuoLai
ab19293cf4 Merge "Let battery status icon has consist UI in PowerSummaryPage" into pi-dev 2018-04-02 01:27:56 +00:00
Fan Zhang
570bd7bb0c Merge "Remove wrappers" into pi-dev am: 1873faefb8
am: cb8a01dd00

Change-Id: I0b7f46ee3ff2626c2a2e3e471b8cd11a9667b21c
2018-03-31 11:14:36 +00:00
TreeHugger Robot
1873faefb8 Merge "Remove wrappers" into pi-dev 2018-03-31 11:00:25 +00:00
Ryan Lin
dbbbb81943 Merge "Add callback onProfileAudioStateChanged()" into pi-dev am: 388907d136
am: a56e1283f3

Change-Id: I314fb7c7b701d28ee8d30fe1d7b35b61eeddc6ad
2018-03-31 10:36:06 +00:00
HJ ChangLiao
53bc8f575f Merge "Wake notifications to TogglePreferenceController" into pi-dev am: 3173e9d103
am: 64b0fbf89e

Change-Id: I69c71e6fc9ebda8f8641f3d6e667a9081eb33ef6
2018-03-31 10:35:22 +00:00
Phil Weaver
4718e8070d Merge "Use touch delegate in SwitchBar" into pi-dev am: 76f24ebbaf
am: 7488609a99

Change-Id: I9b4b39b64d3b0d0d67302c36bae19b8a45f7651d
2018-03-31 09:07:32 +00:00
Fan Zhang
a163b89a60 Merge "Remove FingerprintManagerWrapper" into pi-dev am: d12d8be502
am: 1cc21311ba

Change-Id: Idbf2d8ac48cad365c244e4528c7351f2d385002c
2018-03-31 08:57:54 +00:00
Fan Zhang
a89f53ae32 Merge changes from topic "remove_wrappers" into pi-dev am: e6a18f8105
am: c04dcd01c1

Change-Id: I14e92ac2141c08bb22bd6d88f7159967f60f144c
2018-03-31 07:47:30 +00:00
Sean Stout
b271fdc134 Merge "Improve Night Light suggestion criterion" into pi-dev am: 981569f530
am: eabb4b523b

Change-Id: I4d3fba69a720451dd7e19d56dd3cff8749b0be9f
2018-03-31 07:45:46 +00:00
Fan Zhang
4e21eb78d5 Merge "Remove wrapper class for AutofillManager in Settings" into pi-dev am: e33ff4e97c
am: 57df7c2c59

Change-Id: If736611ced421e396408de5ab575bdad58e8def1
2018-03-31 07:45:06 +00:00
Felipe Leme
21f7f01703 Merge "Final (?!?!?!?!) Directory Access improvements." into pi-dev am: 65499ac2a3
am: 7c719772ee

Change-Id: I9a7081ca92a242b6b96c91047a0024f3a96acc87
2018-03-31 07:44:33 +00:00
Fan Zhang
a38a3728c6 Merge "Remove more wrappers" into pi-dev am: a1c7bd0640
am: 483ad78026

Change-Id: Ic5fc39baf1511bf4b786720e647e66c73d543496
2018-03-31 07:43:57 +00:00
Salvador Martinez
0f9a6d439f Merge "Update add network dialog to not make networks hidden by default" into pi-dev am: 9dc3f74ccf
am: e36aafd230

Change-Id: I1899e6d309bdb6c997cc9846742623cb272a8aab
2018-03-31 07:43:17 +00:00
Salvador Martinez
a90332397b Merge "Make metered wifi controller resilient to null config" into pi-dev am: 861bf93502
am: 0ec10e6a43

Change-Id: I79cf0e83ca9616d27b7f0d06c16f1415f2d91a77
2018-03-31 07:29:21 +00:00
Ryan Lin
388907d136 Merge "Add callback onProfileAudioStateChanged()" into pi-dev 2018-03-31 06:23:26 +00:00
TreeHugger Robot
94bc86c12a Merge "Use colorPrimary for EntityHeader's background." 2018-03-31 06:15:37 +00:00
Fan Zhang
c9827b4918 Remove wrappers
Bug: 76167422
Test: robotests
Change-Id: Ic673fa2aa815b84da4b522dab85aacbeab6e39ec
2018-03-30 22:05:19 -07:00
Fan Zhang
aab36de0d6 Remove wrapper for device policy manager
Bug: 76167422
Test: robotests
Change-Id: I69dc7341cf1ff408bc24c2a062586cef25b7b918
2018-03-30 20:44:20 -07:00
Lei Yu
4e5ec9a9c1 Merge "Remove the obsolete bluetooth code" into pi-dev am: fa150fca3c
am: a5a338dff6

Change-Id: Icbc382b54b4bfe329aa8f2045433885997badf05
2018-03-31 03:35:30 +00:00
Fan Zhang
62b5000647 Merge "Remove networkScorer wrapper" into pi-dev am: 272d3b5096
am: 0cad854925

Change-Id: Ieb6bf1eed2e0877d5223bb45036af42ed6ebd791
2018-03-31 03:34:46 +00:00
Lei Yu
1ad1a29d88 Merge "Update the battery saver summary" into pi-dev am: 97dd3c9aac
am: 5b8c6c39e9

Change-Id: I6584692ea03b6f1c8bea8ceda4693d48d057e9e1
2018-03-31 03:34:11 +00:00
HJ ChangLiao
5621641c41 Wake notifications to TogglePreferenceController
Convert Wake for new notifications to TogglePreferenceController
Because Slice controller only support Constructor(context)
Move other parameter to setAmbientDisplayConfiguration

Change-Id: I01042b84217ad9592fece966374140dffaf813e4
Fixes:67997460
Test: make RunSettingsRoboTests -j
2018-03-31 03:13:41 +00:00
Shaotang Li
aab7756f08 Use colorPrimary for EntityHeader's background.
Bug: 76219670
Test: check color from screen manually.
Change-Id: If13d5cbd2bd7db1c6d9c9f840281601ab78ba267
2018-03-31 11:09:30 +08:00
TreeHugger Robot
76f24ebbaf Merge "Use touch delegate in SwitchBar" into pi-dev 2018-03-31 02:56:16 +00:00
Lei Yu
f1e1fe26e1 Merge "Refine the update process of battery tip" into pi-dev am: 227f056c8b
am: 5072234808

Change-Id: I92a29efd4c58a002c23a5d97f3cba5a581a44212
2018-03-31 02:04:46 +00:00
TreeHugger Robot
d12d8be502 Merge "Remove FingerprintManagerWrapper" into pi-dev 2018-03-31 01:43:34 +00:00
TreeHugger Robot
e6a18f8105 Merge changes from topic "remove_wrappers" into pi-dev
* changes:
  Remove wrapper class for NotificationGroup.
  Remove more wrappers in favor of new Robolectric support
2018-03-31 01:26:16 +00:00
TreeHugger Robot
981569f530 Merge "Improve Night Light suggestion criterion" into pi-dev 2018-03-31 00:35:38 +00:00
Phil Weaver
48736a1819 Use touch delegate in SwitchBar
The entire switch bar is supposed to behave as a switch,
so it had logic for clicking the layout that duplicated
the logic for the switch itself.

I'm removing all of this duplicate logic and using a
TouchDelegate instead.

This preserves the same behavior with much simpler code.
The previous approach led to accessibility being confused
about exactly what was clickable and what would happen
when different items were clicked. Workarounds to deal with
that confusion created other problems. Sweeping all of it
aside and using a TouchDelegate seems way cleaner.

Bug: 75962891
Test: make SettingsRoboTests
Change-Id: I4fe17d581b5294d2482392f75bf1607126cf235d
2018-03-30 17:33:05 -07:00
TreeHugger Robot
e33ff4e97c Merge "Remove wrapper class for AutofillManager in Settings" into pi-dev 2018-03-31 00:28:46 +00:00
TreeHugger Robot
65499ac2a3 Merge "Final (?!?!?!?!) Directory Access improvements." into pi-dev 2018-03-31 00:21:36 +00:00
Pengquan Meng
f39ef85653 Fixed ApnEditor issue
The mainly changed:
1. Will not insert invalid apn data to database.
2. Clicking back button will save the APN data to database if the data is valid.

Test: make ROBOTEST_FILTER=ApnEditorTest -j40 RunSettingsRoboTests
Bug: 73745458
Bug: 67327863
Change-Id: Ie2c147cae03ad78d43c351e05add761b2dffac0c
2018-03-30 16:43:56 -07:00