OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoImport translations. DO NOT MERGE am: 55ba636186 -s ours
Bill Yi [Wed, 22 Feb 2017 18:53:47 +0000 (18:53 +0000)]
Import translations. DO NOT MERGE am: 55ba636186  -s ours
am: 8d36f807bc  -s ours

Change-Id: I6c7cde0415a40ef8bdc4fcd69615098bf1697b11

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 22 Feb 2017 18:51:16 +0000 (18:51 +0000)]
Import translations. DO NOT MERGE
am: 55ba636186  -s ours

Change-Id: I9d64b082f425dbc5bd37b453e51a5e01127400a4

7 years agoMerge "Add battery stats perference in battery settings page."
Lei Yu [Wed, 22 Feb 2017 18:44:34 +0000 (18:44 +0000)]
Merge "Add battery stats perference in battery settings page."

7 years agoMerge "Add "Instant apps" filter to app listing"
Antony Sargent [Wed, 22 Feb 2017 18:40:40 +0000 (18:40 +0000)]
Merge "Add "Instant apps" filter to app listing"

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 22 Feb 2017 16:50:31 +0000 (08:50 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ied9c4535fc4e6739099864f17584108b1d938c50
Auto-generated-cl: translation import

7 years agoMerge "Remove intent-filter from PrivacySettingsActivity"
Anton Philippov [Wed, 22 Feb 2017 11:17:03 +0000 (11:17 +0000)]
Merge "Remove intent-filter from PrivacySettingsActivity"

7 years agoAdd battery stats perference in battery settings page.
jackqdyulei [Tue, 14 Feb 2017 23:46:10 +0000 (15:46 -0800)]
Add battery stats perference in battery settings page.

Add a preferenceGroup at the bottom of the page, which contains
Screen and Cell usage data.

Bug: 35305983
Test: RunSettingsRoboTests & Screenshot
Change-Id: Ida6e92ddbd7155ec974a2f04c6d6d02ab9dab210

7 years agoMerge "Add logging to trace when force stop button is clicked"
TreeHugger Robot [Wed, 22 Feb 2017 03:59:34 +0000 (03:59 +0000)]
Merge "Add logging to trace when force stop button is clicked"

7 years agoMerge "Test for AsssitSettingObserver"
TreeHugger Robot [Wed, 22 Feb 2017 03:54:55 +0000 (03:54 +0000)]
Merge "Test for AsssitSettingObserver"

7 years agoMerge "Update Security & screen lock preference"
TreeHugger Robot [Wed, 22 Feb 2017 03:08:11 +0000 (03:08 +0000)]
Merge "Update Security & screen lock preference"

7 years agoTest for AsssitSettingObserver
Fan Zhang [Wed, 22 Feb 2017 02:03:26 +0000 (18:03 -0800)]
Test for AsssitSettingObserver

Change-Id: I4896a097cd9d898829be04098b6e31766af39c7a
Fix: 35641857
Test: make RunSettingRoboTests

7 years agoMerge "Remove a11y speak passwords settings."
TreeHugger Robot [Wed, 22 Feb 2017 01:57:42 +0000 (01:57 +0000)]
Merge "Remove a11y speak passwords settings."

7 years agoMerge "Fix crash when cold start settings."
Fan Zhang [Wed, 22 Feb 2017 01:55:52 +0000 (01:55 +0000)]
Merge "Fix crash when cold start settings."

7 years agoAdd logging to trace when force stop button is clicked
Fan Zhang [Wed, 22 Feb 2017 01:49:12 +0000 (17:49 -0800)]
Add logging to trace when force stop button is clicked

Bug: 35633637
Test: manual
Change-Id: If7bcf7a3265d1eb75b7f58337f4757dfcbb0ba2f

7 years agoMerge "Add toggle in menu to show/hide hidden apps"
TreeHugger Robot [Wed, 22 Feb 2017 01:46:52 +0000 (01:46 +0000)]
Merge "Add toggle in menu to show/hide hidden apps"

7 years agoMerge "Fix transaction too large exception on creating shortcut b/35515740 Test:...
Hyunyoung Song [Wed, 22 Feb 2017 01:44:47 +0000 (01:44 +0000)]
Merge "Fix transaction too large exception on creating shortcut b/35515740 Test: manual build/push and reboot. Create shortcut from widget tray."

7 years agoFix crash when cold start settings.
Fan Zhang [Wed, 22 Feb 2017 01:00:01 +0000 (17:00 -0800)]
Fix crash when cold start settings.

Change-Id: I992743be7820e932116121e7ee2d57ef94e87701
Fix: 35641857
Test: RunSettingsRoboTests

7 years agoMerge "Update wifi calling summary text during onResume"
TreeHugger Robot [Wed, 22 Feb 2017 00:30:15 +0000 (00:30 +0000)]
Merge "Update wifi calling summary text during onResume"

7 years agoRemove intent-filter from PrivacySettingsActivity
Anton Philippov [Tue, 14 Feb 2017 12:56:28 +0000 (12:56 +0000)]
Remove intent-filter from PrivacySettingsActivity

BackupSettingsActivity should be the only activity listenting to the
BACKUP_AND_RESET_SETTINGS intent. It then decides which acitivity to
launch.

Bug: 35237721
Test: make SettingsUnitTests
Change-Id: I2021ec57e08c305771dd040c52725065597fd042

7 years agoAdd toggle in menu to show/hide hidden apps
jackqdyulei [Thu, 16 Feb 2017 00:27:03 +0000 (16:27 -0800)]
Add toggle in menu to show/hide hidden apps

In the previous cl we hide unrelated apps and distribute hidden
battery usage among other apps. Now we add a toggle in menu to
show old power accounting as well.

Bug: 35366708
Test: RunSettingsRoboTests
Change-Id: I6918b7095cf84d9756ad3972ff50a62aeae1de0e

7 years agoMerge changes from topic 'secondary-users'
Daniel Nishi [Tue, 21 Feb 2017 23:20:29 +0000 (23:20 +0000)]
Merge changes from topic 'secondary-users'

* changes:
  Update the loading of info for the secondary users.
  Add support for visualizing secondary users.

7 years agoMerge "Add icons for Wi-Fi wakeup and notification settings toggles."
TreeHugger Robot [Tue, 21 Feb 2017 23:04:30 +0000 (23:04 +0000)]
Merge "Add icons for Wi-Fi wakeup and notification settings toggles."

7 years agoMerge "Deprecate AppListPreference and AppListPrefWithSettings"
TreeHugger Robot [Tue, 21 Feb 2017 23:02:22 +0000 (23:02 +0000)]
Merge "Deprecate AppListPreference and AppListPrefWithSettings"

7 years agoUpdate Security & screen lock preference
Doris Ling [Thu, 16 Feb 2017 01:49:18 +0000 (17:49 -0800)]
Update Security & screen lock preference

- change password category title to Privacy and move Location into it.
- remove Advanced security preference category
- remove SIM card preference category and move the SIM card lock
  preferece down.
- move Encryption and Credential settings to a separate screen.

Bug: 34976707
Test: make RunSettingsRoboTests
Change-Id: Iebaba4a8aad135fa88f163de0b60b488fd9510d0

7 years agoFix transaction too large exception on creating shortcut
Hyunyoung Song [Sun, 19 Feb 2017 05:13:42 +0000 (21:13 -0800)]
Fix transaction too large exception on creating shortcut
b/35515740
Test: manual build/push and reboot. Create shortcut from widget tray.

Change-Id: I38c2af0ad5b179c1d602810f81efcdd95e114666

7 years agoMerge "Rank results that match the prefix of the first word higher"
TreeHugger Robot [Tue, 21 Feb 2017 22:46:48 +0000 (22:46 +0000)]
Merge "Rank results that match the prefix of the first word higher"

7 years agoUpdate wifi calling summary text during onResume
Fan Zhang [Tue, 21 Feb 2017 22:12:57 +0000 (14:12 -0800)]
Update wifi calling summary text during onResume

Change-Id: Ic376e65b418a966c53eef30bea7ca55edf72ac29
Fix: 35323207
Test: make RunSettingsRoboTests

7 years agoDeprecate AppListPreference and AppListPrefWithSettings
Fan Zhang [Thu, 16 Feb 2017 23:00:53 +0000 (15:00 -0800)]
Deprecate AppListPreference and AppListPrefWithSettings

- Convert ManageAssist into DashboardFragment
- Convert default assist pref to DefaultAppPickerFragment
- Add PreferenceController for each pref
- Add tests

Bug: 35203386
Test: make RunSettingsRoboTests

Change-Id: I0350a06cae7457809fb261e2d8ec99eda80cc50a

7 years agoAdd icons for Wi-Fi wakeup and notification settings toggles.
Stephen Chen [Tue, 21 Feb 2017 20:17:46 +0000 (12:17 -0800)]
Add icons for Wi-Fi wakeup and notification settings toggles.

Bug:35350450
Test: visual inspection on device.
Change-Id: Idc826002da98675b7c2ba675db98cd8c30b76ab2

7 years agoUpdate the loading of info for the secondary users.
Daniel Nishi [Fri, 10 Feb 2017 00:07:22 +0000 (16:07 -0800)]
Update the loading of info for the secondary users.

Bug: 3471577734225103
Test: Settings Robotest
Change-Id: I32bb15ad8bc866c1fd41728e56faa8b09ae11eb6

7 years agoAdd support for visualizing secondary users.
Daniel Nishi [Fri, 20 Jan 2017 00:32:41 +0000 (16:32 -0800)]
Add support for visualizing secondary users.

This functionality adds the secondary users to the screen, but
currently does not populate the information for them. Once the
external stats query works, I will add a loader which will
populate this information.

This also does not cover work profiles. Support for that is
forthcoming.

Bug: 3471577734225103
Test: Settings Robotest
Change-Id: Ib9b692b214f5ce5d303dfd64516381443d4acebd

7 years agoMerge "Refine battery text in battery header"
Lei Yu [Tue, 21 Feb 2017 18:40:49 +0000 (18:40 +0000)]
Merge "Refine battery text in battery header"

7 years agoMerge "Recursively find preference in progressive disclosure."
Doris Ling [Tue, 21 Feb 2017 18:26:27 +0000 (18:26 +0000)]
Merge "Recursively find preference in progressive disclosure."

7 years agoMerge "Add developer setting to set the default GPU renderer."
Derek Sollenberger [Tue, 21 Feb 2017 17:37:35 +0000 (17:37 +0000)]
Merge "Add developer setting to set the default GPU renderer."

7 years agoAdd ranking to SuggestionFeatureProvider interface.
Soroosh Mariooryad [Wed, 15 Feb 2017 00:40:31 +0000 (16:40 -0800)]
Add ranking to SuggestionFeatureProvider interface.

Test: RunSettingsRoboTests
Fixes: b/35363662

Change-Id: Ib786e6b2733e2b151f73fb68e174a21aedb2b20a

7 years agoModifying setting suggestion logging to only log the shown items.
Soroosh Mariooryad [Fri, 10 Feb 2017 19:12:31 +0000 (11:12 -0800)]
Modifying setting suggestion logging to only log the shown items.

Previously if there was three suggestions in the suggestions view, all
three would be logged as shown, although by default only two of them are
shown and the third one is shown only if the view is expanded. Now, only
the actual shown items will be logged.

Test: RunSettingsRoboTests
Fixes: b/35348496

Change-Id: Ic3af7961b4713f48e63c51ac599cb55bf69975ff

7 years agoMerge "Add tests for BackupSettingsActivity"
Anton Philippov [Mon, 20 Feb 2017 12:36:17 +0000 (12:36 +0000)]
Merge "Add tests for BackupSettingsActivity"

7 years agoRank results that match the prefix of the first word higher
Matthew Fritze [Tue, 14 Feb 2017 01:45:46 +0000 (17:45 -0800)]
Rank results that match the prefix of the first word higher

Differentiates the results that match the first word in
the title from matches farther into the title.

Change-Id: I69f9804a51d1c2b0e476b0f082d634b3a598997c
Fixes: 34975472
Test: make RunSettingsRoboTests

7 years agoMerge "SearchView keyboard opens and closes appropriately"
TreeHugger Robot [Sat, 18 Feb 2017 01:41:35 +0000 (01:41 +0000)]
Merge "SearchView keyboard opens and closes appropriately"

7 years agoMerge "Add type service in settings advanced page."
TreeHugger Robot [Sat, 18 Feb 2017 01:08:20 +0000 (01:08 +0000)]
Merge "Add type service in settings advanced page."

7 years agoMerge "Change MaskableIconDrawable to AdaptiveIconDrawable"
TreeHugger Robot [Sat, 18 Feb 2017 01:04:55 +0000 (01:04 +0000)]
Merge "Change MaskableIconDrawable to AdaptiveIconDrawable"

7 years agoMerge "Fix problem with usb mode summary not updated correctly."
TreeHugger Robot [Sat, 18 Feb 2017 01:00:00 +0000 (01:00 +0000)]
Merge "Fix problem with usb mode summary not updated correctly."

7 years agoMerge "Move InputMethodAndSubtypeEnabler to SettingsLib and port to TV"
TreeHugger Robot [Sat, 18 Feb 2017 00:21:19 +0000 (00:21 +0000)]
Merge "Move InputMethodAndSubtypeEnabler to SettingsLib and port to TV"

7 years agoMerge "Log search result click and its rank."
TreeHugger Robot [Sat, 18 Feb 2017 00:08:55 +0000 (00:08 +0000)]
Merge "Log search result click and its rank."

7 years agoSearchView keyboard opens and closes appropriately
Matthew Fritze [Wed, 1 Feb 2017 01:33:25 +0000 (17:33 -0800)]
SearchView keyboard opens and closes appropriately

- Keyboard opens when Search View opens
- Keyboard closes on query text submit
- Keyboard closes when user scrolls through results

Change-Id: I7cef383a2799eeb456fbaa07b8577c88cd35a997
Fixes: 3472325135164545
Test: SearchFragmentEspressoTest, manual test requested from QA

7 years agoMerge "Update string"
TreeHugger Robot [Fri, 17 Feb 2017 23:36:47 +0000 (23:36 +0000)]
Merge "Update string"

7 years agoFix problem with usb mode summary not updated correctly.
Doris Ling [Fri, 17 Feb 2017 23:22:13 +0000 (15:22 -0800)]
Fix problem with usb mode summary not updated correctly.

In UsbBackend, do not cache the usb state, but re-read it everytime when
we try to get the usb data mode.

Change-Id: I6f2863a59ee8df2c50901a630e3e145714c7dc46
Fix: 34234065
Test: make RunSettingsRoboTests

7 years agoAdd type service in settings advanced page.
jackqdyulei [Mon, 13 Feb 2017 23:14:51 +0000 (15:14 -0800)]
Add type service in settings advanced page.

Currently it only includes the gms service

Bug: 35317876
Test: RunSettingsRoboTests
Change-Id: I20a2a9d320efe4aed036552d450f59c89e81584a

7 years agoMerge "Hide incomplete feature."
Julia Reynolds [Fri, 17 Feb 2017 22:30:08 +0000 (22:30 +0000)]
Merge "Hide incomplete feature."

7 years agoMove InputMethodAndSubtypeEnabler to SettingsLib and port to TV
Tony Mantler [Fri, 17 Feb 2017 22:04:40 +0000 (14:04 -0800)]
Move InputMethodAndSubtypeEnabler to SettingsLib and port to TV

Bug: 35315463
Test: adb shell am start -a android.settings.INPUT_METHOD_SUBTYPE_SETTINGS
Change-Id: I17e6e64ff2c01577d4036bccafe7d0b4ad1d5ca5

7 years agoUpdate string
Fan Zhang [Fri, 17 Feb 2017 21:58:50 +0000 (13:58 -0800)]
Update string

Bug: 34975053
Test: Builds
Change-Id: I84e7b0fe88a146ce43149faf8cfbfe5d8d5030ce

7 years agoRefine battery text in battery header
jackqdyulei [Tue, 14 Feb 2017 01:33:06 +0000 (17:33 -0800)]
Refine battery text in battery header

1. When there exists estimate time, show it, otherwise
show battery status label.
2. Change the summary based on whether it is charging.
(Estimated time left vs Time to full charge)

Bug: 35328749
Test: RunSettingsRoboTests
Change-Id: I64ee8acd248062b4effcfc58ed908be7d89621a3

7 years agoMerge "Add metric events triggers for new storage actions."
TreeHugger Robot [Fri, 17 Feb 2017 20:48:29 +0000 (20:48 +0000)]
Merge "Add metric events triggers for new storage actions."

7 years agoChange MaskableIconDrawable to AdaptiveIconDrawable
Hyunyoung Song [Fri, 17 Feb 2017 19:32:34 +0000 (11:32 -0800)]
Change MaskableIconDrawable to AdaptiveIconDrawable

Test: $ make -j31 dist

Bug: 35399620
Change-Id: I2f6632ea31e23a46ef57af569eb55e5a42df5028

7 years agoMerge "Blocks resources from adding headers that match settings"
TreeHugger Robot [Fri, 17 Feb 2017 19:10:13 +0000 (19:10 +0000)]
Merge "Blocks resources from adding headers that match settings"

7 years agoIgnore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859 am...
Junda Liu [Fri, 17 Feb 2017 18:17:43 +0000 (18:17 +0000)]
Ignore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859 am: 8db5e61fac
am: 3e24e46b39

Change-Id: Iab1a5a4812537a2d6415fc87ccd050283b0269e9

7 years agoIgnore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859 am...
Junda Liu [Fri, 17 Feb 2017 18:17:27 +0000 (18:17 +0000)]
Ignore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859 am: 1bc3adf38a
am: 7372d9d323

Change-Id: Iffbc4d8c5ea63355dba4b8c31c584d188a2b5a60

7 years agoIgnore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859
Junda Liu [Fri, 17 Feb 2017 18:12:27 +0000 (18:12 +0000)]
Ignore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859
am: 8db5e61fac

Change-Id: I0b00e7afb390fb91556f0abc5b2bfdee39af767f

7 years agoIgnore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859
Junda Liu [Fri, 17 Feb 2017 18:12:08 +0000 (18:12 +0000)]
Ignore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859
am: 1bc3adf38a

Change-Id: Id8fa449ad8bc7f3b36c26ad2bfb0c8d79a04376e

7 years agoIgnore orientation change to preserve ApnEditor. am: f414d58ddf
Junda Liu [Fri, 17 Feb 2017 18:07:06 +0000 (18:07 +0000)]
Ignore orientation change to preserve ApnEditor. am: f414d58ddf
am: 77f75b3859

Change-Id: Idf45ab75502d89ed26cf082e11f155b7d6201658

7 years agoIgnore orientation change to preserve ApnEditor. am: f414d58ddf
Junda Liu [Fri, 17 Feb 2017 18:07:06 +0000 (18:07 +0000)]
Ignore orientation change to preserve ApnEditor. am: f414d58ddf
am: 77f75b3859

Change-Id: I9e58a2cb02bc3c71f97ac43061e2ceb5d5702c2e

7 years agoIgnore orientation change to preserve ApnEditor.
Junda Liu [Fri, 17 Feb 2017 18:02:35 +0000 (18:02 +0000)]
Ignore orientation change to preserve ApnEditor.
am: f414d58ddf

Change-Id: I76b7df13239829f0fbba24db30babf640b2506fd

7 years agoBlocks resources from adding headers that match settings
Matthew Fritze [Wed, 15 Feb 2017 18:03:41 +0000 (10:03 -0800)]
Blocks resources from adding headers that match settings

Certain Xml resources have a single setting for the page
which often means the header and setting have the same
title. This CL stops the header from being indexed in
that case.

Bug: 33701673
Test: make RunSettingsRoboTests
Change-Id: Ie617414010e654c41fd014aa2fe297e6d2088ca5

7 years agoHide incomplete feature.
Julia Reynolds [Fri, 17 Feb 2017 14:28:17 +0000 (09:28 -0500)]
Hide incomplete feature.

Test: manual
Change-Id: Ic35afcbc0ab4374a0c50e61f34829a03857674b2

7 years agoMerge "Modify test cases according to change in remove preference behavior."
TreeHugger Robot [Fri, 17 Feb 2017 04:01:37 +0000 (04:01 +0000)]
Merge "Modify test cases according to change in remove preference behavior."

7 years agoMerge "Make the list in advanced battery page sorted by usage."
TreeHugger Robot [Fri, 17 Feb 2017 02:40:26 +0000 (02:40 +0000)]
Merge "Make the list in advanced battery page sorted by usage."

7 years agoMerge "Add settings for the assist gesture."
TreeHugger Robot [Fri, 17 Feb 2017 02:12:56 +0000 (02:12 +0000)]
Merge "Add settings for the assist gesture."

7 years agoRecursively find preference in progressive disclosure.
Doris Ling [Fri, 17 Feb 2017 01:40:40 +0000 (17:40 -0800)]
Recursively find preference in progressive disclosure.

Add handling to check for nested preference when finding preference
in the collapsed list.

Change-Id: I830bdd5fd99f09c505f41fd3bb2fa968eb9b13cf
Fix: 35363405
Test: make RunSettingsRoboTests

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 17 Feb 2017 00:59:01 +0000 (00:59 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoImport translations. DO NOT MERGE am: 6f3ae7778c -s ours
Bill Yi [Fri, 17 Feb 2017 00:51:27 +0000 (00:51 +0000)]
Import translations. DO NOT MERGE am: 6f3ae7778c  -s ours
am: 8f405abe1a  -s ours

Change-Id: I6e267ebde7e4d6424ed13f1d12d77772f8734c3b

7 years agoModify test cases according to change in remove preference behavior.
Doris Ling [Fri, 17 Feb 2017 00:35:26 +0000 (16:35 -0800)]
Modify test cases according to change in remove preference behavior.

Bug: 35365702
Test: make RunSettingsRoboTests
Change-Id: I541f4bd946116c766a90da955c11933a5499fa93

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 17 Feb 2017 00:44:39 +0000 (00:44 +0000)]
Import translations. DO NOT MERGE
am: 6f3ae7778c  -s ours

Change-Id: I10a744f60859902543922168db03a878614f641e

7 years agoMake the list in advanced battery page sorted by usage.
jackqdyulei [Thu, 9 Feb 2017 17:38:01 +0000 (09:38 -0800)]
Make the list in advanced battery page sorted by usage.

1. Make the preference dynamically generated in code
2. Make PowerUsageData comparable and add title resource id.

Bug: 34385770
Test: RunSettingsRoboTests
Change-Id: I1b90b4c6cc7107bc146e3554db04cec7641e1cde

7 years agoMerge "Mark only browser as default in app detail page"
TreeHugger Robot [Fri, 17 Feb 2017 00:04:34 +0000 (00:04 +0000)]
Merge "Mark only browser as default in app detail page"

7 years agoMerge "Update cast setting icon"
TreeHugger Robot [Thu, 16 Feb 2017 22:59:46 +0000 (22:59 +0000)]
Merge "Update cast setting icon"

7 years agoLog search result click and its rank.
Fan Zhang [Thu, 16 Feb 2017 01:12:12 +0000 (17:12 -0800)]
Log search result click and its rank.

Bug: 34975477
Test: RunSettingsRoboTests
Change-Id: I86e72dbd27ac5daeafa4fb35ad55662de7b3eca9

7 years agoMark only browser as default in app detail page
Fan Zhang [Thu, 16 Feb 2017 19:56:18 +0000 (11:56 -0800)]
Mark only browser as default in app detail page

Change-Id: I8112d859ba788a1dc67c44b5e0de668c0fc13169
Fix: 35307728
Test: make RunSettingsRoboTests

7 years agoMerge "Change launcher and shortcut icons to MaskableIconDrawable Test: manual test...
Hyunyoung Song [Thu, 16 Feb 2017 22:18:15 +0000 (22:18 +0000)]
Merge "Change launcher and shortcut icons to MaskableIconDrawable Test: manual test on Launcher3 Bug: 33034275 Bug: 35431198"

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 16 Feb 2017 21:47:19 +0000 (13:47 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ie282481af5e8303bdbbdf8f0e91b70cfe433440e
Auto-generated-cl: translation import

7 years agoAdd metric events triggers for new storage actions.
Daniel Nishi [Wed, 8 Feb 2017 18:17:30 +0000 (10:17 -0800)]
Add metric events triggers for new storage actions.

Bug: 35063738
Test: Settings Robotests
Change-Id: I435cb16c492d3777e735266c2d3a2b1930443acb

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 16 Feb 2017 21:41:54 +0000 (13:41 -0800)]
Import translations. DO NOT MERGE

Change-Id: I777c53d3ee4c3ed506e931b8d1403375ea947355
Auto-generated-cl: translation import

7 years agoMerge "Update string: lockdown confirmation dialog title"
TreeHugger Robot [Thu, 16 Feb 2017 20:58:42 +0000 (20:58 +0000)]
Merge "Update string: lockdown confirmation dialog title"

7 years agoUpdate cast setting icon
Fan Zhang [Thu, 16 Feb 2017 20:53:44 +0000 (12:53 -0800)]
Update cast setting icon

Change-Id: Id5cbe994f58c3daea4c70ffd76718ac56389a610
Fix: 35407157
Test: manual

7 years agoChange launcher and shortcut icons to MaskableIconDrawable
Hyunyoung Song [Tue, 14 Feb 2017 18:40:58 +0000 (10:40 -0800)]
Change launcher and shortcut icons to MaskableIconDrawable
Test: manual test on Launcher3
Bug: 33034275
Bug: 35431198

Change-Id: Ief9f49ec38ec95daa738799398fc4b458d634acc

7 years agoMerge "Fix NPE in WriteWifiConfigToNfcDialog."
TreeHugger Robot [Thu, 16 Feb 2017 20:26:39 +0000 (20:26 +0000)]
Merge "Fix NPE in WriteWifiConfigToNfcDialog."

7 years agoMerge "Add source metrics when launching top level setting items."
TreeHugger Robot [Thu, 16 Feb 2017 20:04:30 +0000 (20:04 +0000)]
Merge "Add source metrics when launching top level setting items."

7 years agoUpdate string: lockdown confirmation dialog title
Robin Lee [Thu, 16 Feb 2017 17:48:41 +0000 (17:48 +0000)]
Update string: lockdown confirmation dialog title

The most common string shown previously was:
  "Set always-on VPN?"

It's now a different string:
  "Only allow connections through VPN?"

This makes more sense because the only way to get to this dialog in
stock Settings is by first enabling a specific VPN and afterwards
trying to set the same VPN to lockdown mode.

In this case the prompt should specifically refer to lockdown, not
having a VPN connection in general (because the user clearly already
has one).

Test: m Settings -j20, install a VPN, connect to it, open Settings > Network > Vpn > {VPN name} and select 'only allow connections through VPN'. Verify the title is now the one referred to in the commit message.
Fix: 34491069
Change-Id: Ic74a8b91eb8ae64fbe15723c173281f4ede52b06

7 years agoFix NPE in WriteWifiConfigToNfcDialog.
Amin Shaikh [Thu, 16 Feb 2017 01:47:04 +0000 (17:47 -0800)]
Fix NPE in WriteWifiConfigToNfcDialog.

Bug: 34691792
Test: m RunSettingsRoboTests
Change-Id: I0e396f4f590c8de6636c7494e20d74c562b7c9cd

7 years agoAdd source metrics when launching top level setting items.
Fan Zhang [Thu, 16 Feb 2017 17:26:37 +0000 (09:26 -0800)]
Add source metrics when launching top level setting items.

Change-Id: Idca6e136747fb40ba962307abd2620cdd241c3b1
Fix: 35359289
Test: make RunSettingsRoboTests

7 years agoMerge "Fix a race condition where the extra view may not update timely."
Daniel Nishi [Thu, 16 Feb 2017 17:39:40 +0000 (17:39 +0000)]
Merge "Fix a race condition where the extra view may not update timely."

7 years agoImport translations. DO NOT MERGE am: 7e0985b644 -s ours
Bill Yi [Thu, 16 Feb 2017 15:56:31 +0000 (15:56 +0000)]
Import translations. DO NOT MERGE am: 7e0985b644  -s ours
am: f6247a41f7  -s ours

Change-Id: I69de537de2f21a01535222697a0918f8a2245ddd

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 16 Feb 2017 15:49:10 +0000 (15:49 +0000)]
Import translations. DO NOT MERGE
am: 7e0985b644  -s ours

