Commit Graph

45256 Commits

Author SHA1 Message Date
Ivan Chiang
8efbe6e255 Merge "Add DockUpdaterFeatureProvider and DockUpdater." into pi-dev am: 820a26c6bd
am: e7f3afba9d

Change-Id: I0b1e8dd9f23b2077051341a991f309ace42cbb34
2018-04-25 12:43:01 -07:00
Ivan Chiang
e7f3afba9d Merge "Add DockUpdaterFeatureProvider and DockUpdater." into pi-dev
am: 820a26c6bd

Change-Id: Ie77ac8eb096ebfa37445233481ad31d9511c1b7e
2018-04-25 12:36:25 -07:00
TreeHugger Robot
820a26c6bd Merge "Add DockUpdaterFeatureProvider and DockUpdater." into pi-dev 2018-04-25 19:21:56 +00:00
hjchangliao
98015e7c93 Merge "Make Nfc/Beam searchable based on feature availability" into pi-dev am: dc09b3ff49
am: f549cd1e05

Change-Id: Ied4f01787aec0cf8f261483e942615abd1889918
2018-04-25 10:23:11 -07:00
Doris Ling
4333ac1e2e Merge "Fixes crash in security settings." into pi-dev am: abe44c2674
am: c7494be56e

Change-Id: I06db8956a4cb67aa650b7b32dab1c83130d7a97a
2018-04-25 10:22:36 -07:00
hjchangliao
f549cd1e05 Merge "Make Nfc/Beam searchable based on feature availability" into pi-dev
am: dc09b3ff49

Change-Id: I3574ef8d49987b0b94bb2641d15cbf782772e5f7
2018-04-25 10:16:41 -07:00
Doris Ling
c7494be56e Merge "Fixes crash in security settings." into pi-dev
am: abe44c2674

Change-Id: I6d0730a148fbfecaaa4b94e376550af613ad174b
2018-04-25 10:16:05 -07:00
TreeHugger Robot
dc09b3ff49 Merge "Make Nfc/Beam searchable based on feature availability" into pi-dev 2018-04-25 17:13:48 +00:00
hjchangliao
1ff466675d Make Nfc/Beam searchable based on feature availability
Update logic of updateNonIndexableKeys,
in BaseNfcPreferenceController to fix issue.
Add robotest to avoid same problem.

Change-Id: I1de5324b5a7147ff58e3c366ee7e8cf858e3283c
Fixes: 78540155
Test: make RunSettingsRoboTests
2018-04-25 17:12:33 +00:00
Doris Ling
abe44c2674 Merge "Fixes crash in security settings." into pi-dev 2018-04-25 17:05:18 +00:00
Fan Zhang
ca44caa663 Merge "Update brightness percentage display logic to match sysui." into pi-dev am: 69d12406f0
am: e9045a7a41

Change-Id: I20c27b31caa7a44b6d114780a0b7b18206f75d12
2018-04-25 08:25:54 -07:00
Fan Zhang
e9045a7a41 Merge "Update brightness percentage display logic to match sysui." into pi-dev
am: 69d12406f0

Change-Id: I9e209e042b129f9c1e92878c11ec6affa4e40ccb
2018-04-25 08:14:28 -07:00
TreeHugger Robot
69d12406f0 Merge "Update brightness percentage display logic to match sysui." into pi-dev 2018-04-25 15:07:32 +00:00
caxtonchan
8118c8d7d0 Merge "Hide the audio switcher if it is not relevant" into pi-dev am: 3f5444b9e4
am: 67d44d9d61

Change-Id: I36b249159ef8d0a6d099ba776c5d682ea596e5e3
2018-04-24 21:04:45 -07:00
caxtonchan
67d44d9d61 Merge "Hide the audio switcher if it is not relevant" into pi-dev
am: 3f5444b9e4

Change-Id: Ie376aafe5ebfff928e5011ac772f5faaeb494c0d
2018-04-24 20:54:43 -07:00
TreeHugger Robot
3f5444b9e4 Merge "Hide the audio switcher if it is not relevant" into pi-dev 2018-04-25 03:42:17 +00:00
Salvador Martinez
811de70915 Merge "Check if boxes still available when restoring state" into pi-dev am: 6fcce25b72
am: f6d5f31564

Change-Id: I8b59411b62292b8f65a62f60bde8981c66f3401a
2018-04-24 19:13:32 -07:00
Salvador Martinez
f6d5f31564 Merge "Check if boxes still available when restoring state" into pi-dev
am: 6fcce25b72

