OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoMerge "Change EXTRA_TIME_PREF_24_HOUR_FORMAT from boolean to int"
Neil Fuller [Tue, 22 Nov 2016 11:55:21 +0000 (11:55 +0000)]
Merge "Change EXTRA_TIME_PREF_24_HOUR_FORMAT from boolean to int"

7 years agoMove date/time prefs to PreferenceController and add tests.
Fan Zhang [Fri, 18 Nov 2016 19:10:05 +0000 (11:10 -0800)]
Move date/time prefs to PreferenceController and add tests.

Bug: 32996243
Test: RunSettingsRoboTests
Change-Id: Ie537bbcc35a96a63251e46f84b57c0a861b9d013

7 years agoChange EXTRA_TIME_PREF_24_HOUR_FORMAT from boolean to int
Neil Fuller [Fri, 18 Nov 2016 16:05:40 +0000 (16:05 +0000)]
Change EXTRA_TIME_PREF_24_HOUR_FORMAT from boolean to int

To better represent the possible settings values for the
"use 24 hour format" setting : "12", "24", unset (meaning
"use locale default") the platform is being changed.

The EXTRA_TIME_PREF_24_HOUR_FORMAT for the ACTION_TIME_CHANGED
is now an int, not a boolean. 0 means "12", 1 means "24" and
2 means "use locale default".

Bug: 32761619
Test: Manual test on device and make RunSettingsRoboTests
Change-Id: I9aae6f8d12c4724c829f2812626a6193e510dbf9

7 years agoImport translations. DO NOT MERGE am: 001632d55c -s ours am: 9e17133192 -s ours
Bill Yi [Mon, 21 Nov 2016 01:38:38 +0000 (01:38 +0000)]
Import translations. DO NOT MERGE am: 001632d55c  -s ours am: 9e17133192  -s ours
am: d6de02579f  -s ours

Change-Id: I75d1d24d5c4123d3aa782ec7c2850909ec14de89

7 years agoImport translations. DO NOT MERGE am: 001632d55c -s ours
Bill Yi [Mon, 21 Nov 2016 01:33:23 +0000 (01:33 +0000)]
Import translations. DO NOT MERGE am: 001632d55c  -s ours
am: 9e17133192  -s ours

Change-Id: Idda03611e22b67dba524f61ac9884de84950d962

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 21 Nov 2016 01:28:26 +0000 (01:28 +0000)]
Import translations. DO NOT MERGE
am: 001632d55c  -s ours

Change-Id: Ib267ac961a6ef99c9c1401e8967725b0f7914bac

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 21 Nov 2016 00:12:14 +0000 (16:12 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 32177112
Change-Id: Id8af490796464cb8422fa4be023af34baee73002

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 19 Nov 2016 13:30:02 +0000 (05:30 -0800)]
Import translations. DO NOT MERGE

Change-Id: I92d498cde69e94f4a165a459aedb55d73fd32f65
Auto-generated-cl: translation import

7 years agoMerge "Ringtone -> Sound"
Julia Reynolds [Fri, 18 Nov 2016 22:12:24 +0000 (22:12 +0000)]
Merge "Ringtone -> Sound"

7 years agoMerge "Update license activity title."
TreeHugger Robot [Fri, 18 Nov 2016 19:16:57 +0000 (19:16 +0000)]
Merge "Update license activity title."

7 years agoMerge "Make FeatureFactoryImpl non-final so it can have subclass."
Fan Zhang [Fri, 18 Nov 2016 16:59:53 +0000 (16:59 +0000)]
Merge "Make FeatureFactoryImpl non-final so it can have subclass."

7 years agoPopulate Enterprise Privacy Settings page - batch 1
Bartosz Fabianowski [Thu, 17 Nov 2016 23:09:52 +0000 (00:09 +0100)]
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

7 years agoMerge "Fix TTS for GMT offset"
Maurice Lam [Fri, 18 Nov 2016 03:36:48 +0000 (03:36 +0000)]
Merge "Fix TTS for GMT offset"

