Commit Graph

33514 Commits

Author SHA1 Message Date
Fan Zhang
20c5812a65 Add logging to trace when force stop button is clicked
Bug: 35633637
Test: manual
Change-Id: If7bcf7a3265d1eb75b7f58337f4757dfcbb0ba2f
2017-02-21 17:49:12 -08:00
TreeHugger Robot
a22842a5bf Merge "Update wifi calling summary text during onResume" 2017-02-22 00:30:16 +00:00
Daniel Nishi
3633c243ed Merge changes from topic 'secondary-users'
* changes:
  Update the loading of info for the secondary users.
  Add support for visualizing secondary users.
2017-02-21 23:20:29 +00:00
TreeHugger Robot
0113b65753 Merge "Add icons for Wi-Fi wakeup and notification settings toggles." 2017-02-21 23:04:30 +00:00
TreeHugger Robot
f8ecb13168 Merge "Deprecate AppListPreference and AppListPrefWithSettings" 2017-02-21 23:02:26 +00:00
TreeHugger Robot
3135409d4e Merge "Rank results that match the prefix of the first word higher" 2017-02-21 22:46:49 +00:00
Fan Zhang
010c2af1bf Update wifi calling summary text during onResume
Change-Id: Ic376e65b418a966c53eef30bea7ca55edf72ac29
Fix: 35323207
Test: make RunSettingsRoboTests
2017-02-21 14:12:57 -08:00
Fan Zhang
dfce62c507 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
2017-02-21 13:01:00 -08:00
Stephen Chen
614e5c3e5c Add icons for Wi-Fi wakeup and notification settings toggles.
Bug:35350450
Test: visual inspection on device.
Change-Id: Idc826002da98675b7c2ba675db98cd8c30b76ab2
2017-02-21 12:17:46 -08:00
Daniel Nishi
422e7c354d Update the loading of info for the secondary users.
Bug: 34715777, 34225103
Test: Settings Robotest
Change-Id: I32bb15ad8bc866c1fd41728e56faa8b09ae11eb6
2017-02-21 12:08:28 -08:00
Daniel Nishi
dfed8a2acb 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: 34715777, 34225103
Test: Settings Robotest
Change-Id: Ib9b692b214f5ce5d303dfd64516381443d4acebd
2017-02-21 12:07:23 -08:00
Lei Yu
aba2c95ae0 Merge "Refine battery text in battery header" 2017-02-21 18:40:53 +00:00
Doris Ling
d33651cf70 Merge "Recursively find preference in progressive disclosure." 2017-02-21 18:26:28 +00:00
Derek Sollenberger
e3aade4a67 Merge "Add developer setting to set the default GPU renderer." 2017-02-21 17:37:39 +00:00
Soroosh Mariooryad
e457e35ec0 Add ranking to SuggestionFeatureProvider interface.
Test: RunSettingsRoboTests
Fixes: b/35363662

Change-Id: Ib786e6b2733e2b151f73fb68e174a21aedb2b20a
2017-02-20 17:34:36 -08:00
Soroosh Mariooryad
25d8049bb2 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
2017-02-20 12:40:15 -08:00
Anton Philippov
0f76385e13 Merge "Add tests for BackupSettingsActivity" 2017-02-20 12:36:18 +00:00
Matthew Fritze
b7b286cb89 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
2017-02-18 22:22:29 +00:00
TreeHugger Robot
f1c80deab0 Merge "SearchView keyboard opens and closes appropriately" 2017-02-18 01:41:36 +00:00
TreeHugger Robot
c4dafb43d3 Merge "Add type service in settings advanced page." 2017-02-18 01:08:22 +00:00
TreeHugger Robot
46f850191f Merge "Change MaskableIconDrawable to AdaptiveIconDrawable" 2017-02-18 01:05:02 +00:00
TreeHugger Robot
76cf6f9a68 Merge "Fix problem with usb mode summary not updated correctly." 2017-02-18 01:00:00 +00:00
TreeHugger Robot
cb0993ff94 Merge "Move InputMethodAndSubtypeEnabler to SettingsLib and port to TV" 2017-02-18 00:21:25 +00:00
TreeHugger Robot
5985ff098d Merge "Log search result click and its rank." 2017-02-18 00:09:01 +00:00
Matthew Fritze
592e4d739b 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: 34723251, 35164545
Test: SearchFragmentEspressoTest, manual test requested from QA
2017-02-17 23:37:26 +00:00
TreeHugger Robot
76f2de1c56 Merge "Update string" 2017-02-17 23:36:48 +00:00
Doris Ling
21711681ea 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
2017-02-17 15:22:13 -08:00
jackqdyulei
acc195fdde Add type service in settings advanced page.
Currently it only includes the gms service

