TreeHugger Robot
032e7c0def
Merge "Add BatterySaver as SettingSlice"
2018-02-21 23:37:35 +00:00
Jerry Zhang
609ece7763
Merge "Add UsbDefaultFragment and tests"
2018-02-21 21:13:03 +00:00
TreeHugger Robot
deb1e57053
Merge "Add Open button to launch instant app."
2018-02-21 20:57:36 +00:00
Fan Zhang
65da3306f6
Merge changes If1b263df,I95afbcf0
...
* changes:
Move instantiation-through-reflection method to controller
Minor cleanup in DashboardFragment: remove unused code
2018-02-21 20:53:49 +00:00
TreeHugger Robot
302cf35914
Merge "Update launch component for work mode condition."
2018-02-21 20:19:59 +00:00
TreeHugger Robot
a0d8315762
Merge "Remove use of forceUpdate."
2018-02-21 20:16:00 +00:00
TreeHugger Robot
b6cae12255
Merge "Change def value for LOW_POWER_MODE_TRIGGER_LEVEL"
2018-02-21 19:55:16 +00:00
Fan Zhang
fc520ee38a
Move instantiation-through-reflection method to controller
...
Bug: 73668763
Test: rerun robotest
Change-Id: If1b263dfd6a8c40f563ce53ce3f368aef5ca5a9f
2018-02-21 11:28:41 -08:00
Matthew Fritze
e8854ec33d
Add BatterySaver as SettingSlice
...
Convert BatterySaverController to TogglePrefController.
This was the first MasterSwitchController, so we needed
to add the preference case to updateState.
Test: Robotests
Change-Id: I32f3dee0b183807c66c19513b8b064af8f369c2a
Fixes: 67996992
2018-02-21 11:27:09 -08:00
Jerry Zhang
502471726a
Add UsbDefaultFragment and tests
...
Replace old USB screen in developer options with
UsbDefaultFragment.
Test: pass
Bug: 62876645
Change-Id: I8428a2814b7e1abd7d0fa9fa9980dbc02cfa0034
2018-02-21 19:16:23 +00:00
Ben Lin
c07124feeb
Merge changes from topic "move-a11y-changes"
...
* changes:
Revert "Add ability to show/hide Color Correction and Color Inversion."
Revert "Add ability to show/hide accessibility_shortcut_preference."
2018-02-21 18:18:57 +00:00
jackqdyulei
da7ac699fb
Change def value for LOW_POWER_MODE_TRIGGER_LEVEL
...
Fixes: 73668682
Test: RunSettingsRoboTests
Change-Id: I2122523c958f12bbdd658ae53d63b00769db3520
2018-02-21 10:08:07 -08:00
Fan Zhang
119ea0f0d1
Merge "Wifi: Restore hidden flag for hidden networks on update network" am: 0138575b8d
am: e1c58570d6
...
am: 935ce87d32
Change-Id: I4ad47e788c1ab591dc82a031ef22dadc65bf8582
2018-02-21 18:04:26 +00:00
Fan Zhang
935ce87d32
Merge "Wifi: Restore hidden flag for hidden networks on update network" am: 0138575b8d
...
am: e1c58570d6
Change-Id: Ice03d80eedf64fb08a12471b22bfdff53b4f934b
2018-02-21 17:55:50 +00:00
Fan Zhang
b297abc1fe
Minor cleanup in DashboardFragment: remove unused code
...
Bug: 73668763
Test: n/a
Change-Id: I95afbcf03987123e4ed8b76efbed299a7beb4448
2018-02-21 09:48:50 -08:00
Fan Zhang
e1c58570d6
Merge "Wifi: Restore hidden flag for hidden networks on update network"
...
am: 0138575b8d
Change-Id: Ifda4b13017d4fc74f6fabfa5f91b3bda9177fb47
2018-02-21 17:47:12 +00:00
Fan Zhang
0138575b8d
Merge "Wifi: Restore hidden flag for hidden networks on update network"
2018-02-21 17:36:06 +00:00
TreeHugger Robot
8cd17cba39
Merge "Push app icon 4 dp to the right."
2018-02-21 07:09:32 +00:00
TreeHugger Robot
28188cdd21
Merge "Move xmlParserUtils to core"
2018-02-21 03:34:37 +00:00
TreeHugger Robot
931f305121
Merge "Update suggestion/condition UI"
2018-02-21 03:13:46 +00:00
Fan Zhang
e8afdb819f
Merge "Convert VibrationSettings to DashboardFragment."
2018-02-21 02:18:56 +00:00
Doris Ling
34200fb19e
Update launch component for work mode condition.
...
- start accounts dashboard instead of users settings.
Change-Id: I1365e6c32ac3de23c24b75e33262957e4a4224a9
Fixes: 73651609
Test: make RunSettingsRoboTests
2018-02-20 17:43:46 -08:00
Fan Zhang
1ac5a01253
Move xmlParserUtils to core
...
This class is currently used by both search and slice, in the future
will be used by DashboardFragment to build controller list. So the scope
of this class is beyond search now.
Test: rerun robotests
Change-Id: If43ebca065aac31ad24f95a94bfe5be784109605
2018-02-20 17:43:28 -08:00
Fan Zhang
b36c071003
Push app icon 4 dp to the right.
...
- This makes the icon for AppPreference center aligned.
Change-Id: I2624f376d7637fe49b8bc629e87cb55c3b6271cd
Fixes: 72710732
Test: visual
2018-02-20 17:39:05 -08:00
TreeHugger Robot
46b8ef9b7a
Merge "Put Security-related controllers into a PreferenceCategoryController."
2018-02-21 01:08:31 +00:00
Fan Zhang
6ccc81818d
Convert VibrationSettings to DashboardFragment.
...
- DashboardFragment integrates Slices and settings search better than
SettingsPreferenceFragment, and is more testable.
Test: robotests
Change-Id: I5f73836f94712c03521eac6b3f67964524381078
2018-02-20 16:20:59 -08:00
Fan Zhang
3befdd2c54
Merge "Fix search highlight"
2018-02-20 23:38:46 +00:00
Doris Ling
5b3332547a
Update suggestion/condition UI
...
- reduce top padding for suggestion container
- match condition card corner radius with suggestion card.
- change condition card background color to white
- update suggestion title font from medium to regular.
Change-Id: I0267b37822facf4bd389e2b21c47a1fcf0d00264
Fixes: 70573674
Test: visual
2018-02-20 15:30:47 -08:00
Doris Ling
f9ab8ea7bd
Add Open button to launch instant app.
...
- move logic from InstantAppButtonsController into
InstantAppButtonsPreferenceController, as it is not really necessary to
have separate control to be in different class.
- add logic to check if the instant app provides a default launch uri.
If so, show a Open button to launch the uri, and move the Install
button into option menu. If not, Install button remains as is.
- also update the instant app button layout to match the regular 2
buttons layout.
Change-Id: Ibcae780ad697ca93a48604b03c8f4600dd3c0472
Fixes: 69562807
Test: make RunSettingsRoboTests
2018-02-20 21:43:46 +00:00
Fan Zhang
72456a9ea6
Fix search highlight
...
- Fragments should not have advanced button when coming from search.
Change-Id: I10a192216b7ff702e73b791acbcc1eb1d71cb407
Fixes: 73348428
Test: robotests
2018-02-20 13:19:26 -08:00
TreeHugger Robot
c26ea56fe4
Merge "Get rid of direct usage of Utils.onBuildStartFragmentIntent"
2018-02-20 21:03:04 +00:00
Fan Zhang
e5b8a5b24f
Merge changes I34732bdb,Ieafd3be6
...
* changes:
Remove some unused code
Remove unused slice metadata
2018-02-20 20:02:29 +00:00
TreeHugger Robot
87e71c96ea
Merge "Update FakeUid for new methods"
2018-02-20 18:52:24 +00:00
Fan Zhang
deec75fa9d
Remove some unused code
...
Bug: n/a
Test: rebuild
Change-Id: I34732bdbf59d8380bef50f9a5da8b974375ea345
2018-02-20 10:18:54 -08:00
Bill Yi
a9a6c820fb
Import translations. DO NOT MERGE am: 3b4a3e0a0f
-s ours
...
am: 1bc57cbf3c
-s ours
Change-Id: I153443f06806810009bf5bc735104471df8ab98b
2018-02-20 18:16:41 +00:00
Bill Yi
1bc57cbf3c
Import translations. DO NOT MERGE
...
am: 3b4a3e0a0f
-s ours
Change-Id: I68a6f27af09691e2a27712ecab8c876f5eb26283
2018-02-20 18:09:10 +00:00
TreeHugger Robot
6116740c29
Merge "Import translations. DO NOT MERGE"
2018-02-20 18:05:49 +00:00
TreeHugger Robot
99b22304c0
Merge "Migrate more places to subsetting launcher"
2018-02-20 17:57:53 +00:00
Fan Zhang
bcf50e3407
Remove unused slice metadata
...
Bug: n/a
Test: n/a
Change-Id: Ieafd3be6418e9b9217e0c56094d7ee4a8fcff851
2018-02-20 09:57:42 -08:00
Fan Zhang
1f6d24a991
Get rid of direct usage of Utils.onBuildStartFragmentIntent
...
Change-Id: I87eb97d6da4cd4f99be5bcdb1e3e245eb1c7bd1c
Fixes: 73250851
Test: robotests
2018-02-20 09:42:31 -08:00
Lei Yu
32876ff6d2
Merge "Change the order of battery tips"
2018-02-20 17:06:18 +00:00
Narayan Kamath
b61f89d268
Merge "Remove uses of libcore.util.Objects.hashCode / equals."
2018-02-20 13:55:53 +00:00
Bill Yi
3b4a3e0a0f
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Bug: 64712476
Change-Id: I1e41ebfa49aad56d5fad9889dcea6f487457400d
2018-02-20 00:57:01 -08:00
Bill Yi
8f63f86270
Import translations. DO NOT MERGE
...
Change-Id: I2b9dfc6b51a0a18e420e9dcee21b7fc466ae458c
Auto-generated-cl: translation import
2018-02-19 23:57:46 -08:00
Anurag Das
f44da638bd
Wifi: Restore hidden flag for hidden networks on update network
...
Currently when user modifies any of the network parameter for hidden
networks, hidden flag is not updated. As a result this network is no
longer part of hidden networks, we are unable to reconnect when user
triggers wifi off and on.
This commit sets the value of hiddenSSID flag of config at the Settings
side on network update.
Test: manual test with hidden access point
Bug: 73256783
Change-Id: Ic20f03345645d8bf3bc9c3ff44910dd3f2797fec
2018-02-20 06:56:09 +00:00
TreeHugger Robot
8d9dc9a642
Merge "Migrate more settings to SubSettingsLauncher"
2018-02-19 23:11:09 +00:00
Fan Zhang
47854c2945
Migrate more places to subsetting launcher
...
Bug: 73250851
Test: robotests
Change-Id: Iaf29df45ddb42fd58f181cb01e10998a97cb7c34
2018-02-19 14:21:05 -08:00
Fan Zhang
be45f9c865
Migrate more settings to SubSettingsLauncher
...
Bug: 73250851
Test: robotests
Change-Id: I4100bef20e2ed477e4e31c9b7816f1b03f3f2809
2018-02-19 13:36:57 -08:00
TreeHugger Robot
9e585190d4
Merge "Migrate more settings to SubSettingLauncher"
2018-02-19 20:18:01 +00:00
Narayan Kamath
facb59a13f
Remove uses of libcore.util.Objects.hashCode / equals.
...
Use public API in java.util.Objects instead.
Test: make
Change-Id: I2644164cc8ae5a6a25339abf7f2ed6e1c428c4ac
2018-02-19 14:09:56 +00:00