7 years agoMerge "Add account preference controller."
TreeHugger Robot [Fri, 18 Nov 2016 02:13:43 +0000 (02:13 +0000)]
Merge "Add account preference controller."

7 years agoMerge "Extract counting of installed apps into helper class"
TreeHugger Robot [Fri, 18 Nov 2016 01:14:34 +0000 (01:14 +0000)]
Merge "Extract counting of installed apps into helper class"

7 years agoAdd account preference controller.
Doris Ling [Thu, 10 Nov 2016 23:12:52 +0000 (15:12 -0800)]
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

7 years agoFix TTS for GMT offset
Maurice Lam [Mon, 31 Oct 2016 22:38:02 +0000 (15:38 -0700)]
Fix TTS for GMT offset

Add TtsSpans to the GMT offset string so that TalkBack knows to
read it out in a more natural way.

Test: cd tests/robotests && mma
Bug: 30042703
Change-Id: Ifa3c540f086472bc3a315b35ba40c9497f17d2d8

7 years agoMerge "Fork Search code to independantly develop and test search."
TreeHugger Robot [Fri, 18 Nov 2016 00:11:50 +0000 (00:11 +0000)]
Merge "Fork Search code to independantly develop and test search."

7 years agoMake FeatureFactoryImpl non-final so it can have subclass.
Fan Zhang [Thu, 17 Nov 2016 23:57:58 +0000 (15:57 -0800)]
Make FeatureFactoryImpl non-final so it can have subclass.

Bug: 32885026
Test: manual build
Change-Id: I49e32c37c5ca473f2c8900cb10e23847c3d8a464

7 years agoMerge "Refactor time format preference to be more modular/testable"
TreeHugger Robot [Thu, 17 Nov 2016 23:14:18 +0000 (23:14 +0000)]
Merge "Refactor time format preference to be more modular/testable"

7 years agoFork Search code to independantly develop and test search.
Matthew Fritze [Mon, 24 Oct 2016 17:12:49 +0000 (10:12 -0700)]
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: 3211522532378927
Test: make RunSettingsRoboTests

7 years agoMerge "Add dynamic tiles to development settings."
Fan Zhang [Thu, 17 Nov 2016 22:15:45 +0000 (22:15 +0000)]
Merge "Add dynamic tiles to development settings."

7 years agoRefactor time format preference to be more modular/testable
Fan Zhang [Thu, 17 Nov 2016 18:57:15 +0000 (10:57 -0800)]
Refactor time format preference to be more modular/testable

Change-Id: Ib6c06de9f942c3bb06384947f6b1923b33e511bc
Fixes: 32972964
Test: make RunSettingsRoboTests

7 years agoMerge "Changed two strings from using "ringtone" to "sound""
Sean Stout [Thu, 17 Nov 2016 20:57:50 +0000 (20:57 +0000)]
Merge "Changed two strings from using "ringtone" to "sound""

7 years agoExtract counting of installed apps into helper class
Bartosz Fabianowski [Thu, 17 Nov 2016 20:04:34 +0000 (21:04 +0100)]
Extract counting of installed apps into helper class

This CL extracts the code that counts the number of installed apps
for a set of users from ManageApplications to a helper class,
InstalledAppCounter. The new helper is designed to be unit-testable
(PackageManager dependencies are injected via a new PackageManagerWrapper
abstraction) and customizable (the set of users for which to count is
specified by subclasses).

The CL adds a unit test for the InstalledAppCounter as well.

Test: make RunSettingsRoboTests
Bug: 32692748
Change-Id: Ie7fbd40d9dd998b27f1f9de227b6a187b5c9d315

7 years agoAdd dynamic tiles to development settings.
Fan Zhang [Thu, 17 Nov 2016 00:59:49 +0000 (16:59 -0800)]
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

