OSDN Git Service

android-x86/packages-apps-Settings.git
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 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 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 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 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."

7 years agoRemove hardcode color of sliding tab
jackqdyulei [Wed, 2 Nov 2016 03:01:11 +0000 (20:01 -0700)]
Remove hardcode color of sliding tab

Now use the color from textColorPrimary based on
current theme.

Bug: 32592245
Test: Visual
Change-Id: If6bbfe3b39ba30d96fc1f7d810472dc87006c3ea

7 years agoMerge "Remove dead code KeyboardLayoutPickerFragment."
Fan Zhang [Mon, 7 Nov 2016 17:15:50 +0000 (17:15 +0000)]
Merge "Remove dead code KeyboardLayoutPickerFragment."

7 years agoImport translations. DO NOT MERGE am: 416fa38e75 -s ours
Bill Yi [Sat, 5 Nov 2016 07:01:20 +0000 (07:01 +0000)]
Import translations. DO NOT MERGE am: 416fa38e75  -s ours
am: d8bd462f71  -s ours

Change-Id: I4da2e8c39f7b47bdaa4d588b0a18298bb1097649

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 5 Nov 2016 06:44:39 +0000 (06:44 +0000)]
Import translations. DO NOT MERGE
am: 416fa38e75  -s ours

Change-Id: Idfc5c51e90e9ccfb84256f532250ca5cfdf2a0a1

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 5 Nov 2016 05:19:32 +0000 (22:19 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Add Usb preference to connected devices dashboard."
TreeHugger Robot [Sat, 5 Nov 2016 01:11:09 +0000 (01:11 +0000)]
Merge "Add Usb preference to connected devices dashboard."

7 years agoMerge "update summary change no matter whether summary is equal"
Lei Yu [Fri, 4 Nov 2016 23:53:10 +0000 (23:53 +0000)]
Merge "update summary change no matter whether summary is equal"

7 years agoAdd Usb preference to connected devices dashboard.
Doris Ling [Thu, 3 Nov 2016 23:54:44 +0000 (16:54 -0700)]
Add Usb preference to connected devices dashboard.

Add Usb preference and the corresponding controller.

Change-Id: I79e3f20b5c024ece0515f9a6cba1185ba8b8c7be
Fixes: 31800290
Test: make RunSettingsRoboTests

7 years agoAdd Ims Registration Info to RadioInfo
Nathan Harold [Thu, 27 Oct 2016 20:45:00 +0000 (13:45 -0700)]
Add Ims Registration Info to RadioInfo

Bug: 32438227
Test: none
Change-Id: Iadb21a3108aaaa3afcde3972e6f98bfbbd5413f1

7 years agoRemove logic of calling InputMethodAndSubtypeUtil.
Fan Zhang [Fri, 4 Nov 2016 21:51:53 +0000 (14:51 -0700)]
Remove logic of calling InputMethodAndSubtypeUtil.

InputMethodAndLanguageSettings calls InputMethodAndSubtypeUtil for no
good reason. The page does not display or provide ways to change IMEs.
The virtualKeyboardFragment does, and it already contains logic for
refreshing InputMethodAndSubtypeUtil.

Bug: 32642706
Test: Compiles
Change-Id: Icdbf9cd2fa95ba3037c1e47d62c7514376cf8037

7 years agoRemove dead code KeyboardLayoutPickerFragment.
Fan Zhang [Fri, 4 Nov 2016 21:12:15 +0000 (14:12 -0700)]
Remove dead code KeyboardLayoutPickerFragment.

Bug: 32642706
Test: compiles
Change-Id: I02b7abed470a813bff13fe9d71fcf870a47de6b3

7 years agoEnable and Disable IMS Provisioning Based on Platform Capability
Nathan Harold [Fri, 28 Oct 2016 18:45:59 +0000 (11:45 -0700)]
Enable and Disable IMS Provisioning Based on Platform Capability

Bug: none
Test: none
Change-Id: I4be301864a3d48ef14834caa707e9d64536fd836

7 years agoAdd subtypes to tron logging for Wifi toggles. am: b21815e320
Stephen Chen [Fri, 4 Nov 2016 17:27:25 +0000 (17:27 +0000)]
Add subtypes to tron logging for Wifi toggles. am: b21815e320
am: 4ba959c7c4  -s ours

Change-Id: I30245993416211bdccbb3068ba9bb68d5dedaa5e

7 years agoAdd subtypes to tron logging for Wifi toggles.
Stephen Chen [Fri, 4 Nov 2016 17:22:30 +0000 (17:22 +0000)]
Add subtypes to tron logging for Wifi toggles.
am: b21815e320

Change-Id: Ia08aa862e311dba4af08a1a76c0083519dcdeeb9

7 years agoMerge "More cleanup in input & language settings."
TreeHugger Robot [Fri, 4 Nov 2016 02:53:32 +0000 (02:53 +0000)]
Merge "More cleanup in input & language settings."

7 years agoMerge "Remove logic for select input method preference."
TreeHugger Robot [Thu, 3 Nov 2016 23:59:09 +0000 (23:59 +0000)]
Merge "Remove logic for select input method preference."

7 years agoMore cleanup in input & language settings.
Fan Zhang [Thu, 3 Nov 2016 22:55:18 +0000 (15:55 -0700)]
More cleanup in input & language settings.

- Removed unused preferences that are commented out in pref xml.
- Also removed code that references to them in Fragment.

Bug: 32637613
Test: compile/manual
Change-Id: I84be24f9c5df7531843f03b047a93f9aa912432e

7 years agoRemove logic for select input method preference.
Fan Zhang [Thu, 3 Nov 2016 20:35:20 +0000 (13:35 -0700)]
Remove logic for select input method preference.

- The prefrence is not used in code according to comment, and it's not
  defined in xml. So this chunk of code is redundant and should be
  removed.

Bug: 32642706
Test: compiles, and manually navigate to fragment.
Change-Id: Iac38632d090c635f324bc4eed8e1c41300ddb08e

7 years agoAdd subtypes to tron logging for Wifi toggles.
Stephen Chen [Mon, 31 Oct 2016 19:59:41 +0000 (12:59 -0700)]
Add subtypes to tron logging for Wifi toggles.

For ACTION_WIFI_CONNECT, added subtype to specify whether user is
connecting to saved network.
For ACTION_WIFI_OFF, added subtype to specify whether user was connected
to a network at the time.

Bug: 32371451
Test: Verify logs by running:
adb logcat -b events | egrep '(sysui_|notification_)'
Merged-In: I1d4445bda2fbeb062831e6f858ccc711bff65105

Change-Id: I6b87dc10fcfe412f1c72ae944c2dd4d81da12b53

7 years agoMerge "Add memory settings to developer setting."
TreeHugger Robot [Thu, 3 Nov 2016 19:26:46 +0000 (19:26 +0000)]
Merge "Add memory settings to developer setting."

7 years agoMerge "Can launch into the lock screen with setup wizard style"
Udam Saini [Thu, 3 Nov 2016 17:28:19 +0000 (17:28 +0000)]
Merge "Can launch into the lock screen with setup wizard style"

7 years agoAdd memory settings to developer setting.
Fan Zhang [Wed, 2 Nov 2016 23:58:53 +0000 (16:58 -0700)]
Add memory settings to developer setting.

Bug: 32623105
Test: make RunSettingsRoboTests
Change-Id: I81e38b1ea4e59c330d0eef078af2751b3de739fe