Commit Graph

33756 Commits

Author SHA1 Message Date
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
Anton Philippov
f8b3154586 Add tests for BackupSettingsActivity
Bug: 34925593
Test: make RunSettingsRoboTests
Change-Id: I539d417ca70224e3c7554abc097868ca366de89c
2017-02-14 11:02:40 +00:00
TreeHugger Robot
cd79e3a785 Merge "Add logging for settings" 2017-02-14 03:01:32 +00:00
TreeHugger Robot
b88f73a059 Merge "Update char_limit for new string" 2017-02-14 02:21:20 +00:00
TreeHugger Robot
e1b06c9a19 Merge "Deprecate SettingsDrawerActivity.openTile." 2017-02-14 01:55:53 +00:00
Dmitry Dementyev
007d120c47 Merge "Add permission check to Intents used by Authenticator Settings." 2017-02-14 01:27:46 +00:00
Fan Zhang
42aaa53e75 Add logging for settings
- Log when navigating from Settings to injected tiles.
- Log when user creates a new widget shortcut

Fix: 33209678
Fix: 30137094
Test: RunSettingsRoboTests
Change-Id: I1e0f4e00709c392cde2550fafe53890836387c99
2017-02-13 16:57:28 -08:00
Fan Zhang
a516a22239 Update char_limit for new string
Change-Id: I49fc0522a5522bf5dae16d1a2d12e2819eee7a2a
Fix: 35187169
Test: build
2017-02-13 16:44:18 -08:00
Philip P. Moltmann
b92663afb1 [DO NOT MERGE] Revert "[DO NOT MERGE] Use new QueuedWork interface."
This reverts commit 81758edffa.

Bug: 30662828
Change-Id: I5c877a3a888f075afcfb9f49ec92cf3ad43f6304
2017-02-13 23:44:55 +00:00
Dmitry Dementyev
03e250bb55 Add permission check to Intents used by Authenticator Settings.
Setting shares system uid and can be used to bypass different security
checks.
We add proper handling for intents which resolve toexported=true activities with permission filed.
Added nested preferences filtering.

Change-Id: If68343d155364654fa7db55ace3fb3c4db508c7e
Test: manual tests
Bug: 14408627
2017-02-13 14:54:21 -08:00
Fan Zhang
e2de8d5e6f Fix a bug where SYNC_SETTINGS intent opens a blank page.
Point to the intent to new IA fragment (User & Account)

Change-Id: I3880518f36f875091175432c5e91cfcd7edb42cd
Fix: 34395427
Test: run settings integ test
2017-02-13 14:43:29 -08:00
Fan Zhang
628b3cb76e Deprecate SettingsDrawerActivity.openTile.
Use DashboardFeatureProvider to open tile instead. This makes logic more
centralized in one place, and makes logging easier in the future.

Bug: 30137094
Test: RunSettingsRoboTests
Change-Id: I8a028bb7cac8f70f6c237f253be8668cc3ef257e
2017-02-13 14:41:27 -08:00
TreeHugger Robot
33b0a66aee Merge changes from topic 'hotspot_summary'
* changes:
  Display current vpn for Vpn preference summary text
  Display carrier network name as celluar setting summary.
  Add hotspot summary text
2017-02-13 21:51:11 +00:00
Fan Zhang
0ef0d5006d Display current vpn for Vpn preference summary text
Change-Id: Id9917a07e519d16e2000b4fa9888f783171e55f8
Fix: 34974598
Test: RunSettingsRoboTests
2017-02-13 13:22:48 -08:00
Fan Zhang
333922ac88 Display carrier network name as celluar setting summary.
Bug: 34974598
Test: make RunSettingsRoboTests
Change-Id: I99436337919440e0dd21653f9ea63d6f3a694df0
2017-02-13 13:22:43 -08:00
Fan Zhang
c689d136c1 Add hotspot summary text
Bug: 34974598
Test: RunSettingsLibRoboTests

Change-Id: If5d17bf458f980b4f3a8fdeb4718bbf5d2993a21
2017-02-13 13:18:35 -08:00
TreeHugger Robot
85de8ad126 Merge "Add BatteryMeterView in Settings" 2017-02-13 20:45:17 +00:00
jackqdyulei
51967c0e6a Add BatteryMeterView in Settings
1. Show gauge icon at the top of battery main page instead of
battery usage graph.
2. Move the click action from battery usage graph to gauge icon.

Bug: 34387464
Test: RunSettingsRoboTest

Change-Id: Ib182619d6805b401cde03a50e2ae907cf4df7b94
2017-02-13 11:03:07 -08:00
TreeHugger Robot
65af66f0d8 Merge "Replace deprecated ACTION_MASTER_CLEAR by ACTION_FACTORY_RESET." 2017-02-13 17:46:23 +00:00
Bill Yi
3477a577f3 Import translations. DO NOT MERGE am: da8a98fb26 -s ours
am: daa2d5a23a  -s ours

Change-Id: I08237170e91f978d9f8718fff3df30c6f6be59f3
2017-02-13 17:34:16 +00:00
Bill Yi
daa2d5a23a Import translations. DO NOT MERGE
am: da8a98fb26  -s ours

Change-Id: I111397e147e83c3cc0e8d83d365627792035b238
2017-02-13 17:31:14 +00:00
Lenka Trochtova
3393daccd9 Replace deprecated ACTION_MASTER_CLEAR by ACTION_FACTORY_RESET.
Both do the same, ACTION_FACTORY_RESET is the new name.