Change-Id: I90c3ee4b3610f62d693663cb7372b0e96806e9b5

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 16 Feb 2017 13:24:28 +0000 (05:24 -0800)]
Import translations. DO NOT MERGE

Change-Id: I9e1516012801af3f6f21231d6615f9a8969625ed
Auto-generated-cl: translation import

7 years agoMerge "Modify text in Apps & notifications settings."
TreeHugger Robot [Thu, 16 Feb 2017 05:25:44 +0000 (05:25 +0000)]
Merge "Modify text in Apps & notifications settings."

7 years agoMerge "Log source with visibility change"
TreeHugger Robot [Thu, 16 Feb 2017 04:42:43 +0000 (04:42 +0000)]
Merge "Log source with visibility change"

7 years agoModify text in Apps & notifications settings.
Doris Ling [Wed, 15 Feb 2017 23:42:30 +0000 (15:42 -0800)]
Modify text in Apps & notifications settings.

- in Settings->Apps & notifications->Apps->[select app], update the
  header summary to installation status, and move the version text to
  the bottom of the page.
- updatd preference title from Apps to App info
- update preference title from Notifications to App notifications

Bug: 34977561
Test: make RunSettingsRoboTests
Change-Id: I97e9b81c739fb99eaca2cf45fb11f208ad6cd9ca