Change-Id: Ia85fbd3b5068f739254fae45403fdf2f4b45f595
2018-04-24 19:08:51 -07:00
TreeHugger Robot
6fcce25b72 Merge "Check if boxes still available when restoring state" into pi-dev 2018-04-25 02:00:48 +00:00
TreeHugger Robot
a94f9175c0 Merge "Fix a incorrect class cast in GameControllerPreferenceCtrl" 2018-04-25 01:36:51 +00:00
caxtonchan
458fb2319f Hide the audio switcher if it is not relevant
Bug: 78317337
Test: make RunSettingsRoboTests
ROBOTEST_FILTER="AudioOutputSwitchPreferenceControllerTest" -j28
ROBOTEST_FILTER="MediaOutputPreferenceControllerTest" -j28
ROBOTEST_FILTER="HandsFreeProfileOutputPreferenceControllerTest" -j28

Change-Id: I9824941cf410b26ad166aa163d7cccd3bfc31a06
2018-04-25 01:34:42 +00:00
Fan Zhang
7d7a9b1837 Fix a incorrect class cast in GameControllerPreferenceCtrl
Also convert the controller to TogglePrefCtrl, and register it in xml.

Change-Id: Ifbc95364b47690117b2875cba1cdc4761ad205be
Bug: 71972185
Test: make RunSettingsRoboTests
2018-04-25 00:33:22 +00:00
Doris Ling
70206e6ff2 Fixes crash in security settings.
- save the loaded icon drawable to a local var, instead of setting it to
the tile.icon and later reset it, so that we will not run into the issue
that the icon will become null when this is called multiple times.

Change-Id: I0fc73961986cddd97ad1e74b0609ac47d011cc87
Fixes: 78445923
Test: make RunSettingsRoboTests
2018-04-24 16:54:42 -07:00
Doris Ling
17ca0975d3 Fix Data warning title not translated. am: 1cf0dfd3b2
am: 432ff5e455

Change-Id: I22bdb65a2d91b1992a4890a1fdca6a01fca925aa
2018-04-24 15:55:40 -07:00
Doris Ling
432ff5e455 Fix Data warning title not translated.
am: 1cf0dfd3b2

Change-Id: I8bb8187c3a70afbaa32674e56c4ede29b503b1e8
2018-04-24 15:44:52 -07:00
Doris Ling
1cf0dfd3b2 Fix Data warning title not translated.
- change to use the title resource id instead of getting the title from
the preference, so that it can react to language change properly.

Change-Id: I7f4b3c49ef1622b3d90bf035597742cac6f7af3c
Fixes: 78318536
Test: run i18nscreenshots
2018-04-24 13:42:19 -07:00
Fan Zhang
1346b066bd Update brightness percentage display logic to match sysui.
The brightness raw value is in linear pace, we need to convert
it to gamma space to make it match the way sysui represents the
brightness level.

Bug: 73810208
Change-Id: Ic4551bbeff4a6af30f7af2871a79a7d797279edb
Fixes: 78173473
Test: robotests
2018-04-24 12:10:46 -07:00
HJ ChangLiao
7cd4cc9c61 Merge "Add intent receiver in BatterySaverCondition" into pi-dev am: 465f6da15b
am: f1a94be5d4

Change-Id: I2f04be621d0a121cfc51e6fefa02a493426172ad
2018-04-24 10:35:46 -07:00
HJ ChangLiao
f1a94be5d4 Merge "Add intent receiver in BatterySaverCondition" into pi-dev
am: 465f6da15b

Change-Id: Ie34ee8d62197bf7e4cfb2e25d5ff71445f2aa9a4
2018-04-24 10:23:56 -07:00
TreeHugger Robot
465f6da15b Merge "Add intent receiver in BatterySaverCondition" into pi-dev 2018-04-24 17:19:52 +00:00
Rubin Xu
032bdf4f84 Merge "Switch to new checkPasswordHistory method" into pi-dev am: 4a1b84e613
am: 399675408d

Change-Id: I53198b254e2e93aee0ab8a7e980e46bd20745e05
2018-04-24 06:33:31 -07:00
Rubin Xu
399675408d Merge "Switch to new checkPasswordHistory method" into pi-dev
am: 4a1b84e613

