OSDN Git Service

android-x86/packages-apps-Settings.git
6 years agoUpdate string for wifi calling.
Doris Ling [Mon, 5 Feb 2018 20:38:15 +0000 (12:38 -0800)]
Update string for wifi calling.

Bug: 72330968
Test: rebuild
Change-Id: Ie1e189c1339762d4763540e1e678357020602f35

6 years agoMerge "Autofill compat - Settings"
TreeHugger Robot [Mon, 5 Feb 2018 09:55:29 +0000 (09:55 +0000)]
Merge "Autofill compat - Settings"

6 years agoAutofill compat - Settings
Svetoslav Ganov [Mon, 5 Feb 2018 05:22:00 +0000 (21:22 -0800)]
Autofill compat - Settings

Test: manully can change autofill serivces

Update settings due to API signature change.

Change-Id: Idaf00fdbe7cb07cb174f3bbd8edcfa95ac734764

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 4 Feb 2018 04:29:03 +0000 (04:29 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Move bugreport storage enabling into OS."
Jeff Sharkey [Sat, 3 Feb 2018 23:41:16 +0000 (23:41 +0000)]
Merge "Move bugreport storage enabling into OS."

6 years agoMove bugreport storage enabling into OS.
Jeff Sharkey [Sat, 3 Feb 2018 20:27:03 +0000 (13:27 -0700)]
Move bugreport storage enabling into OS.

It's convoluted to enable/disable bugreport storage based on the
"power menu" shortcut, and it's frustrating for dogfooders to have
to manually cycle this setting once to enable the provider.

So move the enable/disable logic directly into the OS, toggle it
when the broader DEVELOPMENT_SETTINGS_ENABLED changes, and update
to match state at device boot.

Test: builds, boots
Bug: 32540478
Change-Id: I8721dfbfc1dc2e19adb9cb5588f6b35f2872da9d

6 years agoImport translations. DO NOT MERGE
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

6 years agoMerge "Unregister broadcast receiver from AppInfoDashboardFragment."
TreeHugger Robot [Sat, 3 Feb 2018 02:34:26 +0000 (02:34 +0000)]
Merge "Unregister broadcast receiver from AppInfoDashboardFragment."

6 years agoUnregister 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

6 years agoMerge "Fix NPE when instantiating SettingsPreferenceFragment"
TreeHugger Robot [Fri, 2 Feb 2018 23:38:21 +0000 (23:38 +0000)]
Merge "Fix NPE when instantiating SettingsPreferenceFragment"

6 years agoMerge "Introduce boolean flags to show/hide battery/memory in App info."
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."

6 years agoMerge "Update suggestion UI"
TreeHugger Robot [Fri, 2 Feb 2018 21:23:24 +0000 (21:23 +0000)]
Merge "Update suggestion UI"

6 years agoMerge "Fix VisibleForTesting annotation in AppStateAppOpsBridge"
TreeHugger Robot [Fri, 2 Feb 2018 20:51:32 +0000 (20:51 +0000)]
Merge "Fix VisibleForTesting annotation in AppStateAppOpsBridge"

6 years agoIntroduce boolean flags to show/hide battery/memory in App info.
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

6 years agoFix NPE when instantiating SettingsPreferenceFragment
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

6 years agoMerge "Support GLIF v3 for lock screen settings"
TreeHugger Robot [Fri, 2 Feb 2018 20:12:43 +0000 (20:12 +0000)]
Merge "Support GLIF v3 for lock screen settings"

6 years agoMerge "Always show wifi wake setting."
TreeHugger Robot [Fri, 2 Feb 2018 19:44:23 +0000 (19:44 +0000)]
Merge "Always show wifi wake setting."

6 years agoUpdate suggestion UI
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

6 years agoFix VisibleForTesting annotation in AppStateAppOpsBridge
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

6 years agoMerge "Add ability to show/hide different device information."
TreeHugger Robot [Fri, 2 Feb 2018 18:41:39 +0000 (18:41 +0000)]
Merge "Add ability to show/hide different device information."

6 years agoRename DISALLOW_CONFIG_LOCATION_MODE to DISALLOW_CONFIG_LOCATION.
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

6 years agoMerge "Zen Condition text and primary click changes"
Beverly Tai [Fri, 2 Feb 2018 15:27:04 +0000 (15:27 +0000)]
Merge "Zen Condition text and primary click changes"

6 years agoMerge "Fix memory leak of page "Languages & input"" am: f94ff6ce6f am: 6d55e0633e
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

6 years agoMerge "Fix memory leak of page "Languages & input"" am: f94ff6ce6f
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

6 years agoMerge "Fix memory leak of page "Languages & input""
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

6 years agoMerge "Highlight row (instead of ripple) when come from search."
TreeHugger Robot [Fri, 2 Feb 2018 01:15:36 +0000 (01:15 +0000)]
Merge "Highlight row (instead of ripple) when come from search."

6 years agoMerge "Fixes crash from selecting uninstalled app info from recents."
TreeHugger Robot [Fri, 2 Feb 2018 00:35:42 +0000 (00:35 +0000)]
Merge "Fixes crash from selecting uninstalled app info from recents."

6 years agoAlways show wifi wake setting.
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

6 years agoMerge "Fix memory leak of page "Languages & input""
Treehugger Robot [Thu, 1 Feb 2018 23:41:43 +0000 (23:41 +0000)]
Merge "Fix memory leak of page "Languages & input""

6 years agoFixes crash from selecting uninstalled app info from recents.
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

6 years agoZen Condition text and primary click changes
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

6 years agoMerge "Hide "Phone number" from About page if not call enabled."
TreeHugger Robot [Thu, 1 Feb 2018 21:08:51 +0000 (21:08 +0000)]
Merge "Hide "Phone number" from About page if not call enabled."

6 years agoHighlight row (instead of ripple) when come from search.
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

6 years agoMerge "Enforce disallow switch user in user settings"
TreeHugger Robot [Thu, 1 Feb 2018 19:47:44 +0000 (19:47 +0000)]
Merge "Enforce disallow switch user in user settings"

6 years agoMerge "Check icon tintable flag of the Suggestion."
TreeHugger Robot [Thu, 1 Feb 2018 19:12:35 +0000 (19:12 +0000)]
Merge "Check icon tintable flag of the Suggestion."

6 years agoMerge "Handle the Settings.DEVICE_NAME_SETTINGS intent."
TreeHugger Robot [Thu, 1 Feb 2018 18:24:51 +0000 (18:24 +0000)]
Merge "Handle the Settings.DEVICE_NAME_SETTINGS intent."

6 years agoEnforce disallow switch user in user settings
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

6 years agoMerge "Enable the Advanced Connected settings."
TreeHugger Robot [Thu, 1 Feb 2018 04:52:34 +0000 (04:52 +0000)]
Merge "Enable the Advanced Connected settings."

6 years agoMerge "Fix dev settings crash when no OEM unlock service" am: 44cacaa8f1 am: f6d960ac31
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

6 years agoEnable the Advanced Connected settings.
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

6 years agoMerge "Tweak searchbar padding"
TreeHugger Robot [Thu, 1 Feb 2018 00:55:32 +0000 (00:55 +0000)]
Merge "Tweak searchbar padding"

6 years agoCheck icon tintable flag of the Suggestion.
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

6 years agoMerge "Fix dev settings crash when no OEM unlock service" am: 44cacaa8f1
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

6 years agoMerge "Fix dev settings crash when no OEM unlock service"
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

6 years agoMerge "Fix dev settings crash when no OEM unlock service"
Dmitry Shmidt [Wed, 31 Jan 2018 23:46:54 +0000 (23:46 +0000)]
Merge "Fix dev settings crash when no OEM unlock service"

6 years agoMerge "Add new USB details screen for Connected Devices 2.0"
Jerry Zhang [Wed, 31 Jan 2018 23:41:32 +0000 (23:41 +0000)]
Merge "Add new USB details screen for Connected Devices 2.0"

6 years agoMerge "Use SystemUpdateManager to provide system update info."
TreeHugger Robot [Wed, 31 Jan 2018 22:05:21 +0000 (22:05 +0000)]
Merge "Use SystemUpdateManager to provide system update info."

6 years agoTweak searchbar padding
Fan Zhang [Wed, 31 Jan 2018 21:35:22 +0000 (13:35 -0800)]
Tweak searchbar padding

Change-Id: Ied7b803ae05eb8d69b478675c7c3e66fb39e4d1c
Fixes: 72317470
Test: visual

6 years agoMerge "Remove suggestion UI v1 codes."
TreeHugger Robot [Wed, 31 Jan 2018 21:15:18 +0000 (21:15 +0000)]
Merge "Remove suggestion UI v1 codes."

6 years agoMerge "Misc fixes for account/users fragments"
Fan Zhang [Wed, 31 Jan 2018 21:13:31 +0000 (21:13 +0000)]
Merge "Misc fixes for account/users fragments"

6 years agoUse SystemUpdateManager to provide system update info.
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

6 years agoFix dev settings crash when no OEM unlock service
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

6 years agoMerge "AR/FR: Keyboard challenge takes precedence."
TreeHugger Robot [Wed, 31 Jan 2018 19:42:03 +0000 (19:42 +0000)]
Merge "AR/FR: Keyboard challenge takes precedence."

6 years agoAdd new USB details screen for Connected Devices 2.0
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

6 years agoRemove suggestion UI v1 codes.
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

6 years agoMisc fixes for account/users fragments
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

6 years agoMerge "Notification settings updates"
Julia Reynolds [Wed, 31 Jan 2018 17:09:51 +0000 (17:09 +0000)]
Merge "Notification settings updates"

6 years agoSupport GLIF v3 for lock screen settings
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

6 years agoMerge "Fix homepage icon margin"
TreeHugger Robot [Wed, 31 Jan 2018 03:18:29 +0000 (03:18 +0000)]
Merge "Fix homepage icon margin"

6 years agoAR/FR: Keyboard challenge takes precedence.
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

6 years agoMerge "Re-add isSuggestionEnabled check"
TreeHugger Robot [Wed, 31 Jan 2018 01:11:52 +0000 (01:11 +0000)]
Merge "Re-add isSuggestionEnabled check"

6 years agoAdd ability to show/hide different device information.
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

6 years agoHide "Phone number" from About page if not call enabled.
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

6 years agoFix homepage icon margin
Fan Zhang [Tue, 30 Jan 2018 23:54:48 +0000 (15:54 -0800)]
Fix homepage icon margin

Change-Id: Ie9a7be625bb51336ef4eda05d24c61ec9cc264e8
Fixes: 69314641
Test: visual

6 years agoRe-add isSuggestionEnabled check
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

6 years agoMerge "Center align suggestion tile action button."
TreeHugger Robot [Tue, 30 Jan 2018 22:44:27 +0000 (22:44 +0000)]
Merge "Center align suggestion tile action button."

6 years agoMerge "Add a few UI tests"
TreeHugger Robot [Tue, 30 Jan 2018 22:01:25 +0000 (22:01 +0000)]
Merge "Add a few UI tests"

6 years agoNotification settings updates
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

6 years agoMerge "Change automatic brightness summary to absolute brightness."
TreeHugger Robot [Tue, 30 Jan 2018 21:39:16 +0000 (21:39 +0000)]
Merge "Change automatic brightness summary to absolute brightness."

6 years agoCenter align suggestion tile action button.
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

6 years agoAdd a few UI tests
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

6 years agoMerge "Remove app info page v1 related codes."
TreeHugger Robot [Tue, 30 Jan 2018 19:57:48 +0000 (19:57 +0000)]
Merge "Remove app info page v1 related codes."

6 years agoMerge "Remve menu item in battery settings"
TreeHugger Robot [Tue, 30 Jan 2018 19:04:26 +0000 (19:04 +0000)]
Merge "Remve menu item in battery settings"

6 years agoMerge "Use the correct prebuilts for lifecycles."
TreeHugger Robot [Tue, 30 Jan 2018 18:50:45 +0000 (18:50 +0000)]
Merge "Use the correct prebuilts for lifecycles."

6 years agoMerge "Add UI tests for new time zone picker"
TreeHugger Robot [Tue, 30 Jan 2018 12:04:25 +0000 (12:04 +0000)]
Merge "Add UI tests for new time zone picker"

6 years agoFix memory leak of page "Languages & input"
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

6 years agoMerge "Update summary for fingerprint unlock suggestion."
TreeHugger Robot [Tue, 30 Jan 2018 06:54:53 +0000 (06:54 +0000)]
Merge "Update summary for fingerprint unlock suggestion."

6 years agoMerge "Move force stop button into option menu."
TreeHugger Robot [Tue, 30 Jan 2018 06:30:20 +0000 (06:30 +0000)]
Merge "Move force stop button into option menu."

6 years agoMerge "Update suggestion card UI."
TreeHugger Robot [Tue, 30 Jan 2018 03:55:28 +0000 (03:55 +0000)]
Merge "Update suggestion card UI."

6 years agoMerge "Dismiss suggestion when close button is clicked."
TreeHugger Robot [Tue, 30 Jan 2018 01:26:23 +0000 (01:26 +0000)]
Merge "Dismiss suggestion when close button is clicked."

6 years agoRemove app info page v1 related codes.
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

6 years agoMerge "Add search keyword for ambient display"
TreeHugger Robot [Tue, 30 Jan 2018 01:07:18 +0000 (01:07 +0000)]
Merge "Add search keyword for ambient display"

6 years agoUpdate suggestion card UI.
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

6 years agoUpdate summary for fingerprint unlock suggestion.
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

6 years agoMove force stop button into option menu.
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

6 years agoAdd UI tests for new time zone picker
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

6 years agoMerge "Remove security settings v1 code"
TreeHugger Robot [Mon, 29 Jan 2018 23:25:09 +0000 (23:25 +0000)]
Merge "Remove security settings v1 code"

6 years agoAdd search keyword for ambient display
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

6 years agoMerge "Move AccessPointPreference.generateApKey."
TreeHugger Robot [Mon, 29 Jan 2018 22:40:43 +0000 (22:40 +0000)]
Merge "Move AccessPointPreference.generateApKey."

6 years agoMerge "Fix shortcut icon in launcher"
TreeHugger Robot [Mon, 29 Jan 2018 22:19:43 +0000 (22:19 +0000)]
Merge "Fix shortcut icon in launcher"

6 years agoMerge "Add policy transparency for metered data related settings."
Sudheer Shanka [Mon, 29 Jan 2018 22:01:35 +0000 (22:01 +0000)]
Merge "Add policy transparency for metered data related settings."

6 years agoDismiss suggestion when close button is clicked.
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

6 years agoRemove security settings v1 code
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

6 years agoMerge "Fix settings ui tests in abvt suite"
TreeHugger Robot [Mon, 29 Jan 2018 20:58:35 +0000 (20:58 +0000)]
Merge "Fix settings ui tests in abvt suite"

6 years agoFix shortcut icon in launcher
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

6 years agoMerge "Fix memory leak of DataSaverPreference" am: 7a65c7f279 am: 64ee868ff3
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

6 years agoMerge "Fix memory leak of DataSaverPreference" am: 7a65c7f279
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

6 years agoMerge "Fix memory leak of DataSaverPreference"
Jin Dong [Mon, 29 Jan 2018 19:07:25 +0000 (19:07 +0000)]
Merge "Fix memory leak of DataSaverPreference"
am: 7a65c7f279

Change-Id: If0cc15cc83afde74a2cd694924fe5af8cf124c8b

6 years agoMerge "Fix memory leak of DataSaverPreference"
Treehugger Robot [Mon, 29 Jan 2018 19:03:33 +0000 (19:03 +0000)]
Merge "Fix memory leak of DataSaverPreference"

6 years agoFix settings ui tests in abvt suite
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