Commit Graph

34170 Commits

Author SHA1 Message Date
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
Doris Ling
8a7504eb12 Modify test cases according to change in remove preference behavior.
Bug: 35365702
Test: make RunSettingsRoboTests
Change-Id: I541f4bd946116c766a90da955c11933a5499fa93
2017-02-16 16:45:27 -08:00
Bill Yi
8f405abe1a Import translations. DO NOT MERGE
am: 6f3ae7778c  -s ours

Change-Id: I10a744f60859902543922168db03a878614f641e
2017-02-17 00:44:39 +00:00
jackqdyulei
22dbc106e7 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
2017-02-16 16:22:16 -08:00
TreeHugger Robot
db59347c29 Merge "Mark only browser as default in app detail page" 2017-02-17 00:04:35 +00:00
TreeHugger Robot
4451440a5e Merge "Update cast setting icon" 2017-02-16 22:59:46 +00:00
Fan Zhang
8fc4e819a2 Log search result click and its rank.
Bug: 34975477
Test: RunSettingsRoboTests
Change-Id: I86e72dbd27ac5daeafa4fb35ad55662de7b3eca9
2017-02-16 14:53:49 -08:00
Fan Zhang
6786d8cd53 Mark only browser as default in app detail page
Change-Id: I8112d859ba788a1dc67c44b5e0de668c0fc13169
Fix: 35307728
Test: make RunSettingsRoboTests
2017-02-16 14:32:05 -08:00
Hyunyoung Song
cfcecb06ac Merge "Change launcher and shortcut icons to MaskableIconDrawable Test: manual test on Launcher3 Bug: 33034275 Bug: 35431198" 2017-02-16 22:18:16 +00:00
Bill Yi
6f3ae7778c Import translations. DO NOT MERGE
Change-Id: Ie282481af5e8303bdbbdf8f0e91b70cfe433440e
Auto-generated-cl: translation import
2017-02-16 13:47:19 -08:00
Daniel Nishi
e0eb1a2e27 Add metric events triggers for new storage actions.
Bug: 35063738
Test: Settings Robotests
Change-Id: I435cb16c492d3777e735266c2d3a2b1930443acb
2017-02-16 13:43:03 -08:00
Bill Yi
acda1e6c53 Import translations. DO NOT MERGE
Change-Id: I777c53d3ee4c3ed506e931b8d1403375ea947355
Auto-generated-cl: translation import
2017-02-16 13:41:54 -08:00
TreeHugger Robot
be59c35037 Merge "Update string: lockdown confirmation dialog title" 2017-02-16 20:58:42 +00:00
Fan Zhang
3d0c5c2e38 Update cast setting icon
Change-Id: Id5cbe994f58c3daea4c70ffd76718ac56389a610
Fix: 35407157
Test: manual
2017-02-16 12:53:44 -08:00
Hyunyoung Song
1f093dd94c Change launcher and shortcut icons to MaskableIconDrawable
Test: manual test on Launcher3
Bug: 33034275
Bug: 35431198

Change-Id: Ief9f49ec38ec95daa738799398fc4b458d634acc
2017-02-16 12:31:49 -08:00
TreeHugger Robot
33c51a7b5b Merge "Fix NPE in WriteWifiConfigToNfcDialog." 2017-02-16 20:26:39 +00:00
TreeHugger Robot
a35335f09b Merge "Add source metrics when launching top level setting items." 2017-02-16 20:04:31 +00:00
Robin Lee
7f96c4c848 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
2017-02-16 19:14:25 +00:00
Amin Shaikh
5bac36a15a Fix NPE in WriteWifiConfigToNfcDialog.
Bug: 34691792
Test: m RunSettingsRoboTests
Change-Id: I0e396f4f590c8de6636c7494e20d74c562b7c9cd
2017-02-16 10:34:36 -08:00
Fan Zhang
cb287cfcd2 Add source metrics when launching top level setting items.
Change-Id: Idca6e136747fb40ba962307abd2620cdd241c3b1
Fix: 35359289
Test: make RunSettingsRoboTests
2017-02-16 10:25:49 -08:00
Daniel Nishi
ce82b66136 Merge "Fix a race condition where the extra view may not update timely." 2017-02-16 17:39:40 +00:00
Bill Yi
42df1dcac0 Import translations. DO NOT MERGE am: 7e0985b644 -s ours
am: f6247a41f7  -s ours

Change-Id: I69de537de2f21a01535222697a0918f8a2245ddd
2017-02-16 15:56:31 +00:00
Bill Yi
f6247a41f7 Import translations. DO NOT MERGE
am: 7e0985b644  -s ours

Change-Id: I90c3ee4b3610f62d693663cb7372b0e96806e9b5
2017-02-16 15:49:10 +00:00
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