Change-Id: Ife2084277acf19f93352e23eae82eb38519a8be1
2018-04-24 06:23:16 -07:00
TreeHugger Robot
4a1b84e613 Merge "Switch to new checkPasswordHistory method" into pi-dev 2018-04-24 13:06:57 +00:00
HJ ChangLiao
3b7f08d1ee Add intent receiver in BatterySaverCondition
Receive ACTION_POWER_SAVE_MODE_CHANGING
to listen state and update immediately.

Change-Id: Iff2ebb262d95f43d0c970b32f326e3a3e6981a2a
Fixes: 78104542
Test: make RunSettingsRoboTests
2018-04-24 11:12:29 +08:00
George Huang
bb2c8a3147 Merge "Fix RTL alignmnet of "eSIMs" in "Erase all data" page." 2018-04-24 02:28:35 +00:00
Doris Ling
d63e19aa1d Fix footer text not translated in Magnification settings. am: b0877b390d
am: 84506b36c5

Change-Id: Iab1c7df7fb56b76f3dcacc13608d23bbdcfeda51
2018-04-23 19:00:53 -07:00
Doris Ling
84506b36c5 Fix footer text not translated in Magnification settings.
am: b0877b390d

Change-Id: I3ad2795e60b3f2147f9611b54b014aa491077ce7
2018-04-23 18:49:08 -07:00
Doris Ling
b0877b390d Fix footer text not translated in Magnification settings.
- pass in the summary res id instead of the actual text when building
the launch bundle for the magnification settings.
- remove the title argument as we are passing the title res already,
which takes precedence.

Change-Id: I4ba624e1d9722aa980ea94c306df9a015a159555
Fixes: 78126057
Test: run i18nscreenshots
2018-04-23 17:07:32 -07:00
Salvador Martinez
be6a844a06 Check if boxes still available when restoring state
Apparently when the device is idle long enough the system will clean
up the dialog view for the hotspot band preference. This will cause
restore state to fail once it decides to pause the activity. To avoid
this we should make sure the boxes are not null.

Test: robotest
Bug: 78445411
Change-Id: I2a82b01f894f62be6c5209c78faddc4089aa6301
2018-04-23 17:07:29 -07:00
TreeHugger Robot
ddd0f98c75 Merge "Use entity header to show account name in sync detail page" 2018-04-23 23:35:23 +00:00
TreeHugger Robot
5f1a6a94cb Merge "Create a new string for keyboard disconnected state" 2018-04-23 23:00:37 +00:00
Fan Zhang
11e8d2f293 Use entity header to show account name in sync detail page
Also removed a bunch of outdated layout and drawables.

Change-Id: I38094d72b84fab1309163f641c4019349f5d6ee7
Fixes: 77657624
Test: visual
2018-04-23 15:25:32 -07:00
Salvador Martinez
f0fce68a9b Merge "Disable hidden network spinner on existing networks" into pi-dev am: ac951a69aa
am: 062dbc2054

Change-Id: I29b27335730594d70805a14ac74d948d6dbef509
2018-04-23 15:11:47 -07:00
Fan Zhang
ee3b74a61f Create a new string for keyboard disconnected state
Change-Id: I454bbb3b8e0ee22c0f7a5a340b86dfd5607de86e
Fixes: 77957016
Test: robotests
2018-04-23 14:59:19 -07:00
TreeHugger Robot
7f48b1293a Merge "TrustAgentSettings use DashboardFragment" 2018-04-23 21:57:05 +00:00
Salvador Martinez
062dbc2054 Merge "Disable hidden network spinner on existing networks" into pi-dev
am: ac951a69aa

Change-Id: I2fcd1b9dbd807dee783ea0027ab7c9b8e2ff369e
2018-04-23 14:55:19 -07:00
TreeHugger Robot
ac951a69aa Merge "Disable hidden network spinner on existing networks" into pi-dev 2018-04-23 21:38:55 +00:00
Lei Yu
1ddcf81ddc Update insert method for battery database am: 4bfbaa6047
am: 71dca7d131

Change-Id: Id7d1247efd12ead31584e46126108b5370bd1101
2018-04-23 14:37:30 -07:00
Lei Yu
8ae849a8a6 Add primary key for anomaly database. am: 0fcddc77c7
am: 8870486f65

Change-Id: Ic89ea460dd33f740b3c7fe66cd0cbdd4de84e1ad
2018-04-23 14:37:11 -07:00
Lei Yu
71dca7d131 Update insert method for battery database
am: 4bfbaa6047

Change-Id: I69bed4d6ae38dc101878e342e14aa33199f2e810
2018-04-23 14:28:14 -07:00