7 years agoMerge "Refactor setCurrentFunction and setUsbDataUnlocked into one method" am: 89a055...
Jerry Zhang [Thu, 17 Nov 2016 19:16:02 +0000 (19:16 +0000)]
Merge "Refactor setCurrentFunction and setUsbDataUnlocked into one method" am: 89a055aa9d am: 1451a4af78 am: 3473bc219e
am: 0a098f377c

Change-Id: I6cbd7a530b1f4ef8198990da6cb2d00bd92554fb

7 years agoRefactor setCurrentFunction and setUsbDataUnlocked into one method am: a1b60e629f...
Jerry Zhang [Thu, 17 Nov 2016 19:15:41 +0000 (19:15 +0000)]
Refactor setCurrentFunction and setUsbDataUnlocked into one method am: a1b60e629f am: a75fa91247 am: fd764ac0e3
am: f8ed07fc64

Change-Id: Ia6dfa2d6bac22330ad13486444f575d087ba9b06

7 years agoMerge "Move ad-hoc dynamic tile injection into FeatureProvider."
Fan Zhang [Thu, 17 Nov 2016 18:00:49 +0000 (18:00 +0000)]
Merge "Move ad-hoc dynamic tile injection into FeatureProvider."

7 years agoMerge "Invoke notifySummaryChanged callback only when text changed."
Lei Yu [Thu, 17 Nov 2016 17:59:49 +0000 (17:59 +0000)]
Merge "Invoke notifySummaryChanged callback only when text changed."

7 years agoMerge "Use new API Build.getSerial() to get serial number."
TreeHugger Robot [Thu, 17 Nov 2016 02:53:02 +0000 (02:53 +0000)]
Merge "Use new API Build.getSerial() to get serial number."

7 years agoInvoke notifySummaryChanged callback only when text changed.
jackqdyulei [Tue, 15 Nov 2016 18:54:50 +0000 (10:54 -0800)]
Invoke notifySummaryChanged callback only when text changed.

Bug: 32905374
Test: make -j40 RunSettingsRoboTests
Change-Id: I709329d3024656080723383231a884f3cf8a9a43

7 years agoUpdate license activity title.
Andrew Sapperstein [Thu, 17 Nov 2016 00:50:33 +0000 (16:50 -0800)]
Update license activity title.

Was "Open source licenses". Now is "Third-party licenses".

Test: manual
Change-Id: I44981f59182db362c238777c37ea2035e4743b71
Fixes: 28820041

7 years agoMerge "Refactor setCurrentFunction and setUsbDataUnlocked into one method" am: 89a055...
Jerry Zhang [Thu, 17 Nov 2016 00:39:37 +0000 (00:39 +0000)]
Merge "Refactor setCurrentFunction and setUsbDataUnlocked into one method" am: 89a055aa9d am: 1451a4af78
am: 3473bc219e

Change-Id: I6064f90dcde32ccc5132fd5999224a99c7e378b0

7 years agoRefactor setCurrentFunction and setUsbDataUnlocked into one method am: a1b60e629f...
Jerry Zhang [Thu, 17 Nov 2016 00:39:22 +0000 (00:39 +0000)]
Refactor setCurrentFunction and setUsbDataUnlocked into one method am: a1b60e629f am: a75fa91247
am: fd764ac0e3

Change-Id: Iee63263785e80cb1a893dc99204bb2fb225a497a

7 years agoMove ad-hoc dynamic tile injection into FeatureProvider.
Fan Zhang [Thu, 17 Nov 2016 00:03:08 +0000 (16:03 -0800)]
Move ad-hoc dynamic tile injection into FeatureProvider.

Ideally a page should use DashboardFragment and it doesn't need to
handle adding dynamic tiles manually. This method is only designed for
page that are not fully migrated to DashboardFragment yet.

Bug: 32623105
Test: RunSettingsRoboTests
Change-Id: I0cafcddf9a43b164daea500bade869fada5b3f4e

