Commit Graph

45297 Commits

Author SHA1 Message Date
TreeHugger Robot
d73d3a8f55 Merge "Remove more wrappers" into pi-dev 2018-04-03 02:07:17 +00:00
Matthew Fritze
749728094f Merge "Expand isAvailable to include DISABLED_DEPENDENT" into pi-dev
am: 2a51657c8e

Change-Id: Ia0ca751bebd46c81a0879ba2f518ac081a7ab3d0
2018-04-02 18:06:00 -07:00
Jean-Michel Trivi
32cf7ea45c Sound: VolumeSeekBarPreference must observe min vol index
The volume sliders must observe the minimum volume stream
  index, not just the maximum.

Bug: 74985293
Test: try to mute alarms through UI and fail
Change-Id: Icc5173898eb951239d02f5822239085f1ec3fc9a
2018-04-02 18:05:54 -07:00
rafftsai
9d4f21140c Merge "MagnificationPreferenceFragment use DashboardFragment" into pi-dev
am: e1549f0af1

Change-Id: I10d7a92fabf1f1c6ca7fba2ed0ef78c728e34840
2018-04-02 17:59:52 -07:00
Pengquan Meng
7a1c93dcf3 Move apn settings to network
This is a clean up CL, move the apn settings related class from settings'
root to network's directory.

Bug: 77339683
Test: make ROBOTEST_FILTER=ApnEditorTest -j40 RunSettingsRoboTests
Change-Id: I751a6c2a27c9a1e08d7308407d75ccb355f295aa
2018-04-02 17:27:56 -07:00
Fan Zhang
01cfb9d8c5 Remove wrapper for ConnectionManager/IPackageManager
Bug: 76167422
Test: robotests
Change-Id: I5f051b0ce58b97a3cfd5d4bae469463dcd6d83ac
2018-04-02 17:09:10 -07:00
Pengquan Meng
572f658ce5 Fixed ApnEditor issue
am: 519009d3ed

Change-Id: Idab921debf4a00895e5c93766327bf91b40864c0
2018-04-02 23:55:33 +00:00
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
Salvador Martinez
cdaf7f2c32 Update color whitelist for check color repohook am: 38c4b38740
am: f6812242e4

Change-Id: If8e4b2c0140d559b0c8b024f18025ae530322b29
2018-04-02 22:29:55 +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
Lei Yu
739c68c369 Merge "Update the battery string." into pi-dev am: 43a325dd05
am: 3dbdb27605

Change-Id: If997f4feac5446310ab8e98091ea40b65aa5256c
2018-04-02 21:56:11 +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
Fan Zhang
4d91ea3036 Merge "Remove wrapper for device policy manager" into pi-dev
am: e35e00712c

Change-Id: I2b10893350176f34604d1a9dfeb9c5a6256a5842
2018-04-02 21:35:55 +00:00
Salvador Martinez
f6812242e4 Update color whitelist for check color repohook
am: 38c4b38740

Change-Id: I6667de2d1b0520c5291cd6f3efe081d81a800e3c
2018-04-02 21:31:42 +00:00
Lei Yu
fc6f4e05da Merge changes Ib497aca6,Ic6def54a into pi-dev
am: 5e8a0e2436

Change-Id: Iaf656a0a6600e5907a7272b1c6e12e2b3a58fd06
2018-04-02 21:24:24 +00:00
Salvador Martinez
3903f787e9 Merge "Update auto wi-fi to prompt user for permissions" into pi-dev
am: 27587f7884

Change-Id: I9c171a39c3594641f46f53a789e383798bae248c
2018-04-02 21:14:15 +00:00
Lei Yu
3dbdb27605 Merge "Update the battery string." into pi-dev
am: 43a325dd05

Change-Id: I8282a986797fdce16673a890d501853348af7123
2018-04-02 20:58:15 +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
Jyun LuoLai
6b0a77647c Merge "Let battery status icon has consist UI in PowerSummaryPage" into pi-dev
am: ab19293cf4

Change-Id: Ifb1c8093929fdc763b90d3a324c875177e654efb
2018-04-02 19:55:09 +00: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
Salvador Martinez
38c4b38740 Update color whitelist for check color repohook
It is blocking cl's being uploaded due to someone skipping the
repo-hooks.