Test: manual - reset the device
BUG: 33656232

Change-Id: I30cedea600bfcbeffa5d1094a6e0e83326f7ccfc
2017-02-13 16:02:13 +01:00
Rubin Xu
52221d80d2 Do not show key entries used for user authentication flow
Bug: 33126414
Test: Enable new authentication flow; go to user credentials in Settings
      observe no entries related to user authentication are shown.
Change-Id: I62e5796cc73213b23ca7809a77082350a883fbee
2017-02-13 14:06:17 +00:00
Bill Yi
da8a98fb26 Import translations. DO NOT MERGE
Change-Id: Ia85aa9d355617a44a438932f30332cfcbb70842a
Auto-generated-cl: translation import
2017-02-12 23:02:41 -08:00
Bill Yi
2c3d473e3a Import translations. DO NOT MERGE
Change-Id: Ic5485e66425141363f2c338fa41dc94816916eec
Auto-generated-cl: translation import
2017-02-12 22:56:48 -08:00
Tadashi G. Takaoka
23372e8994 Fix monkey crash by guarding singleton initializing
Fixes: 35203476
Test: Run monkey test and observe no crash happens.
      adb shell monkey -p com.google.android.launcher -p com.android.settings
           -c android.intent.category.LAUNCHER --ignore-security-exceptions
	   --monitor-native-crashes -s 454 -v -v -v 125000
Change-Id: Ib13afcc4e14470510f3ccbb20d7e7d6009347149
2017-02-13 12:58:30 +09:00
Fan Zhang
ac3b32932a Merge "Fix a memory leak caused by dashboard freature provider." 2017-02-12 20:52:07 +00:00
Fan Zhang
27ffe047f1 DO NOT MERGE Fix "3 dot" icon size so it displays fully am: fa190d437b
am: 6583bc3479  -s ours

Change-Id: I3f2e6b5aa6d3d86f2cc11fadff1f2d25c29b3612
2017-02-12 01:44:03 +00:00
Fan Zhang
6583bc3479 DO NOT MERGE Fix "3 dot" icon size so it displays fully
am: fa190d437b

Change-Id: I7deb37ac62ff85f37d945d453bd6285a809779f1
2017-02-12 01:42:03 +00:00
TreeHugger Robot
c3136397a0 Merge "Sync search result loaders" 2017-02-12 01:19:15 +00:00
Fan Zhang
d69b443e35 Fix a memory leak caused by dashboard freature provider.
In constructor, use app context instead of fragment context

Change-Id: I24fbc457037c1d6854ecf0cb270110d73effb662
Fix: 35292764
Test: RunSettingsRoboTests
2017-02-11 16:57:31 -08:00
Fan Zhang
fa190d437b DO NOT MERGE Fix "3 dot" icon size so it displays fully
Viewport size was set wrong due to bad merge, causing the last dot got
truncated slightly.

Change-Id: I5d5bbd703e780b21957613d88a2250bc3ba69bb8
Fix: 28194068
Test: visual
2017-02-11 16:00:31 -08:00
Robin Lee
11bf78028e CredentialFragment anti-pocket dialing measures.
Now it is necessary to actually press the exact "OK" or Back button to
get the dialog to dismiss. This makes pocket wiping that little bit less
likely.

Bug: 32934848
Test: manual, enter the password too many times. The dialog should appear. Attempt to dismiss it by tapping outside the dialog. This should not happen.
Test: correctness of .setCanceledOnTouchOutside is outside scope.
Change-Id: Icff8bd9068f636c0a75decb787b8a5c9161a8cbd
2017-02-11 19:49:02 +00:00
Pavlin Radoslavov
d6d92e5e4f Merge "Add null pointer checks when updating A2DP configuration values" am: 6f7437580c am: bd3f96703c am: fae23e1e00
am: 73aa2c6b3f

Change-Id: Iac81cb29671c198414a53c517deb6db962294d0a
2017-02-11 01:34:12 +00:00
Pavlin Radoslavov
73aa2c6b3f Merge "Add null pointer checks when updating A2DP configuration values" am: 6f7437580c am: bd3f96703c
am: fae23e1e00

Change-Id: I55f901bee2b1a7368cf28cf0b2c6a89e8af27342
2017-02-11 01:31:52 +00:00
Pavlin Radoslavov
fae23e1e00 Merge "Add null pointer checks when updating A2DP configuration values" am: 6f7437580c
am: bd3f96703c

Change-Id: I04f7187c23a0f17c5ef2d37f75d892e4da54111e
2017-02-11 01:28:22 +00:00
Pavlin Radoslavov
bd3f96703c Merge "Add null pointer checks when updating A2DP configuration values"
am: 6f7437580c

Change-Id: I567042ca38e74e2ce228e4bb03c73095c8cf6513
2017-02-11 01:25:50 +00:00
Treehugger Robot
6f7437580c Merge "Add null pointer checks when updating A2DP configuration values" 2017-02-11 01:21:26 +00:00
Phil Weaver
a68c2f73d6 Remove a11y speak passwords settings.
Bug: 28139568
Test: Opened settings, and it's gone!
Change-Id: Ife931c3a076c9b8470b6cde24712cb9280999bea
2017-02-10 16:26:07 -08:00
Fan Zhang
1afcfa62c5 Merge "Update storage setting summary text format." 2017-02-10 21:58:34 +00:00