7 years agoMerge "Refactor setCurrentFunction and setUsbDataUnlocked into one method" am: 89a055aa9d
Jerry Zhang [Thu, 17 Nov 2016 00:24:57 +0000 (00:24 +0000)]
Merge "Refactor setCurrentFunction and setUsbDataUnlocked into one method" am: 89a055aa9d
am: 1451a4af78

Change-Id: I90048a233d80ee023e9f775b540248b62aa5e4ea

7 years agoRefactor setCurrentFunction and setUsbDataUnlocked into one method am: a1b60e629f
Jerry Zhang [Thu, 17 Nov 2016 00:24:50 +0000 (00:24 +0000)]
Refactor setCurrentFunction and setUsbDataUnlocked into one method am: a1b60e629f
am: a75fa91247

Change-Id: I70fdc7a2d4bfa40e315a4de172dbcee22d666cc6

7 years agoMerge "Refactor setCurrentFunction and setUsbDataUnlocked into one method"
Jerry Zhang [Thu, 17 Nov 2016 00:12:59 +0000 (00:12 +0000)]
Merge "Refactor setCurrentFunction and setUsbDataUnlocked into one method"
am: 89a055aa9d

Change-Id: I8bad2864a848b46c99e2693acacb320615338ec8

7 years agoRefactor setCurrentFunction and setUsbDataUnlocked into one method
Jerry Zhang [Thu, 17 Nov 2016 00:09:38 +0000 (00:09 +0000)]
Refactor setCurrentFunction and setUsbDataUnlocked into one method
am: a1b60e629f

Change-Id: I0ed28df5f24e7fe545f968c4d65cfc0494b57ebd

7 years agoMerge "Refactor setCurrentFunction and setUsbDataUnlocked into one method"
Jerry Zhang [Wed, 16 Nov 2016 23:59:32 +0000 (23:59 +0000)]
Merge "Refactor setCurrentFunction and setUsbDataUnlocked into one method"

7 years agoFix bug: BackupResetDashboardAlias is mapped incorrectly.
Fan Zhang [Wed, 16 Nov 2016 18:24:26 +0000 (10:24 -0800)]
Fix bug: BackupResetDashboardAlias is mapped incorrectly.

It should map to BackupSettingsActivity and should not contain fragments
in metadata.

Bug: 32874082
Test: RunSettingsLibRoboTests
Change-Id: I1c9aab7e34cfd07e9b582772cebb39cf8488b093

7 years agoUse new API Build.getSerial() to get serial number.
Fan Zhang [Wed, 16 Nov 2016 22:44:43 +0000 (14:44 -0800)]
Use new API Build.getSerial() to get serial number.

Bug: 32935486
Test: RunSettingsRoboTests
Change-Id: I28b8d27d034b4a6c4ae5f29e8311e84e5c423967

7 years agoRingtone -> Sound
Julia Reynolds [Tue, 15 Nov 2016 19:53:40 +0000 (14:53 -0500)]
Ringtone -> Sound

Test: make -j32
Change-Id: I53864e877e94ff1560f8e9637a87daf7b5118398

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Wed, 16 Nov 2016 06:33:36 +0000 (06:33 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 16 Nov 2016 04:56:50 +0000 (20:56 -0800)]
Import translations. DO NOT MERGE

Change-Id: I1a8c04af27632e0ad198d561f5093fd2d24c7938
Auto-generated-cl: translation import

7 years agoMerge "Always show at least 1% when some space used."
TreeHugger Robot [Wed, 16 Nov 2016 03:38:00 +0000 (03:38 +0000)]
Merge "Always show at least 1% when some space used."

7 years agoMerge "Update MountService to StorageManagerService."
Sudheer Shanka [Tue, 15 Nov 2016 23:34:11 +0000 (23:34 +0000)]
Merge "Update MountService to StorageManagerService."

7 years agoMerge "Refresh Storage UI atomically."
TreeHugger Robot [Tue, 15 Nov 2016 22:31:34 +0000 (22:31 +0000)]
Merge "Refresh Storage UI atomically."

