Commit Graph

11147 Commits

Author SHA1 Message Date
Fan Zhang
b95ff4ec31 Use a single layout for CreateShortcut activity.
The old layout is inherited from LauncherActivity, which uses a
inconsistent theme and UI between phone and tablet. It's more consistent
to just use a single layout that matches setting theme.

Fixes: 32220535
Test: runtest --path packages/apps/Settings/tests/app/src/com/android/settings/CreateShortcutTest.java
Change-Id: I769d1404c82c2057bf021e4cf557e7cf397d92a7
2016-12-07 16:11:42 -08:00
Nathan Harold
839b9f9733 Add Ims Registration Info to RadioInfo
Replaced not used pdp list.

Bug:32874442
Change-Id: Iadb21a3108aaaa3afcde3972e6f98bfbbd5413f1
2016-12-06 14:54:56 -08:00
Fan Zhang
413eaa4070 Clean up search fragment loader lifecycle.
- Programatically create SearchView to make it always expand across
  entire action bar.
- Store current query text during screen rotation
- Restart loader when query text changes

Bug: 33354491
Test: RunSettingsRoboTests
Change-Id: I63838a38514569aac60c5d67ac52ac06a7acd5a3
2016-12-06 14:43:01 -08:00
Maurice Lam
016e4c6dad Hide next button when max fingerprints enrolled
Hide the next button in FingerprintEnrollIntroduction when the
maximum number of fingerprints is enrolled, and show a message
telling the user about the error.

Test: Added FingerprintEnrollIntroductionTest
Bug: 32406375
Change-Id: If8e3c4f5eb13dd2b3edb5c0442d8f34a16a22674
2016-12-06 18:56:44 +00:00
TreeHugger Robot
cef45dfe1d Merge "Import translations. DO NOT MERGE" 2016-12-06 15:40:36 +00:00
Bill Yi
c3325140ff Import translations. DO NOT MERGE
Change-Id: I50b30e8b6e262aa894458038bda4ee010045a4b9
Auto-generated-cl: translation import
2016-12-05 21:01:52 -08:00
TreeHugger Robot
f5c1577609 Merge "Add search provider for dashboard fragments in new IA." 2016-12-06 03:58:10 +00:00
TreeHugger Robot
3bdf0fc85c Merge "Add search indexing for new gesture pages." 2016-12-06 00:02:16 +00:00
Fan Zhang
6e88635e97 Add search provider for dashboard fragments in new IA.
Bug: 33252252
Test: make RunSettingsRoboTests
Change-Id: I8ea3a144f2bee3d979b909aba29a3360e25fd04b
2016-12-05 15:27:18 -08:00
Fan Zhang
ee524404ff Add search indexing for new gesture pages.
Bug: 33252252
Test: make RunSettingsRoboTests
Change-Id: I927e5b9b87b226ea5ce2006fc2524ac8db740446
2016-12-05 14:24:08 -08:00
Bill Yi
b305ec6762 Revert "Import translations. DO NOT MERGE"
This reverts commit da32519ef4.

Change-Id: I5c1241a6bf00d73f3b877b2eaeaeabd774413401
2016-12-05 18:37:12 +00:00
Bill Yi
da32519ef4 Import translations. DO NOT MERGE
Change-Id: I13691a933f0c8c83859723b28329673fc2467e8d
Auto-generated-cl: translation import
2016-12-03 00:41:05 -08:00
Lei Yu
3740f8f028 Merge "Add account picker to Support Tab" 2016-12-02 17:14:16 +00:00
Fan Zhang
762b4969d9 Add search providers for Connected Devices in new IA
Also add code inspection tests to ensure search provider is added
properly.

Bug: 33252252
Test: make RunSettingsRoboTests
Change-Id: I192e1d9fe0498b76013c4d43b5624d1ef2beb6f9
2016-12-01 15:11:14 -08:00
Bill Yi
5a05a8a4ea Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 32177112
Change-Id: Ib08dd2e3c6b87cc0fbdc16bb167f4e167e52b020
2016-12-01 10:11:25 -08:00
TreeHugger Robot
243cc9f5f6 Merge "Import translations. DO NOT MERGE" 2016-12-01 06:17:43 +00:00
jackqdyulei
5538be509c Add account picker to Support Tab
Add a spinner to select the account for user.