7 years agoMerge "Update texts for Settings->Sound->Do not disturb"
TreeHugger Robot [Thu, 16 Feb 2017 02:51:37 +0000 (02:51 +0000)]
Merge "Update texts for Settings->Sound->Do not disturb"

7 years agoMerge "Update preference title for add user on lock screen."
Doris Ling [Thu, 16 Feb 2017 01:58:01 +0000 (01:58 +0000)]
Merge "Update preference title for add user on lock screen."

7 years agoLog source with visibility change
Fan Zhang [Tue, 14 Feb 2017 23:02:35 +0000 (15:02 -0800)]
Log source with visibility change

- Add a method in VisibilityLoggerMixin to log visible event using
  LogMaker, which allows logging additional FIELD_CONTEXT field.
- In Utils.startFragment, add current page's metricsCategory as an extra
  to next page.
- In next page's onResume(), extract the previous page's metricsCategory
  and send it to VisibilityLoggerMixin.visible()
- Update all caller with additional paramters

Change-Id: I8e1f2597fa465b7d3aa16fa1d21c052a3219694a
Fix: 35359289
Test: RunSettingsRoboTests

7 years agoMerge "Update layout for App info page."
TreeHugger Robot [Thu, 16 Feb 2017 01:05:39 +0000 (01:05 +0000)]
Merge "Update layout for App info page."