7 years agoAlways show at least 1% when some space used.
Jeff Sharkey [Tue, 15 Nov 2016 22:17:29 +0000 (15:17 -0700)]
Always show at least 1% when some space used.

Don't let the progress value round down to 0, since that would
be misleading.

Test: builds
Bug: 24017703
Change-Id: I6a0268361645da16af67e12bf7f6823d027dd72c

7 years agoRefresh Storage UI atomically.
Jeff Sharkey [Tue, 15 Nov 2016 21:06:44 +0000 (14:06 -0700)]
Refresh Storage UI atomically.

Test: builds
Bug: 29275971
Change-Id: I0f5131631ae12bc57e66545513ad60b7cbcd179b

7 years agoMerge "Insert dynamic dashboard tiles into optional placeholders"
TreeHugger Robot [Tue, 15 Nov 2016 17:44:53 +0000 (17:44 +0000)]
Merge "Insert dynamic dashboard tiles into optional placeholders"

7 years agoMerge "Increase char limit for the account prefererence title."
TreeHugger Robot [Tue, 15 Nov 2016 02:19:00 +0000 (02:19 +0000)]
Merge "Increase char limit for the account prefererence title."

7 years agoInsert dynamic dashboard tiles into optional placeholders
Fan Zhang [Fri, 11 Nov 2016 21:23:21 +0000 (13:23 -0800)]
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

7 years agoIncrease char limit for the account prefererence title.
Doris Ling [Tue, 15 Nov 2016 00:40:23 +0000 (16:40 -0800)]
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

7 years agoMerge "Update usage of ActivityManagerNative."
Sudheer Shanka [Tue, 15 Nov 2016 00:25:51 +0000 (00:25 +0000)]
Merge "Update usage of ActivityManagerNative."

7 years agoMerge "Update strings in Gesture Settings"
TreeHugger Robot [Mon, 14 Nov 2016 22:20:47 +0000 (22:20 +0000)]
Merge "Update strings in Gesture Settings"

7 years agoMerge "Add WiFi toggle prompts - settings" am: b4b2c2aa43 am: 6f126a8f5c am: 6cebca2599
Sohani Rao [Mon, 14 Nov 2016 21:36:06 +0000 (21:36 +0000)]
Merge "Add WiFi toggle prompts - settings" am: b4b2c2aa43 am: 6f126a8f5c am: 6cebca2599
am: 7fd676ee26  -s ours

Change-Id: I6a5d593a4291dbc25bb39c1f177539faccee0183

7 years agoMerge "Add WiFi toggle prompts - settings" am: b4b2c2aa43 am: 6f126a8f5c
Sohani Rao [Mon, 14 Nov 2016 21:28:16 +0000 (21:28 +0000)]
Merge "Add WiFi toggle prompts - settings" am: b4b2c2aa43 am: 6f126a8f5c
am: 6cebca2599

Change-Id: I8cfaadb7dd8df6d81695dea8530a25de69fcce3d

7 years agoMerge "Fix touch ripples for setup wizard screens"
TreeHugger Robot [Mon, 14 Nov 2016 21:25:06 +0000 (21:25 +0000)]
Merge "Fix touch ripples for setup wizard screens"

7 years agoMerge "Add WiFi toggle prompts - settings" am: b4b2c2aa43
Sohani Rao [Mon, 14 Nov 2016 21:21:49 +0000 (21:21 +0000)]
Merge "Add WiFi toggle prompts - settings" am: b4b2c2aa43
am: 6f126a8f5c

Change-Id: I327d6c864ce58c21a74d628d1945f86ff518234c

7 years agoMerge "Add WiFi toggle prompts - settings"
Sohani Rao [Mon, 14 Nov 2016 21:14:54 +0000 (21:14 +0000)]
Merge "Add WiFi toggle prompts - settings"
am: b4b2c2aa43

Change-Id: Idef71123fde9475a549a1ccab136564ccf3d4a4a

7 years agoMerge "Add WiFi toggle prompts - settings"
Sohani Rao [Mon, 14 Nov 2016 20:59:35 +0000 (20:59 +0000)]
Merge "Add WiFi toggle prompts - settings"

