Commit Graph

34096 Commits

Author SHA1 Message Date
Bill Yi
7e0985b644 Import translations. DO NOT MERGE
Change-Id: I9e1516012801af3f6f21231d6615f9a8969625ed
Auto-generated-cl: translation import
2017-02-16 05:24:28 -08:00
Li Bai
642e717704 Change default long-press time to 400ms
The default long-press time has been changed from 500ms to 400ms by
b/30159825. so the values for the list of long-press timeout options
in Settings app should be changed.

Bug: 35226519
Test: manual - go to Settings > Accessibility > Touch & hold delay

Change-Id: I8e2421ea4119742bb6bf0e27688c65e3de3099dc
2017-02-16 06:28:51 +00:00
TreeHugger Robot
0f28cbd21b Merge "Modify text in Apps & notifications settings." 2017-02-16 05:25:44 +00:00
TreeHugger Robot
3a399f5eb4 Merge "Log source with visibility change" 2017-02-16 04:42:44 +00:00
Doris Ling
015a50bef9 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
2017-02-15 19:02:33 -08:00
TreeHugger Robot
f33561cd74 Merge "Update texts for Settings->Sound->Do not disturb" 2017-02-16 02:51:38 +00:00
Doris Ling
b6fcba73e7 Merge "Update preference title for add user on lock screen." 2017-02-16 01:58:01 +00:00
Fan Zhang
c6ca314c0b 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
2017-02-15 17:17:19 -08:00
TreeHugger Robot
358eab0fff Merge "Update layout for App info page." 2017-02-16 01:05:40 +00:00
TreeHugger Robot
90c3541247 Merge "Add logging when "Advanced" button is clicked" 2017-02-16 01:03:29 +00:00
Doris Ling
d72b6cc1e9 Merge "Remove Cast from Display settings." 2017-02-16 00:16:14 +00:00
Doris Ling
26656b9f4c Remove Cast from Display settings.
Update the display settings xml to remove the wifi-display settings.

Change-Id: I5363e1a9c4e89af8eaa64512a72cf42160b0fee6
Bug: 34975969
Test: Visual
2017-02-15 16:06:22 -08:00
Antony Sargent
05e8dfde9d Add "Instant apps" filter to app listing
Bug: 35098444
Test: automated testing of ManageApplications is hard (b/34768986), so
testing is manual for now: install at least one instant app and then go to
Settings->Apps&Notifications->Apps and see if the filter lets you see
only instant apps.

In Settings->Apps&Notifications->Apps, the list of filters before this CL is:

 All | Enabled | Disabled

With this CL, the filter list becomes:

 All apps | Installed apps | Disabled apps | Instant apps

Change-Id: I65ffbfd7db99f45fc0310c7239bdfc0522c65e3a
2017-02-15 15:35:25 -08:00
Fan Zhang
fe9f0fda35 Add logging when "Advanced" button is clicked
Change-Id: I8259b1b863991935165afb19e34c30dcf5056acf
Fix: 35356464
Test: RunSettingsRoboTests
2017-02-15 15:12:26 -08:00
Rubin Xu
b4d6b4f7f8 Merge "Do not show key entries used for user authentication flow" 2017-02-15 22:37:43 +00:00
Doris Ling
3c67adb804 Update preference title for add user on lock screen.
In Settings->User & accounts, update the preference title for "Add user"
to "Add users from lock screen" and remove the summary.

Bug: 34976320
Test: Visual
Change-Id: Idfb661537ac3b178ca20c2da9e66ab8a16567ba6
2017-02-15 14:02:38 -08:00
Doris Ling
4d8a9bd879 Update texts for Settings->Sound->Do not disturb
- Update title to "Do not disturb preferences"
- Add summary text to reflect the priority only allows preferences
- Refactor the summary handling in ZenModeSettings so that the
  controller can get the summary text

Fix: 34975939
Test: make RunSettingsRoboTests