Test: Can build and upload CL's
Bug: 77478756
Change-Id: I3ae4212fb06a5b82c0afe57dcd839f5a55583cce
2018-04-02 11:32:06 -07:00
Android Build Merger (Role)
1990791bfe [automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: 4f58c19afa am: e25ebddfdc am: ee220e0238 am: 7b2b84c617 skipped: b1f00ebf9c
Change-Id: I4f02817d60b302e068caadd21ef4555f5f7d9221
2018-04-02 17:48:50 +00:00
Android Build Merger (Role)
b1f00ebf9c [automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: 4f58c19afa am: e25ebddfdc am: ee220e0238 am: 7b2b84c617
Change-Id: I23c3c75844ff136521f67f94d4d911a44571ae07
2018-04-02 17:48:48 +00:00
Android Build Merger (Role)
7b2b84c617 [automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: 4f58c19afa am: e25ebddfdc am: ee220e0238
Change-Id: I3fdb63225079954bace095dc0ddfd78deb372ff8
2018-04-02 17:48:47 +00:00
Android Build Merger (Role)
ee220e0238 [automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: 4f58c19afa am: e25ebddfdc
Change-Id: I5b600093709bf93bb64ccacddeaa3cdf0b470107
2018-04-02 17:48:45 +00:00
Android Build Merger (Role)
e25ebddfdc [automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: 4f58c19afa
Change-Id: Ibaab24729318954dbce44f3ccf53fcb4180ac1c7
2018-04-02 17:48:43 +00:00
Hansong Zhang
4f58c19afa DO NOT MERGE Fix unexpected behavior in Bluetooth pairing
* Set default PBAP permission to false
* Remove all newline and tab characters in Bluetooth device name

Bug: 72872376
Bug: 73173182
Test: manual
Change-Id: Ib3b99017c8da01446ce6302d43dcfb1ef8fba02c
2018-04-02 10:48:18 -07:00
Android Build Merger (Role)
c4127072f4 [automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: ac6c49d2b0 am: 5b98c9f4a3 am: dfe4cc74f7 skipped: d276b38666 am: 5d27bdb6d2 am: bab8dca667 am: 84061c71d1 am: 41be25548e skipped: 74ff24d1c6
Change-Id: Idfc539317dd20a0216bb635fa0e014509d451069
2018-04-02 17:45:11 +00:00
Android Build Merger (Role)
74ff24d1c6 [automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: ac6c49d2b0 am: 5b98c9f4a3 am: dfe4cc74f7 skipped: d276b38666 am: 5d27bdb6d2 am: bab8dca667 am: 84061c71d1 am: 41be25548e
Change-Id: I527b0743bd4b85ddaa7c2bff32523c1876cb8859
2018-04-02 17:45:10 +00:00
Android Build Merger (Role)
41be25548e [automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: ac6c49d2b0 am: 5b98c9f4a3 am: dfe4cc74f7 skipped: d276b38666 am: 5d27bdb6d2 am: bab8dca667 am: 84061c71d1
Change-Id: I1a16852bc9676bf785836576bf034d0a1dc8cf4b
2018-04-02 17:45:08 +00:00
Android Build Merger (Role)
84061c71d1 [automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: ac6c49d2b0 am: 5b98c9f4a3 am: dfe4cc74f7 skipped: d276b38666 am: 5d27bdb6d2 am: bab8dca667
Change-Id: I72b65a7a76c93dff0dd5ffd9c3747c68c0a382e8
2018-04-02 17:45:07 +00:00
Android Build Merger (Role)
bab8dca667 [automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: ac6c49d2b0 am: 5b98c9f4a3 am: dfe4cc74f7 skipped: d276b38666 am: 5d27bdb6d2
Change-Id: I501c5e16642ce2bddb0c5c5e2ed6e0b84fc34029
2018-04-02 17:45:05 +00:00
Android Build Merger (Role)
5d27bdb6d2 [automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: ac6c49d2b0 am: 5b98c9f4a3 am: dfe4cc74f7 skipped: d276b38666
Change-Id: Idf0afa49507f8ead25fd1b59809064f058281076
2018-04-02 17:45:03 +00:00
Android Build Merger (Role)
d276b38666 [automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: ac6c49d2b0 am: 5b98c9f4a3 am: dfe4cc74f7
Change-Id: I69b00aebae95532bf9fe51191b14e12d8948b0bf
2018-04-02 17:45:02 +00:00
Android Build Merger (Role)
dfe4cc74f7 [automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: ac6c49d2b0 am: 5b98c9f4a3
Change-Id: I7c2952f8540db9ee15ceac73bf1a0d73652f5163
2018-04-02 17:45:00 +00:00
Android Build Merger (Role)
5b98c9f4a3 [automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: ac6c49d2b0
Change-Id: Id8ac4a63bd63d0a219364b520211ebae5ad6ea62
2018-04-02 17:44:58 +00:00
Hansong Zhang
ac6c49d2b0 DO NOT MERGE Fix unexpected behavior in Bluetooth pairing
* Set default PBAP permission to false
* Remove all newline and tab characters in Bluetooth device name

Bug: 72872376
Bug: 73173182
Test: manual
Change-Id: I85f5f11c5803c3031bf9a56273c30c3ef305f63d
2018-04-02 10:44:38 -07: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
hylo
14d00bbafd Add afterclass method to remove static field
Some unit tests did not clean their status
So add @after method to fix this issue

Change-Id: I9450714d1133049a87c2287f527f0598eab56041
Fixes: 73960706
Test: make RunSettingsRoboTests
2018-04-02 10:54:55 +08:00