7 years agoUpdate usage of ActivityManagerNative.
Sudheer Shanka [Thu, 10 Nov 2016 23:30:14 +0000 (15:30 -0800)]
Update usage of ActivityManagerNative.

Bug: 30977067
Test: N/A
Change-Id: I46e37a09cff059d2784a819bc2651d6973fbd268

7 years agoImport translations. DO NOT MERGE am: d13efff7aa -s ours
Bill Yi [Mon, 14 Nov 2016 19:50:42 +0000 (19:50 +0000)]
Import translations. DO NOT MERGE am: d13efff7aa  -s ours
am: c68492d994  -s ours

Change-Id: I7f2c8ad8971eec71a5c26e3b2ab824a73827fe1f

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 14 Nov 2016 19:44:02 +0000 (19:44 +0000)]
Import translations. DO NOT MERGE
am: d13efff7aa  -s ours

Change-Id: I03a2044f78ee22bc152cabc2a3c338aacd9f37fe

7 years agoChanged two strings from using "ringtone" to "sound"
Sean Stout [Fri, 11 Nov 2016 23:59:38 +0000 (15:59 -0800)]
Changed two strings from using "ringtone" to "sound"

Test: manual - check settings
Bug: 32645011
Change-Id: I47dc68dba71de022e17ccac31560f0906f433db4

7 years agoMerge "Remove hardcode for textcolor in spinner item."
Lei Yu [Mon, 14 Nov 2016 19:07:49 +0000 (19:07 +0000)]
Merge "Remove hardcode for textcolor in spinner item."