Change-Id: I3ca1dc43fe1d943735a9f625e66c89708a18300a
2017-02-15 13:53:10 -08:00
TreeHugger Robot
011d78ae47 Merge "Remove extra IndexProviders that provided bad data." 2017-02-15 21:44:15 +00:00
Philip P. Moltmann
8accbf42a6 Merge "Revert accidential merge afe6320d70f46e8af724ef2cde86a5963d198868" 2017-02-15 21:37:35 +00:00
TreeHugger Robot
6e6383026c Merge "Correctly restrict UI for WifiSettings in Guest profile." 2017-02-15 21:36:55 +00:00
Doris Ling
efce44927e Merge "Move Ringtones out of Advanced." 2017-02-15 21:34:28 +00:00
Doris Ling
2ed09339d4 Update layout for App info page.
- Move the app link buttons to the right
- Move the footer buttons to the top below the header
- Rename the app header details title, summary, and icon views.

Bug: 34977561
Test: make RunSettingsRoboTests
Change-Id: Id0cfc2b73b4e5cbbc1a58e497da52560892b69c8
2017-02-15 12:33:42 -08:00
Stephen Chen
8fc61244ef Correctly restrict UI for WifiSettings in Guest profile.
Makes sure the restricted user does not see Wifi Preferences
or Saved Networks activity. Also fixes a bug where the progress
bar is displayed starting the activity in Guest mode, and does not go
away. LinkablePreference is changed to make sure titles can be
multi-lined.

Bug: 35317523
Bug: 35318292
Test: to be done in b/35324506
Change-Id: I4a07a2ab3a83c3adaf87226969fd6f16e41c9419
2017-02-15 11:50:38 -08:00
TreeHugger Robot
ec6cd665b1 Merge "Skip redundant SuggestionLoader run during app start." 2017-02-15 03:04:09 +00:00
Fan Zhang
efba6b4e14 Skip redundant SuggestionLoader run during app start.
also skip DiffUtil when drawing first frame.


Fix: 34103984
Test: make RunSettingsRoboTests
Change-Id: I4891d1bca1f17c437444761eaf3002624934014d
2017-02-15 02:06:08 +00:00
Philip P. Moltmann
5c449ae5ce Revert accidential merge afe6320d70
Test: Clean revert
Change-Id: I674df1a86539b03cb72f43eed2f40f421b953508
2017-02-14 17:03:14 -08:00
TreeHugger Robot
1f52676019 Merge "Update security screen summary text when no fingerprint" 2017-02-15 00:50:39 +00:00
Philip Quinn
a9831d40d0 Add settings for the assist gesture.
Availability of the gesture is gated by a new FeatureProvider.

Test: make -j RunSettingsRoboTests; manual test on
      supported/unsupported configurations.

Change-Id: I3529367a73e33370d5112b91d5144293ffa7fa22
2017-02-14 16:45:23 -08:00
Matthew Fritze
46173a5265 Remove extra IndexProviders that provided bad data.
Gesture Settings and Wireless settings were indexing
duplicate results that only added complexity to Search.
PowerUsageDetail was never supposed to be indexed.

Bug:33701673
Test: make RunSettingsRoboTests
Change-Id: I45d1fa4bd412c3418acec24f8c98eb4736f220ab
2017-02-15 00:36:25 +00:00
TreeHugger Robot
55d2eb6d95 Merge "Create 'See All Networks' Preference to hide additional networks." 2017-02-15 00:34:35 +00:00
TreeHugger Robot
11b2e91890 Merge "Replace footer with regular preference" 2017-02-15 00:12:21 +00:00
Fan Zhang
2cab298f13 Update security screen summary text when no fingerprint
Change-Id: I810c533b0daeab3bd67d9d5be8a89d93738b4962
Fix: 35339887
Test: RunSettingsRoboTest
2017-02-14 15:05:40 -08:00
Doris Ling
a10ff3b109 Move Ringtones out of Advanced.
Increase the tile limit in Settings->Sound so that Ringtones is not
hidden inside the Advances options.

Fix: 35318739
Test: Visual

Change-Id: I08db7b79127226bb6ef8ce8f147e5a90f5939d79
2017-02-14 14:14:09 -08:00
Salvador Martinez
2f0bee5032 Replace footer with regular preference
Replaced the "Manage Storage" footer preference
with a regular preference because the footer type
is not meant to be a touch target. This should fix
the bug with not being able to click on specific
parts of the preference.

