601054ce6a6a2ed8a0f423c465275e5e20630aa8 |
|
02-Mar-2018 |
Maggie <yiranwang@google.com> |
Fix switch bar in location settings When user rotates the device in location settings, the swtich bar with "Use Location" is gone. This change fixes the problem. Also, remove override getInitialExpandedChildCount() in LocationSettings. We will use nested PreferenceCategory instead once the support is ready. Bug: 73872033 Bug: 70843646 Test: Manual Change-Id: I343b549398ef2b3d64ca7962b5f2a4ef0441c7f5
/packages/apps/Settings/src/com/android/settings/location/LocationSwitchBarController.java
|
85e2f61b2d349125e4bd5d7677cfa09ba09983ca |
|
05-Jan-2018 |
Maggie <yiranwang@google.com> |
Remove location_modes_previous references 1. Remove reference to LOCATION_MODE_PREVIOUS. 2. Add setLocationEnabled method in LocationEnabler. When turning location ON/OFF from Settings app or Quick Settings, use LocationEnabler.setLocationEnabled() instead of setLocationMode(). 3. Change unit tests accordingly. Bug: 70990911 Test: Robolectric Test: Manual Change-Id: Ic02ef3cd02f9aa7d2ef18697b19b507575aaf5c2
/packages/apps/Settings/src/com/android/settings/location/LocationSwitchBarController.java
|
9ed29a2e57bb6e0ad1626afdfb0517ba643ccc9f |
|
03-Nov-2017 |
Doris Ling <dling@google.com> |
Convert location settings to DashboardFragment. - change LocationMode, LocationSettings, and ScanningSettings to be DashboardFragment. - remove LocationSettingsBase and moved base logics into base controller. - add controllers for the preferences under the 3 location settings pages. Fixes: 68719207 Test: make RunSettingsRoboTests Change-Id: Icedf691c2a9f7989faebee39ea9da672209b7957
/packages/apps/Settings/src/com/android/settings/location/LocationSwitchBarController.java
|