Bug: 32249920
Test: make RunSettingsRoboTests
Change-Id: I372d16ec5ec3230f5f2994d79f4fd27085092236
2016-11-30 14:16:55 -08:00
Bill Yi
7b8e87a43e Import translations. DO NOT MERGE
Change-Id: I0adf0de3925b86d14dc110dd0811ecb53375fd76
Auto-generated-cl: translation import
2016-11-30 11:04:32 -08:00
Doris Ling
20d4b041f7 Add handling for account tiles for specific account type.
- List individual account instead of account type under User & account
  screen.

- Add handling to move account tiles with specific account type from
  top level account dashboard to inside the corresponding account
  preference.

- Rename settings.accounts.AccountPreference to
  settings.accounts.AccountTypePreference to make it less confused
  with settings.AccountPreference

Bug: 31801423
Test: make RunSettingsRoboTests
Change-Id: Iebe70a3c4230e8d979344f142a5c2a60945e552e
2016-11-29 14:18:30 -08:00
TreeHugger Robot
121c3e59af Merge "Import translations. DO NOT MERGE" 2016-11-29 06:17:35 +00:00
Bill Yi
d31b72c065 Import translations. DO NOT MERGE
Change-Id: Ifa2ac6e743d48d3acaae6302fc59310adb4d09d4
Auto-generated-cl: translation import
2016-11-28 19:54:58 -08:00
TreeHugger Robot
01bffd0751 Merge "Update strings." 2016-11-28 22:26:26 +00:00
Fan Zhang
3d9fd0cd73 Update strings.
Bug: 32841662
Test: RunSettingsRoboTests
Change-Id: I178070bfd5f20188e580f8a3a8dd442bd17f3632
2016-11-28 12:48:07 -08:00
Bartosz Fabianowski
2e0b608495 Populate Enterprise Privacy Settings page - batch 2
This CL adds the second batch of items to the Privacy Settings page.

These are all the remaining items that fall into the "What types of
information can your organization see?" category.

Test: make RunSettingsRoboTests
Bug: 32692748
Change-Id: I08569646ed6bb6f5d9d6d65ed2718be8456f50ae
2016-11-28 21:13:30 +01:00
Jean-Michel Trivi
a532263fce Merge "Add appOps settings for accessibility volume control" 2016-11-22 16:28:51 +00:00
Bill Yi
001632d55c Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 32177112
Change-Id: Id8af490796464cb8422fa4be023af34baee73002
2016-11-20 16:12:14 -08:00
Bill Yi
583889b8a7 Import translations. DO NOT MERGE
Change-Id: I92d498cde69e94f4a165a459aedb55d73fd32f65
Auto-generated-cl: translation import
2016-11-19 05:30:02 -08:00
TreeHugger Robot
ba2944973b Merge "Update license activity title." 2016-11-18 19:16:58 +00:00
Bartosz Fabianowski
62b96811c1 Populate Enterprise Privacy Settings page - batch 1
This CL adds the first batch of items to the Privacy Settings page.
These are all the items that fall into the "What types of
information can your organization see?" category and do not require
deeper Framework changes. Further batches are to come in separate
CLs.

Test: make RunSettingsRoboTests
Bug: 32692748
Change-Id: I460093bc45ed0e5baab2a5cdf9833e654d436cc9
2016-11-18 14:17:47 +01:00
TreeHugger Robot
6e32ed6ee9 Merge "Add account preference controller." 2016-11-18 02:13:44 +00:00
Doris Ling
bfac31b517 Add account preference controller.
- Add account preference controller and move the handling for
displaying user's accounts from AccountSettings to the
controller.

- Move AccountPreference and RemoveUserFragment from inner class to
standalone class.

- Add AccountRestrictionHelper to handle API that needs to be mocked for
testing.

Bug: 31801423
Test: make RunSettingsRoboTests
Change-Id: I3d16d0b6a8922a8abec7037c52b7a4de2d76eb0d
2016-11-17 16:33:36 -08:00
TreeHugger Robot
3b64ad983f Merge "Fork Search code to independantly develop and test search." 2016-11-18 00:11:51 +00:00
Matthew Fritze
0ed37c3513 Fork Search code to independantly develop and test search.
This is the start of the new search in Settings. It is a nearly complete
replacement of the old search code in a more modular and flexible
architecture. It is expanding the datasources that it queries, including
the same Settings database, which will now include more first party apps
and be extended to support inline results where the user can change
settings directly from the search view. Search will also fan out to
query new sources (local or remote), and is built in a way
such that adding additional sources is roughly the same amount of work
had they been added in the initial writing of this code.

Query interpretation will now be source-dependant, allowing for future
upgrades to fuzzy search where it is applicable.