7 years agoAdd WiFi toggle prompts - settings
Svetoslav Ganov [Wed, 27 Jul 2016 01:26:45 +0000 (18:26 -0700)]
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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 14 Nov 2016 17:50:59 +0000 (09:50 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 32839141
Change-Id: I6145b97714693ec78cbc8b7d2235ed5830e7f714

7 years agoMerge "Add Enterprise Privacy page to Settings"
Bartosz Fabianowski [Mon, 14 Nov 2016 15:01:24 +0000 (15:01 +0000)]
Merge "Add Enterprise Privacy page to Settings"

7 years agoMerge "Add policy transparency to "Remove work profile""
TreeHugger Robot [Mon, 14 Nov 2016 14:16:09 +0000 (14:16 +0000)]
Merge "Add policy transparency to "Remove work profile""

7 years agoAdd Enterprise Privacy page to Settings
Bartosz Fabianowski [Mon, 14 Nov 2016 11:04:49 +0000 (12:04 +0100)]
Add Enterprise Privacy page to Settings

This adds a new page to Settings which tells the user about his/her
privacy in light of enterprise management. The new page is only shown
on devices that have a Device Owner app set.

This CL adds a mostly blank page. Follow-up CLs will populate the page
with information about specific admin actions/policies.

The page's title ("Privacy"), icon and location in the Settings app are
tentative. The page will move to its final location once the new IA
redesign is finished.

Test: make RunSettingsRoboTests
BUG: 32692748

Change-Id: I5b5c08c0025207516b0779f54cf68234a4ba3fe4

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sat, 12 Nov 2016 07:41:13 +0000 (07:41 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoUpdate strings in Gesture Settings
Andrew Sapperstein [Fri, 11 Nov 2016 23:10:56 +0000 (15:10 -0800)]
Update strings in Gesture Settings

Turns the Jump to camera string to use lowercase "camera."
The string refers to a generic camera app, not a specific one
and thus should be lower case.

Also adds periods to a bunch of the subtitles.

Bug: 32498366
Test: manual
Change-Id: I571dfb03fcceb642d328d5df816c74bc53ac90d1

7 years agoRemove alias for gesture settings from new IA.
Fan Zhang [Fri, 11 Nov 2016 21:23:21 +0000 (13:23 -0800)]
Remove alias for gesture settings from new IA.

The content of this page is moved to other places, so we don't need to
display it in new IA.

Bug: 32637613
Test: compiles
Change-Id: I53e4c845bf4d1986fa9b2f2e9fe1cf79f5bdaf80

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 11 Nov 2016 21:37:51 +0000 (13:37 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ia5ec58e543b319ca83f28da6de12e9337f10c4bd
Auto-generated-cl: translation import

7 years agoAdd video to each gesture preference screen.
Fan Zhang [Wed, 9 Nov 2016 19:35:10 +0000 (11:35 -0800)]
Add video to each gesture preference screen.

- Refactor GesturePreference to a generic VideoPreference.
- The old video_preference.xml is only for magnification video, so
  renamed.
- And use VideoPreference in gesture setting pages.
- Refactor common logic into GesturePreferenceController.

Bug: 32637613
Test: RunSettingsRoboTests

Change-Id: I58580b01a32873cb32c5dc5bf2ec021d5b1400cc

7 years agoFix touch ripples for setup wizard screens
Maurice Lam [Tue, 8 Nov 2016 02:27:16 +0000 (18:27 -0800)]
Fix touch ripples for setup wizard screens

Make PreferenceTheme.SetupWizard inherit from PreferenceTheme so the
preference layout from the support library is used.

Automated tests were not added because when trying to test
SettingsActivity under Robolectric, it fails due to the lack of API
24 support.
(https://github.com/robolectric/robolectric/issues/2554)

Test: (Manual) Ripples shown when touched and keyboard focused.
Bug: 32671413
Change-Id: I5271aaddbcfdb7ee0a71bc3c223e6dc62a5ecb47

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 10 Nov 2016 05:35:55 +0000 (05:35 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 10 Nov 2016 04:10:51 +0000 (20:10 -0800)]
Import translations. DO NOT MERGE

Change-Id: I1934033fa2ee9a3b75c7d994d613a7e00b0987fa
Auto-generated-cl: translation import

7 years agoRemove hardcode for textcolor in spinner item.
jackqdyulei [Tue, 8 Nov 2016 00:23:31 +0000 (16:23 -0800)]
Remove hardcode for textcolor in spinner item.

Remove the "android:textcolor" because "Android:textAppearance"
will set the textcolor to "?attr/textColorPrimary".
Set adapter has same theme as spinner, so view inside adapter
can be inflatered correctly.

Bug: 32592245
Test: screenshot
Change-Id: If7a78ede0a029aa9fcd8f9b324a423d477c65ad7

7 years agoUpdate MountService to StorageManagerService.
Sudheer Shanka [Wed, 9 Nov 2016 23:47:53 +0000 (15:47 -0800)]
Update MountService to StorageManagerService.

Bug: 30977067
Test: N/A
Change-Id: I8c5eda7ed068bc7c184d559c0a27c52a74094f1a

7 years agoMerge "Add more gesture setting pages."
TreeHugger Robot [Wed, 9 Nov 2016 21:13:01 +0000 (21:13 +0000)]
Merge "Add more gesture setting pages."

7 years agoMerge "Allow users to pick a notification assistant."
Julia Reynolds [Wed, 9 Nov 2016 20:38:43 +0000 (20:38 +0000)]
Merge "Allow users to pick a notification assistant."

7 years agoAdd more gesture setting pages.
Fan Zhang [Tue, 8 Nov 2016 21:52:58 +0000 (13:52 -0800)]
Add more gesture setting pages.

Bug: 32637613
Test: make -j40 RunSettingsRoboTests
Change-Id: I77f90b8b7e3348ed717ee78693860f48e13070f2

7 years agoMerge "Remove hardcode color of sliding tab"
Lei Yu [Wed, 9 Nov 2016 18:21:10 +0000 (18:21 +0000)]
Merge "Remove hardcode color of sliding tab"

7 years agoMerge "Update package names to work with the proto3 compiler"
Tamas Berghammer [Wed, 9 Nov 2016 13:38:50 +0000 (13:38 +0000)]
Merge "Update package names to work with the proto3 compiler"

7 years agoMerge "Add setting page for swipe to notification."
Fan Zhang [Wed, 9 Nov 2016 00:19:12 +0000 (00:19 +0000)]
Merge "Add setting page for swipe to notification."

7 years agoAdd setting page for swipe to notification.
Fan Zhang [Tue, 8 Nov 2016 20:45:26 +0000 (12:45 -0800)]
Add setting page for swipe to notification.

In this change input & gesture page added 5 separate gesture
preferences, each should lead to a new page to set gesture setting. For
now only swipe to notification preference is wired up. Will implement
the rest in later changes.

Bug: 32637613
Test: make RunSettingsRoboTests -j40
Change-Id: I57ceea8fcd85f3a0ab59cbd12da50b7138f5ca0c

7 years agoMerge changes from topic 'radio-info-ims'
Nathan Harold [Tue, 8 Nov 2016 19:47:49 +0000 (19:47 +0000)]
Merge changes from topic 'radio-info-ims'

* changes:
  Add Ims Registration Info to RadioInfo
  Enable and Disable IMS Provisioning Based on Platform Capability

7 years agoAllow users to pick a notification assistant.
Julia Reynolds [Tue, 8 Nov 2016 19:45:34 +0000 (14:45 -0500)]
Allow users to pick a notification assistant.

Test: manual. select and deselect an assistant, and verify that
the assistant can and then cannot get notification events.

Change-Id: If89c77f37170a44c827f997631aa7413da5a83e2

7 years agoMerge "Add Input & Gesture/Language & Region pages under System."
Fan Zhang [Tue, 8 Nov 2016 16:37:06 +0000 (16:37 +0000)]
Merge "Add Input & Gesture/Language & Region pages under System."

7 years agoUpdate package names to work with the proto3 compiler
Tamas Berghammer [Wed, 22 Jun 2016 14:34:45 +0000 (15:34 +0100)]
Update package names to work with the proto3 compiler

Bug: b/28974522
Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 8 Nov 2016 11:56:39 +0000 (11:56 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 8 Nov 2016 04:22:16 +0000 (20:22 -0800)]
Import translations. DO NOT MERGE

Change-Id: I6df5e8e050f06cb40a0a6b948361337427befc83
Auto-generated-cl: translation import

7 years agoAdd Input & Gesture/Language & Region pages under System.
Fan Zhang [Mon, 7 Nov 2016 23:12:52 +0000 (15:12 -0800)]
Add Input & Gesture/Language & Region pages under System.

- Removed LanguageAndInputDashboardAlias because now the contents are
  moved to new pages.

Bug: 32637613
Bug: 32643833
Test: RunSettingsRoboTests
Change-Id: Ia66a942a449a07b9cbba53bdc97738148aafadb4

7 years agoRefactor IMEAndLanguageSettings to use PreferenceController
Fan Zhang [Thu, 3 Nov 2016 20:29:06 +0000 (13:29 -0700)]
Refactor IMEAndLanguageSettings to use PreferenceController

Bug: 32642706
Bug: 32637613
Bug: 32643833
Test: RunSettingsRoboTests

This change is necessary to test preference controlling logic, as well
as making preferences reusable in other Preference pages in the new
information architecture.

Change-Id: I9e2fd2f6800579f005a5c303ed03ae06477006a6

7 years agoAdd policy transparency to "Remove work profile"
Tony Mak [Mon, 7 Nov 2016 18:21:46 +0000 (18:21 +0000)]
Add policy transparency to "Remove work profile"

Bug: 32301173

Test: Manual test

Change-Id: Idcb75d2d40b8e7b59467e488d3e9837afe7c424a

7 years agoMerge "Remove logic of calling InputMethodAndSubtypeUtil."
Fan Zhang [Mon, 7 Nov 2016 18:18:40 +0000 (18:18 +0000)]
Merge "Remove logic of calling InputMethodAndSubtypeUtil."