Bug: 35317876
Test: RunSettingsRoboTests
Change-Id: I20a2a9d320efe4aed036552d450f59c89e81584a
2017-02-17 15:17:31 -08:00
Julia Reynolds
07eaca52f4 Merge "Hide incomplete feature." 2017-02-17 22:30:13 +00:00
Tony Mantler
4d27b2ce5b 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
2017-02-17 14:04:40 -08:00
Fan Zhang
5b3197b986 Update string
Bug: 34975053
Test: Builds
Change-Id: I84e7b0fe88a146ce43149faf8cfbfe5d8d5030ce
2017-02-17 13:58:50 -08:00
jackqdyulei
e2fbdfefef 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
2017-02-17 13:57:43 -08:00
TreeHugger Robot
07800b319d Merge "Add metric events triggers for new storage actions." 2017-02-17 20:48:34 +00:00
Hyunyoung Song
da6dac806b Change MaskableIconDrawable to AdaptiveIconDrawable
Test: $ make -j31 dist

Bug: 35399620
Change-Id: I2f6632ea31e23a46ef57af569eb55e5a42df5028
2017-02-17 11:34:49 -08:00
TreeHugger Robot
933a2b6d48 Merge "Blocks resources from adding headers that match settings" 2017-02-17 19:10:14 +00:00
Junda Liu
e633603223 Ignore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859 am: 8db5e61fac
am: 3e24e46b39

Change-Id: Iab1a5a4812537a2d6415fc87ccd050283b0269e9
2017-02-17 18:17:43 +00:00
Junda Liu
7746cd0007 Ignore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859 am: 1bc3adf38a
am: 7372d9d323

Change-Id: Iffbc4d8c5ea63355dba4b8c31c584d188a2b5a60
2017-02-17 18:17:27 +00:00
Junda Liu
3e24e46b39 Ignore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859
am: 8db5e61fac

Change-Id: I0b00e7afb390fb91556f0abc5b2bfdee39af767f
2017-02-17 18:12:27 +00:00
Junda Liu
7372d9d323 Ignore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859
am: 1bc3adf38a

Change-Id: Id8fa449ad8bc7f3b36c26ad2bfb0c8d79a04376e
2017-02-17 18:12:08 +00:00
Junda Liu
8db5e61fac Ignore orientation change to preserve ApnEditor. am: f414d58ddf
am: 77f75b3859

Change-Id: I9e58a2cb02bc3c71f97ac43061e2ceb5d5702c2e
2017-02-17 18:07:06 +00:00
Junda Liu
1bc3adf38a Ignore orientation change to preserve ApnEditor. am: f414d58ddf
am: 77f75b3859

Change-Id: Idf45ab75502d89ed26cf082e11f155b7d6201658
2017-02-17 18:07:06 +00:00
Junda Liu
77f75b3859 Ignore orientation change to preserve ApnEditor.
am: f414d58ddf

Change-Id: I76b7df13239829f0fbba24db30babf640b2506fd
2017-02-17 18:02:35 +00:00
Matthew Fritze
04615bc1b6 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
2017-02-17 09:39:21 -08:00
Julia Reynolds
04fe572a2f Hide incomplete feature.
Test: manual
Change-Id: Ic35afcbc0ab4374a0c50e61f34829a03857674b2
2017-02-17 09:48:58 -05:00
TreeHugger Robot
c65e3a19a1 Merge "Modify test cases according to change in remove preference behavior." 2017-02-17 04:01:42 +00:00
TreeHugger Robot
309862d3b8 Merge "Make the list in advanced battery page sorted by usage." 2017-02-17 02:40:27 +00:00
TreeHugger Robot
3e0ae4ed90 Merge "Add settings for the assist gesture." 2017-02-17 02:13:00 +00:00
Doris Ling
493fd4e6d6 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
2017-02-16 17:40:40 -08:00
TreeHugger Robot
ad36812e88 Merge "Import translations. DO NOT MERGE" 2017-02-17 00:59:02 +00:00
Bill Yi
87c04154f4 Import translations. DO NOT MERGE am: 6f3ae7778c -s ours
am: 8f405abe1a  -s ours

Change-Id: I6e267ebde7e4d6424ed13f1d12d77772f8734c3b
2017-02-17 00:51:27 +00:00