Change-Id: Ib0bac1fe92bf8a662d33abf9a99bb6ee2090ec8f
Fixes: 32115225, 32378927
Test: make RunSettingsRoboTests
2016-11-17 14:34:29 -08:00
Fan Zhang
2f5bd3c7b7 Merge "Add dynamic tiles to development settings." 2016-11-17 22:15:45 +00:00
Sean Stout
f20e0ef06e Merge "Changed two strings from using "ringtone" to "sound"" 2016-11-17 20:57:54 +00:00
Fan Zhang
ee904e89f2 Add dynamic tiles to development settings.
Remove static preference for MemorySettings and change it to dynamic
using manifest metadata.

Bug: 32623105
Test: RunSettingsRoboTests

Change-Id: Id224eb8a25fea03c75b8fb0b16842bc5b427897a
2016-11-17 11:46:38 -08:00
jackqdyulei
0627688cb7 Add tint for ic_settings_24dp.xml in settings
Bug: 32592245
Test: manual
Change-Id: I32bdc33984b7d3d417cf6187b917485ac46f91e5
2016-11-16 16:55:34 -08:00
Andrew Sapperstein
18616c79d9 Update license activity title.
Was "Open source licenses". Now is "Third-party licenses".

Test: manual
Change-Id: I44981f59182db362c238777c37ea2035e4743b71
Fixes: 28820041
2016-11-16 16:50:33 -08:00
Jean-Michel Trivi
2792b106f7 Add appOps settings for accessibility volume control
Test: make
Bug 30448020

Change-Id: I88b6fa1da646f4067115d4ef77051f1fed5fa46c
2016-11-16 12:03:50 -08:00
Bill Yi
b4021574fa Import translations. DO NOT MERGE
Change-Id: I1a8c04af27632e0ad198d561f5093fd2d24c7938
Auto-generated-cl: translation import
2016-11-15 20:56:50 -08:00
TreeHugger Robot
c26f6d3ab7 Merge "Insert dynamic dashboard tiles into optional placeholders" 2016-11-15 17:44:54 +00:00
Fan Zhang
9dc9c6174c Insert dynamic dashboard tiles into optional placeholders
Insteads of inserting tile onto screen using absolute priority values,
now each page can have a placeholder preference, and at run time we will
add dynamic dashboard tiles to placeholder's place.

Bug: 32827787
Test: RunSettingsRoboTests
Change-Id: I1fe9e11dce4eb6fb4a9b56af05a2b8e5cdae00d2
2016-11-14 17:09:18 -08:00
Doris Ling
a6b6b8a69e Increase char limit for the account prefererence title.
Per translators' request, increasting the character limit for the
account preference strings.

Bug: 32688421
Test: manual
Change-Id: I78198635e24d2089413d15a210ec0b9e9dfa6807
2016-11-14 16:40:23 -08:00
TreeHugger Robot
3c59f1413e Merge "Update strings in Gesture Settings" 2016-11-14 22:20:48 +00:00
TreeHugger Robot
d663a4ee82 Merge "Fix touch ripples for setup wizard screens" 2016-11-14 21:25:07 +00:00
Sohani Rao
6cebca2599 Merge "Add WiFi toggle prompts - settings" am: b4b2c2aa43
am: 6f126a8f5c

Change-Id: I327d6c864ce58c21a74d628d1945f86ff518234c
2016-11-14 21:21:49 +00:00
Sohani Rao
6f126a8f5c Merge "Add WiFi toggle prompts - settings"
am: b4b2c2aa43

Change-Id: Idef71123fde9475a549a1ccab136564ccf3d4a4a
2016-11-14 21:14:54 +00:00
Sean Stout
1fe5a1a9df Changed two strings from using "ringtone" to "sound"
Test: manual - check settings
Bug: 32645011
Change-Id: I47dc68dba71de022e17ccac31560f0906f433db4
2016-11-14 11:14:29 -08:00
Lei Yu
59f36994ba Merge "Remove hardcode for textcolor in spinner item." 2016-11-14 19:07:49 +00:00
Svetoslav Ganov
e06767af78 Add WiFi toggle prompts - settings
If permission review is enabled toggling WiFi on or off
results in a user prompt to collect a consent. This applies
only to legacy apps, i.e. ones that don't support runtime
permissions as they target SDK 22.

Bug: 28715749
Test: Unit tests
Change-Id: I10d1231ea0c47eec5993dbe367cc0c245cba9385
Merged-In: I10d1231ea0c47eec5993dbe367cc0c245cba9385
2016-11-14 10:32:39 -08:00