Test: run settings espresso tests
Bug: 34349518
Change-Id: I36ada2a6a537a68d9fcbe7e10773896225ecc6b2
2017-02-14 14:12:56 -08:00
Matthew Fritze
fa96bdf428 Merge "Revert "Remove Gesture settings as inline results"" 2017-02-14 22:05:05 +00:00
Matthew Fritze
5a67ccd04e Revert "Remove Gesture settings as inline results"
This reverts commit 4ec4969b33.

Change-Id: I5b0012174864bba8b196220ee29863a9a58faa69
2017-02-14 22:02:13 +00:00
TreeHugger Robot
97ced76a54 Merge "Add account preferences from account type description." 2017-02-14 21:30:41 +00:00
TreeHugger Robot
b2db7d6f9d Merge "Remove Gesture settings as inline results" 2017-02-14 19:03:57 +00:00
Daniel Nishi
1b2b8697ed Merge "Don't show games and music apps in Other Apps." 2017-02-14 18:45:33 +00:00
Doris Ling
13ac8845e7 Add account preferences from account type description.
Move the methods that handles the account type preferences to a separate
class and add the call to it in AccountDetailDashboardFragment.

Change-Id: Ib147fb73807b1264e3faedad3466126f2fd9c84d
Fix: 35224671
Test: Manual
2017-02-14 10:42:58 -08:00
TreeHugger Robot
7e8b00e4b2 Merge "Fix monkey crash by guarding singleton initializing" 2017-02-14 18:40:36 +00:00
Philip P. Moltmann
5a9deda72f resolve merge conflicts of 9ac842a753 to nyc-mr2-dev-plus-aosp
am: afe6320d70

Change-Id: I514cc08bef8ef2b76d90628ae3b21833d3bda206
2017-02-14 18:27:10 +00:00
Stephen Chen
2e966c642f Create 'See All Networks' Preference to hide additional networks.
Bug: 34719725
Test: manual inspection, tests to be added in b/35322551
Change-Id: I1a5a08ca4c53db71b4c0c3d4c2942da65faa67d2
2017-02-14 10:25:53 -08:00
Philip P. Moltmann
afe6320d70 resolve merge conflicts of 9ac842a753 to nyc-mr2-dev-plus-aosp
Test: built
Change-Id: I156db22c13da98bce0077b2acb8d9f1a3d2ce406
2017-02-14 09:51:34 -08:00
Matthew Fritze
4ec4969b33 Remove Gesture settings as inline results
Given that inline results do not have intents associated,
the inline results must be self-explanatory. The gesture
settings ofter requier the video/animation to be
understood. Thus they should not be inline.

Test: RunSettingsRoboTests
Bug:
Change-Id: Iae25365b376ec510f8330bc0a0bf72883cf9a6d4
2017-02-14 09:06:41 -08:00
Derek Sollenberger
f91b036177 Add developer setting to set the default GPU renderer.
Test: manual on-device testing
Bug: 35345959
Change-Id: Ia48c2c7935ceab894467b9e1e040785db28644a5
2017-02-14 11:39:03 -05:00
Philip P. Moltmann
9ac842a753 Merge "[DO NOT MERGE] Revert "[DO NOT MERGE] Use new QueuedWork interface."" into nyc-mr2-dev 2017-02-14 16:03:28 +00:00
Ricky Wai
38c15a53e2 Merge "Change "Long pressing work mode in quick settings" to managed profile settings" 2017-02-14 11:14:13 +00:00
TreeHugger Robot
ba35595d54 Merge "CredentialFragment anti-pocket dialing measures." 2017-02-14 11:14:00 +00:00
Ricky Wai
bf94d09d6e Change "Long pressing work mode in quick settings" to managed profile settings
Test: Long pressing work mode can go to managed profile settings now.

Bug: 34189626
Change-Id: I84820b1ce0a5693f36236c1bb512c99db3c6e9df
2017-02-14 11:13:15 +00:00