OSDN Git Service
Bill Yi [Sat, 3 Feb 2018 17:59:40 +0000 (09:59 -0800)]
Import translations. DO NOT MERGE
Change-Id: Iedbb92ccb4d0cd12e8516708c8c486e11a2550d3
Auto-generated-cl: translation import
TreeHugger Robot [Sat, 3 Feb 2018 02:34:26 +0000 (02:34 +0000)]
Merge "Unregister broadcast receiver from AppInfoDashboardFragment."
Doris Ling [Sat, 3 Feb 2018 00:13:47 +0000 (16:13 -0800)]
Unregister broadcast receiver from AppInfoDashboardFragment.
- onDestroy() call is missing from the fragment. Added it to unregister
the receiver that listens to the package remover.
Change-Id: I27c67a19e11824116849b769f0a7951b80c40f84
Fixes:
72879457
Test: make RunSettingsRoboTests
TreeHugger Robot [Fri, 2 Feb 2018 23:38:21 +0000 (23:38 +0000)]
Merge "Fix NPE when instantiating SettingsPreferenceFragment"
TreeHugger Robot [Fri, 2 Feb 2018 22:20:09 +0000 (22:20 +0000)]
Merge "Introduce boolean flags to show/hide battery/memory in App info."
TreeHugger Robot [Fri, 2 Feb 2018 21:23:24 +0000 (21:23 +0000)]
Merge "Update suggestion UI"
TreeHugger Robot [Fri, 2 Feb 2018 20:51:32 +0000 (20:51 +0000)]
Merge "Fix VisibleForTesting annotation in AppStateAppOpsBridge"
Ben Lin [Fri, 19 Jan 2018 23:03:59 +0000 (15:03 -0800)]
Introduce boolean flags to show/hide battery/memory in App info.
This adds two flags:
config_show_app_info_settings_memory
config_show_app_info_settings_battery
Which when individually set to false, will hide them item from "App
info" which is accessed from clicking on an application in Apps &
notifications -> App info.
Bug:
62379413
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=com.android.settings.applications
Change-Id: Ifb3b644901728dc7ea04d13198abddaa7b230538
Fan Zhang [Fri, 2 Feb 2018 20:15:37 +0000 (12:15 -0800)]
Fix NPE when instantiating SettingsPreferenceFragment
Change-Id: I3997d6436f358b802dff9be307c36031f4351ab4
Fixes:
72868191
Test: robotests
TreeHugger Robot [Fri, 2 Feb 2018 20:12:43 +0000 (20:12 +0000)]
Merge "Support GLIF v3 for lock screen settings"
TreeHugger Robot [Fri, 2 Feb 2018 19:44:23 +0000 (19:44 +0000)]
Merge "Always show wifi wake setting."
Doris Ling [Wed, 31 Jan 2018 23:05:21 +0000 (15:05 -0800)]
Update suggestion UI
- reduce space above and below the suggestion header
- reduce space around the suggestion cardview
- set the font family for the suggestion header and title.
Change-Id: Ief6247005f1e69fe5025af60f3c9627d357d94a4
Fixes:
72710227
Test: visual
Tony Mantler [Fri, 2 Feb 2018 18:48:03 +0000 (10:48 -0800)]
Fix VisibleForTesting annotation in AppStateAppOpsBridge
Should be PRIVATE (the default) and not NONE since it's called from the
regular constructor for the object.
Bug: Clean-up
Test: Compiles
Change-Id: I9eb8881ed03dcddd1b478e313f5a314b338fccd7
TreeHugger Robot [Fri, 2 Feb 2018 18:41:39 +0000 (18:41 +0000)]
Merge "Add ability to show/hide different device information."
yuemingw [Thu, 1 Feb 2018 17:52:50 +0000 (17:52 +0000)]
Rename DISALLOW_CONFIG_LOCATION_MODE to DISALLOW_CONFIG_LOCATION.
Bug:
72732481
Test: CtsVerifier test already in
Change-Id: I12a0593eba270727808588efc4c42c4e066c9446
Beverly Tai [Fri, 2 Feb 2018 15:27:04 +0000 (15:27 +0000)]
Merge "Zen Condition text and primary click changes"
Jin Dong [Fri, 2 Feb 2018 14:52:58 +0000 (14:52 +0000)]
Merge "Fix memory leak of page "Languages & input"" am:
f94ff6ce6f am:
6d55e0633e
am:
dd91556778
Change-Id: I5fb3f956aab62b5500bfa5d753061980371b41b5
Jin Dong [Fri, 2 Feb 2018 07:09:00 +0000 (07:09 +0000)]
Merge "Fix memory leak of page "Languages & input"" am:
f94ff6ce6f
am:
6d55e0633e
Change-Id: I841c0d095c15849c409b1c1ebb9d47b79b438788
Jin Dong [Fri, 2 Feb 2018 03:55:08 +0000 (03:55 +0000)]
Merge "Fix memory leak of page "Languages & input""
am:
f94ff6ce6f
Change-Id: Ie22f77eff353807e5a24cb6a2317b688f9b70193
TreeHugger Robot [Fri, 2 Feb 2018 01:15:36 +0000 (01:15 +0000)]
Merge "Highlight row (instead of ripple) when come from search."
TreeHugger Robot [Fri, 2 Feb 2018 00:35:42 +0000 (00:35 +0000)]
Merge "Fixes crash from selecting uninstalled app info from recents."
Joe LaPenna [Thu, 25 Jan 2018 18:20:53 +0000 (10:20 -0800)]
Always show wifi wake setting.
Remove WIFI_WAKEUP_AVAILABLE config setting its available by default.
Remove check for NETWORK_RECOMMENDATIONS_ENABLED, the feature no longer
uses the recommender.
Test: make RunSettingsRoboTests RunSettingsLibRoboTests;
Test: atest SettingsBackupTest; manual/exploratory
Bug:
69624403
Bug:
67952636
Change-Id: Ia65f7f9349e77a13ad4af1dbd992b28a5cb16368
Treehugger Robot [Thu, 1 Feb 2018 23:41:43 +0000 (23:41 +0000)]
Merge "Fix memory leak of page "Languages & input""
Doris Ling [Thu, 1 Feb 2018 22:37:25 +0000 (14:37 -0800)]
Fixes crash from selecting uninstalled app info from recents.
- when the package is uninstalled, also remove it from the recent tasks
- move retrieveAppEntry() from onCreate() to getPreferenceControllers()
so that if the package info is invalid, do not create any controllers,
as the activity will be finished anyway.
Change-Id: Ibbfa16e3d1f941a0a200e78ec73a06ca8511f82b
Fixes:
72656345
Test: make RunSettingsRoboTests
Beverly [Thu, 1 Feb 2018 22:12:27 +0000 (17:12 -0500)]
Zen Condition text and primary click changes
- Zen condition in settings has same secondary text as dnd qs tile
- Zen condition's primary click brings user to DND settings instead of
ZenPanel
Test: manual
Change-Id: I0090c09e19376d3aafff45a893485d19cd7b91da
Fixes:
72570739
TreeHugger Robot [Thu, 1 Feb 2018 21:08:51 +0000 (21:08 +0000)]
Merge "Hide "Phone number" from About page if not call enabled."
Fan Zhang [Wed, 31 Jan 2018 22:14:41 +0000 (14:14 -0800)]
Highlight row (instead of ripple) when come from search.
- Moved HighlightableAdapter to its own class
- Replaced ripple with blue background
- Bluebackground only stays for 5 seconds. After that it's replaced by
?attr/selectableBackground
Misc fixes.
- Fix NPE in UserSettings
- Update char limit on a new string
Change-Id: I4687e54e71fd7b9243f520b7630563df58be23d4
Fixes:
71715698
Fixes:
72761974
Test: robotests
TreeHugger Robot [Thu, 1 Feb 2018 19:47:44 +0000 (19:47 +0000)]
Merge "Enforce disallow switch user in user settings"
TreeHugger Robot [Thu, 1 Feb 2018 19:12:35 +0000 (19:12 +0000)]
Merge "Check icon tintable flag of the Suggestion."
TreeHugger Robot [Thu, 1 Feb 2018 18:24:51 +0000 (18:24 +0000)]
Merge "Handle the Settings.DEVICE_NAME_SETTINGS intent."
Alex Chau [Tue, 30 Jan 2018 14:22:50 +0000 (14:22 +0000)]
Enforce disallow switch user in user settings
Disallow the following actions which result in switch user when DISALLOW_USER_SWITCH is set
- Creating guest
- Showing user setup dialog for newly created user
- Clicking uninitialized user preference
Bug:
71694430
Test: CTSVerifier DeviceOwnerPositiveTest - DISALLOW_USER_SWITCH
Test: m -j ROBOTEST_FILTER=UserCapabilitiesTest RunSettingsRoboTests
Test: m -j ROBOTEST_FILTER=AddUserWhenLockedPreferenceController RunSettingsRoboTests
Test: m -j ROBOTEST_FILTER=UserSettingsTest RunSettingsRoboTests
Change-Id: Ia4c7e7b4947bfaf2ebeef4d32a473bdac542d6a6
TreeHugger Robot [Thu, 1 Feb 2018 04:52:34 +0000 (04:52 +0000)]
Merge "Enable the Advanced Connected settings."
Dmitry Shmidt [Thu, 1 Feb 2018 03:25:52 +0000 (03:25 +0000)]
Merge "Fix dev settings crash when no OEM unlock service" am:
44cacaa8f1 am:
f6d960ac31
am:
2ac3120a01 -s ours
Change-Id: I6df41d962d18ba21424dc408340f6eaaa239c095
Daniel Nishi [Thu, 1 Feb 2018 01:45:02 +0000 (17:45 -0800)]
Enable the Advanced Connected settings.
This allows the intent to work. Otherwise, the receiver isn't there.
Change-Id: I0005d451e9fa4565f5a27a83a5464a8db59ef5a8
Fixes:
72764649
Test: Predictive settings test spec manually ran
TreeHugger Robot [Thu, 1 Feb 2018 00:55:32 +0000 (00:55 +0000)]
Merge "Tweak searchbar padding"
Doris Ling [Thu, 1 Feb 2018 00:55:10 +0000 (16:55 -0800)]
Check icon tintable flag of the Suggestion.
- instead of checking the icon resource package, check the icon tintable
flag to see if we should tint the suggestion icon.
Bug:
72330968
Test: make RunSettingsRoboTests
Change-Id: I4767df05bebf815774dbd8e528c7ac0f5b902d44
Dmitry Shmidt [Thu, 1 Feb 2018 00:29:23 +0000 (00:29 +0000)]
Merge "Fix dev settings crash when no OEM unlock service" am:
44cacaa8f1
am:
f6d960ac31
Change-Id: I536daa3948be136524e35e35448df09eaa6ad9da
Dmitry Shmidt [Thu, 1 Feb 2018 00:19:30 +0000 (00:19 +0000)]
Merge "Fix dev settings crash when no OEM unlock service"
am:
44cacaa8f1
Change-Id: Ica60f5411908a8edb34b9263ee8d6d6b4617587b
Dmitry Shmidt [Wed, 31 Jan 2018 23:46:54 +0000 (23:46 +0000)]
Merge "Fix dev settings crash when no OEM unlock service"
Jerry Zhang [Wed, 31 Jan 2018 23:41:32 +0000 (23:41 +0000)]
Merge "Add new USB details screen for Connected Devices 2.0"
TreeHugger Robot [Wed, 31 Jan 2018 22:05:21 +0000 (22:05 +0000)]
Merge "Use SystemUpdateManager to provide system update info."
Fan Zhang [Wed, 31 Jan 2018 21:35:22 +0000 (13:35 -0800)]
Tweak searchbar padding
Change-Id: Ied7b803ae05eb8d69b478675c7c3e66fb39e4d1c
Fixes:
72317470
Test: visual
TreeHugger Robot [Wed, 31 Jan 2018 21:15:18 +0000 (21:15 +0000)]
Merge "Remove suggestion UI v1 codes."
Fan Zhang [Wed, 31 Jan 2018 21:13:31 +0000 (21:13 +0000)]
Merge "Misc fixes for account/users fragments"
Fan Zhang [Tue, 30 Jan 2018 21:07:39 +0000 (13:07 -0800)]
Use SystemUpdateManager to provide system update info.
Change-Id: I38b631cda8aa63e478c74625eba3d18f9a5723bd
Fixes:
36874007
Test: robotests
Jason Monk [Wed, 31 Jan 2018 19:55:58 +0000 (14:55 -0500)]
Fix dev settings crash when no OEM unlock service
Test: Open dev settings, no crash
Change-Id: I028c52ee58d7262e9fbd015289d7848b397c82e3
TreeHugger Robot [Wed, 31 Jan 2018 19:42:03 +0000 (19:42 +0000)]
Merge "AR/FR: Keyboard challenge takes precedence."
Jerry Zhang [Fri, 12 Jan 2018 00:47:14 +0000 (16:47 -0800)]
Add new USB details screen for Connected Devices 2.0
Also updated UsbBackend to use the new UsbFunctions
api.
Added new unit tests for UsbDetailsHeaderController
and UsbDetailsProfilesController.
Bug:
69333961
Test: make RunSettingsRoboTests
Change-Id: I133750190bb61dfe0e20b06f50e50ea13b347f1e
Doris Ling [Tue, 30 Jan 2018 20:49:35 +0000 (12:49 -0800)]
Remove suggestion UI v1 codes.
- remove the check for feature flag for suggestion UI v2 and switch to
use the v2 codes.
- remove all code related to v1 of suggestion UI
Fixes:
70573674
Test: make RunSettingsRoboTests
Change-Id: I99ab318c1c0192508a9c5e9e708e86319120d55b
Fan Zhang [Wed, 31 Jan 2018 01:04:46 +0000 (17:04 -0800)]
Misc fixes for account/users fragments
- Hide add user button when it's not functional
- Display "No accounts added" under accounts setting when there is no account.
Change-Id: Iefede9939d206eb3064fa22bdcfbcb1e826f29ab
Fixes:
72643060
Test: robotest
Test:
72713118
Julia Reynolds [Wed, 31 Jan 2018 17:09:51 +0000 (17:09 +0000)]
Merge "Notification settings updates"
Maurice Lam [Wed, 31 Jan 2018 04:43:45 +0000 (20:43 -0800)]
Support GLIF v3 for lock screen settings
Also removed setup_divider_color because it's unused and is causing
a lint error.
Test: cd tests/robotests && mma
Bug:
72702989
Change-Id: I81894be6458439f688c0144d1136d3d7f75afa25
TreeHugger Robot [Wed, 31 Jan 2018 03:18:29 +0000 (03:18 +0000)]
Merge "Fix homepage icon margin"
Carlos Valdivia [Tue, 30 Jan 2018 02:30:33 +0000 (18:30 -0800)]
AR/FR: Keyboard challenge takes precedence.
Tested manually by:
(1) Setting up a gmail account.
(2) Setting up a screen pattern.
(3) Going to Settings > System > Reset Options > Factory Wipe
(4) Hit the Erase button.
(5) Enter pattern into the Screenlock prompt.
(6) Notice the Google credential confirmation screen.
Prior to this change we would skip (5) if there was a Google account on
the device.
Test: make RunSettingsRoboTests ROBOTEST_FILTER=andorid.settings.MasterClear
Bug:
72694056
Change-Id: Ie07c678ecbc8361e8e1792f82efdfb1261db49fb
TreeHugger Robot [Wed, 31 Jan 2018 01:11:52 +0000 (01:11 +0000)]
Merge "Re-add isSuggestionEnabled check"
Ben Lin [Wed, 31 Jan 2018 00:17:45 +0000 (16:17 -0800)]
Add ability to show/hide different device information.
This introduces 3 boolean flags:
config_show_device_model
config_show_wifi_ip_address
config_show_wifi_mac_address
Which when set to false will hide their individual panes from "About
Phone" page.
Bug:
62414913
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=com.android.settings.deviceinfo
Change-Id: Iaaf91ef41c9ec7b5bf233344e6a48d4b87fad291
Ben Lin [Tue, 30 Jan 2018 23:39:18 +0000 (15:39 -0800)]
Hide "Phone number" from About page if not call enabled.
Bug: None
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=com.android.settings.deviceinfo
Change-Id: Ib056bae12d23fe68e71fe78c92741b8dc7887de0
Fan Zhang [Tue, 30 Jan 2018 23:54:48 +0000 (15:54 -0800)]
Fix homepage icon margin
Change-Id: Ie9a7be625bb51336ef4eda05d24c61ec9cc264e8
Fixes:
69314641
Test: visual
Fan Zhang [Tue, 30 Jan 2018 23:38:48 +0000 (15:38 -0800)]
Re-add isSuggestionEnabled check
It was accidentally removed previously
Test: robotest
Change-Id: I5b7707e746d6b825d835a007727b29c9a81a7fc1
TreeHugger Robot [Tue, 30 Jan 2018 22:44:27 +0000 (22:44 +0000)]
Merge "Center align suggestion tile action button."
TreeHugger Robot [Tue, 30 Jan 2018 22:01:25 +0000 (22:01 +0000)]
Merge "Add a few UI tests"
Julia Reynolds [Tue, 30 Jan 2018 16:28:38 +0000 (11:28 -0500)]
Notification settings updates
- Footer preferences were too dim
- Fix text and target on recently sent apps
- Make 'behavior' a dialog
- reorder settings on apps page
Change-Id: Idf8056bc77ead89fe2025bbde3346861e23a3c8d
Fixes:
72652526
Fixes:
72651810
Fixes:
72652024
Bug:
72651953
Test: make RunSettingsRoboTests
TreeHugger Robot [Tue, 30 Jan 2018 21:39:16 +0000 (21:39 +0000)]
Merge "Change automatic brightness summary to absolute brightness."
Doris Ling [Tue, 30 Jan 2018 20:50:17 +0000 (12:50 -0800)]
Center align suggestion tile action button.
Bug:
70573674
Test: visual
Change-Id: I9be36cb0f1c35c2062f01d03e01e0a74cb39f3a0
Fan Zhang [Tue, 30 Jan 2018 20:03:13 +0000 (12:03 -0800)]
Add a few UI tests
- Verify storage setting display items
- Battery
Test: atest
Change-Id: Ia892e0e3265aa8bebda74df26dd67e6b12f5cb67
Fixes:
72461383
TreeHugger Robot [Tue, 30 Jan 2018 19:57:48 +0000 (19:57 +0000)]
Merge "Remove app info page v1 related codes."
TreeHugger Robot [Tue, 30 Jan 2018 19:04:26 +0000 (19:04 +0000)]
Merge "Remve menu item in battery settings"
TreeHugger Robot [Tue, 30 Jan 2018 18:50:45 +0000 (18:50 +0000)]
Merge "Use the correct prebuilts for lifecycles."
TreeHugger Robot [Tue, 30 Jan 2018 12:04:25 +0000 (12:04 +0000)]
Merge "Add UI tests for new time zone picker"
Jin Dong [Fri, 22 Dec 2017 10:25:03 +0000 (18:25 +0800)]
Fix memory leak of page "Languages & input"
When enter/exit from "Languages & input" screen repeatedly, memory
leak happens since InputDeviceListener is not unregistered.
Listener registration is called in onPause() when exiting from the
screen, but new activity is created when enter the screen and the
listener registered by previous activity is not unregistered in
onResume().
Bug:
72675680
Test: Manual - Repeat enter and exit "Language & input" page for
several times and check if the count of activity doesn't increase.
Change-Id: I8e0be0ab4b1d13d53c3868b10f409d1e06387c2f
TreeHugger Robot [Tue, 30 Jan 2018 06:54:53 +0000 (06:54 +0000)]
Merge "Update summary for fingerprint unlock suggestion."
TreeHugger Robot [Tue, 30 Jan 2018 06:30:20 +0000 (06:30 +0000)]
Merge "Move force stop button into option menu."
TreeHugger Robot [Tue, 30 Jan 2018 03:55:28 +0000 (03:55 +0000)]
Merge "Update suggestion card UI."
TreeHugger Robot [Tue, 30 Jan 2018 01:26:23 +0000 (01:26 +0000)]
Merge "Dismiss suggestion when close button is clicked."
Doris Ling [Tue, 16 Jan 2018 21:28:16 +0000 (13:28 -0800)]
Remove app info page v1 related codes.
- change to use AppInfoDashboardFragment completely
- remove InstalledAppDetails and the corresponding tests
Change-Id: I8cbdf71cadc8b5743929abbafe91185e5e39b6b2
Fixes:
69384089
Test: make RunSettingsRoboTests
TreeHugger Robot [Tue, 30 Jan 2018 01:07:18 +0000 (01:07 +0000)]
Merge "Add search keyword for ambient display"
Doris Ling [Mon, 29 Jan 2018 21:11:57 +0000 (13:11 -0800)]
Update suggestion card UI.
- adjust suggestion card width and padding
- tint icon if it is from settings package.
Bug:
72330968
Test: visual
Change-Id: I4b82d51b3013ad0656d297305e0000958b71e94d
Doris Ling [Mon, 29 Jan 2018 23:57:46 +0000 (15:57 -0800)]
Update summary for fingerprint unlock suggestion.
- replicate the summary string for the fingerprint unlock suggestions
for different product variation.
Bug:
70573674
Test: rebuild
Change-Id: Ib85fbe1ddbf5f2f500743cabf5f219e5e48f61e4
Doris Ling [Fri, 19 Jan 2018 22:43:34 +0000 (14:43 -0800)]
Move force stop button into option menu.
- only show 1 button in the app info page
- move all handling for the force stop button from
AppActionButtonPreferenceController to a new option menu controller
Bug:
71778950
Test: make RunSettingsRoboTests
Change-Id: Iaa2c9784162a5f1acaaf9e11e3ce988945b40538
Victor Chang [Mon, 22 Jan 2018 19:27:17 +0000 (19:27 +0000)]
Add UI tests for new time zone picker
- Test selecting 2 time zones in picker
- Device.wait could return null object and cause NPE.
Add helper function throw UiObjectNotFoundException with selector info
Bug:
62255208
Test: atest SettingsUITests:ZonePickerSettingsTest
Change-Id: Id0439dde25240cf2d3ee834043d1726a2c738d1a
TreeHugger Robot [Mon, 29 Jan 2018 23:25:09 +0000 (23:25 +0000)]
Merge "Remove security settings v1 code"
Fan Zhang [Mon, 29 Jan 2018 21:22:21 +0000 (13:22 -0800)]
Add search keyword for ambient display
Change-Id: I725e734e656bf01d4d9a354d01d10717b724d848
Fixes:
71892510
Test: rebuild
TreeHugger Robot [Mon, 29 Jan 2018 22:40:43 +0000 (22:40 +0000)]
Merge "Move AccessPointPreference.generateApKey."
TreeHugger Robot [Mon, 29 Jan 2018 22:19:43 +0000 (22:19 +0000)]
Merge "Fix shortcut icon in launcher"
Sudheer Shanka [Mon, 29 Jan 2018 22:01:35 +0000 (22:01 +0000)]
Merge "Add policy transparency for metered data related settings."
Doris Ling [Tue, 23 Jan 2018 20:08:50 +0000 (12:08 -0800)]
Dismiss suggestion when close button is clicked.
- add handling to the suggestion card to dismiss the suggestion when
the close button is clicked.
Bug:
70573674
Test: make RunSettingsRoboTests
Change-Id: I8155efc326242abde753a633009e2579a9b3aa9b
Fan Zhang [Mon, 29 Jan 2018 20:06:58 +0000 (12:06 -0800)]
Remove security settings v1 code
Change-Id: I958ed1588009b91f64cd8ecb98208e72a891903e
Fixes:
32953042
Test: robotests
TreeHugger Robot [Mon, 29 Jan 2018 20:58:35 +0000 (20:58 +0000)]
Merge "Fix settings ui tests in abvt suite"
Fan Zhang [Mon, 29 Jan 2018 19:23:52 +0000 (11:23 -0800)]
Fix shortcut icon in launcher
When building icon for shortcut, check if the icon is LayerDrawable.
- If yes, only take the second layer (foreground).
Also move the class to shortcut package
Change-Id: I3513dbeb6509f11aa70ab3230d441e268ca9356d
Fixes:
72553870
Test: atest
Jin Dong [Mon, 29 Jan 2018 19:11:40 +0000 (19:11 +0000)]
Merge "Fix memory leak of DataSaverPreference" am:
7a65c7f279 am:
64ee868ff3
am:
b9af110c03
Change-Id: I07aae53bbf708317cc4ca60926c27c22d37c2179
Jin Dong [Mon, 29 Jan 2018 19:10:00 +0000 (19:10 +0000)]
Merge "Fix memory leak of DataSaverPreference" am:
7a65c7f279
am:
64ee868ff3
Change-Id: Ieda87ec6f8958d11b36cc48fab83233c687a254f
Jin Dong [Mon, 29 Jan 2018 19:07:25 +0000 (19:07 +0000)]
Merge "Fix memory leak of DataSaverPreference"
am:
7a65c7f279
Change-Id: If0cc15cc83afde74a2cd694924fe5af8cf124c8b
Treehugger Robot [Mon, 29 Jan 2018 19:03:33 +0000 (19:03 +0000)]
Merge "Fix memory leak of DataSaverPreference"
Fan Zhang [Mon, 29 Jan 2018 17:53:26 +0000 (09:53 -0800)]
Fix settings ui tests in abvt suite
Change-Id: I77a262c473b2dfe09c3dabf8e07525fa17815b35
Fixes:
72608407
Test: atest
TreeHugger Robot [Mon, 29 Jan 2018 18:23:45 +0000 (18:23 +0000)]
Merge "Readd needed string"
Michael Wright [Mon, 29 Jan 2018 16:52:47 +0000 (16:52 +0000)]
Change automatic brightness summary to absolute brightness.
The brightness slider now always represents the absolute brightness,
including when adaptive brightness is enabled. This changes the summary
of the brightness setting to reflect that.
Bug:
72627086
Test: ROBOTEST_FILTER=BrightnessLevelPreferenceControllerTest m -j RunSettingsRoboTests
Change-Id: I76eed8aa9ee88fe6b70e30d54bfc0d18d1141377
Jin Dong [Fri, 22 Dec 2017 09:49:23 +0000 (17:49 +0800)]
Fix memory leak of DataSaverPreference
When DataSaverPreference is shown repeatedly, memory leak happens
since DataSaverBackend.Listener is not removed on onDetached().
TEST: Repeat enter and exit "Data usage" for
several times and check if the count of activity
is not increasing.
Bug:
72581115
Change-Id: Ic4a72de049bb87f1e522fe46dd0fb4bb58ed65a5
TreeHugger Robot [Sun, 28 Jan 2018 21:16:17 +0000 (21:16 +0000)]
Merge "Display a list of account types as account setting summary"
Fan Zhang [Sun, 28 Jan 2018 19:33:27 +0000 (11:33 -0800)]
Display a list of account types as account setting summary
Change-Id: Ifac12bb1dd506613ded131a024de345591f9243f
Fixes:
71871075
Test: robotests
Bill Yi [Sun, 28 Jan 2018 16:42:26 +0000 (08:42 -0800)]
Import translations. DO NOT MERGE
Change-Id: I2e085262897359240e6f9aba91d7dc4ddb52eabc
Auto-generated-cl: translation import