OSDN Git Service

android-x86/packages-apps-Settings.git
9 years ago[WifiSetup] Don't show WiFi assistant card in WifiPickerActivity
Maurice Lam [Fri, 18 Jul 2014 01:36:56 +0000 (18:36 -0700)]
[WifiSetup] Don't show WiFi assistant card in WifiPickerActivity

Do not create the assistant card if we are in WifiPickerActivity,
which includes setup wizard and account login.

Bug: 16382431
Change-Id: Id5eaa8040eafe5222e1a5c9276a2a10bedebfd71

10 years agoMerge "Implement #15841213 Search - index Developer Option only and only if they...
Fabrice Di Meglio [Fri, 25 Jul 2014 23:43:15 +0000 (23:43 +0000)]
Merge "Implement #15841213 Search - index Developer Option only and only if they have been activated" into lmp-dev

9 years agoImplement #15841213 Search - index Developer Option only and only if they have been...
Fabrice Di Meglio [Fri, 25 Jul 2014 23:28:53 +0000 (16:28 -0700)]
Implement #15841213 Search - index Developer Option only and only if they have been activated

- do not index Developer Options if they are not activated
- index them just after their activation

Change-Id: I54fcc6b55a1f29eb6b19d6e14e3158d4a38a6fe6

9 years agoFix bug #16533532 Settings app crashes on device orientation change
Fabrice Di Meglio [Fri, 25 Jul 2014 20:03:09 +0000 (13:03 -0700)]
Fix bug #16533532 Settings app crashes on device orientation change
...when "change language" warning dialog is on screen

- try harder at getting the parent fragment. First try by calling
getParentFragment() and if this is getting a null reference, try
again by using the fragment Id saved during onSaveInstanceState()

Change-Id: I3dbc6a229224c8770ff2c7e432e76b8796c4b099

10 years agoEnforce the presence of the Indexable interface for Indexing
Fabrice Di Meglio [Fri, 25 Jul 2014 02:53:47 +0000 (19:53 -0700)]
Enforce the presence of the Indexable interface for Indexing

- check that the Indexable interface has been defined before indexing

Change-Id: Ia61915b2bd1240226ba560ecfd883a115b49da95

10 years agoFix Preferences background color
Fabrice Di Meglio [Fri, 25 Jul 2014 00:03:04 +0000 (17:03 -0700)]
Fix Preferences background color

- use #FFFAFAFA instead of pure white

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I287eda45950f8c537b7b96df7a2cf996e6e465b4

10 years agoMore fixes for QuickLaunchSettings
Fabrice Di Meglio [Thu, 24 Jul 2014 22:46:35 +0000 (15:46 -0700)]
More fixes for QuickLaunchSettings

- use DialogWhenLarge on tabletUI
- update layouts for following Material theme

Change-Id: If7aa153168eae9d2e72c50e4ae38bcd2fa6bb4bd

10 years agoFix bug #16515550 Settings app crashes for intent com.android.settings.QUICK_LAUNCH_S...
Fabrice Di Meglio [Thu, 24 Jul 2014 03:03:20 +0000 (20:03 -0700)]
Fix bug #16515550 Settings app crashes for intent com.android.settings.QUICK_LAUNCH_SETTINGS

- make it work again (what a code...)

Change-Id: Ic71d8e40ff8a5e0c663fd40655e4f4cc31bc8caf

10 years agoMerge "Fixed an illustrious NullPointer bug on Wifi Assistant" into lmp-dev
PauloftheWest [Thu, 24 Jul 2014 18:46:07 +0000 (18:46 +0000)]
Merge "Fixed an illustrious NullPointer bug on Wifi Assistant" into lmp-dev

10 years agoFixed an illustrious NullPointer bug on Wifi Assistant
PauloftheWest [Thu, 24 Jul 2014 18:40:21 +0000 (11:40 -0700)]
Fixed an illustrious NullPointer bug on Wifi Assistant

+ The class was never instantiated...

Bug: 16543506
Change-Id: I00882df31ee986116b8fa28a54796bb3b20f2e2b

10 years agoMerge "Fix bug #16533532 Settings app crashes on device orientation change ...when...
Fabrice Di Meglio [Fri, 25 Jul 2014 20:10:34 +0000 (20:10 +0000)]
Merge "Fix bug #16533532 Settings app crashes on device orientation change ...when "change language" warning dialog is on screen" into lmp-dev

9 years agoRemove -opia color correction modes
Alan Viverette [Fri, 25 Jul 2014 17:12:20 +0000 (10:12 -0700)]
Remove -opia color correction modes

The implementations for these are identical to -omaly modes.

Change-Id: Iad67c01d17c6167c530879fa29178ba63a8b876b

9 years agoFix Trusted Credentials layout
Paul Lawrence [Fri, 25 Jul 2014 16:45:38 +0000 (09:45 -0700)]
Fix Trusted Credentials layout

Now matches security layout. Tested on Volantis and Hammerhead in portrait
and landscape

Bug: 16381087
Change-Id: If7049f6cd241df360d9fb608e1e7e5d45e3d1d54

10 years agoMerge "Enforce the presence of the Indexable interface for Indexing" into lmp-dev
Fabrice Di Meglio [Fri, 25 Jul 2014 18:07:34 +0000 (18:07 +0000)]
Merge "Enforce the presence of the Indexable interface for Indexing" into lmp-dev

9 years agoDon't use the profile info for name
Amith Yamasani [Fri, 25 Jul 2014 16:37:33 +0000 (09:37 -0700)]
Don't use the profile info for name

Since we now have a way to directly edit the user's photo/name
via a dialog, don't rely on the Me profile name anymore. That
one will be out of sync with the manual nickname editing.

Bug: 15761405
Change-Id: Ia16c43ddcfd47894b2d2e049802d7de153ea5b94

10 years agoMerge "Fix Preferences background color" into lmp-dev
Fabrice Di Meglio [Fri, 25 Jul 2014 02:59:33 +0000 (02:59 +0000)]
Merge "Fix Preferences background color" into lmp-dev

10 years agoMerge "More fixes for QuickLaunchSettings" into lmp-dev
Fabrice Di Meglio [Thu, 24 Jul 2014 23:22:11 +0000 (23:22 +0000)]
Merge "More fixes for QuickLaunchSettings" into lmp-dev

10 years agoRefactor User Profile editor dialog for reuse
Amith Yamasani [Thu, 24 Jul 2014 21:13:36 +0000 (14:13 -0700)]
Refactor User Profile editor dialog for reuse

Move the dialog code into a separate class.
Use it from RestrictedProfileSettings
and UserSettings for the current user.

Bug: 15761405
Change-Id: I0b9a95ba8463304525e6a4b8cf3b4ca77b15796f

10 years agoRemove "Verify apps" from Security settings
rich cannings [Mon, 21 Jul 2014 23:12:49 +0000 (16:12 -0700)]
Remove "Verify apps" from Security settings

The setting moved to Google settings

Bug: 15588470
Change-Id: I40c0b6073949a69bfb8f0fa8f9fd405fbf9946de

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Thu, 24 Jul 2014 21:46:51 +0000 (21:46 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 24 Jul 2014 09:51:46 +0000 (02:51 -0700)]
Import translations. DO NOT MERGE

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

10 years agoMerge "Show countdown of remaining decrypt attempts before wiping device" into lmp-dev
Paul Lawrence [Thu, 24 Jul 2014 21:45:01 +0000 (21:45 +0000)]
Merge "Show countdown of remaining decrypt attempts before wiping device" into lmp-dev

10 years agoShow countdown of remaining decrypt attempts before wiping device
Paul Lawrence [Wed, 23 Jul 2014 20:57:17 +0000 (13:57 -0700)]
Show countdown of remaining decrypt attempts before wiping device

Bug: 16496992
Change-Id: Ibdd4bbbf9a9eeafee5e0e5ed48464d524628cf12

10 years agoMerge "Fix bug #16515550 Settings app crashes for intent com.android.settings.QUICK_L...
Fabrice Di Meglio [Thu, 24 Jul 2014 21:22:06 +0000 (21:22 +0000)]
Merge "Fix bug #16515550 Settings app crashes for intent com.android.settings.QUICK_LAUNCH_SETTINGS" into lmp-dev

10 years agoImplement the Usage Access Settings UI
Adam Lesinski [Tue, 22 Jul 2014 17:01:08 +0000 (10:01 -0700)]
Implement the Usage Access Settings UI

Scans for apps requesting permission to use the
UsageStats API and displays them so that the user
can grant or deny access.

Bug: 16461070

Change-Id: Ie9f611688581cdd60ffe9f59e566f658ac2564e9

10 years agoMerge "Added SIM Card Activity to Settings" into lmp-dev
PauloftheWest [Thu, 24 Jul 2014 19:59:03 +0000 (19:59 +0000)]
Merge "Added SIM Card Activity to Settings" into lmp-dev

10 years agoShow correct string when prompting for pattern before encrypting
Paul Lawrence [Wed, 23 Jul 2014 21:14:53 +0000 (14:14 -0700)]
Show correct string when prompting for pattern before encrypting

Bug: 16505763
Change-Id: I05d874be7651f68688d6582236541f418ec6afc2

10 years agoAdded SIM Card Activity to Settings
PauloftheWest [Mon, 30 Jun 2014 17:02:36 +0000 (10:02 -0700)]
Added SIM Card Activity to Settings

+ Added SIM Card menu to Settings menu
+ Added SIM card detail dialog when selecting a SIM Card
+ Added ability to select the default SIM for Cellular data, Calls, and SMS

Bug: 16241745

Change-Id: I43437aa4c591c5097a8865d564f88726671e1b7d

10 years agoAdds cross-profile intents for Settings screens.
Alexandra Gherghina [Mon, 21 Jul 2014 21:42:21 +0000 (22:42 +0100)]
Adds cross-profile intents for Settings screens.

This is needed for settings that are handled in the primary profile app.

Bug: 16369104
Change-Id: If3ec3866778282219267481b8f419774f7f2c9de

10 years agoMerge "Checks if the right user has a restriction" into lmp-dev
Alexandra Gherghina [Thu, 24 Jul 2014 12:21:41 +0000 (12:21 +0000)]
Merge "Checks if the right user has a restriction" into lmp-dev

10 years agoChecks if the right user has a restriction
Alexandra Gherghina [Wed, 23 Jul 2014 21:07:03 +0000 (22:07 +0100)]
Checks if the right user has a restriction

Bug: 15466880
Change-Id: I9199c6054e9955a90958fd3a751f321cf6fa9990

10 years agoMerge "More code cleaning for the Home intent filters" into lmp-dev
Fabrice Di Meglio [Thu, 24 Jul 2014 02:37:12 +0000 (02:37 +0000)]
Merge "More code cleaning for the Home intent filters" into lmp-dev

10 years agoMore code cleaning for the Home intent filters
Fabrice Di Meglio [Thu, 24 Jul 2014 02:32:57 +0000 (19:32 -0700)]
More code cleaning for the Home intent filters

- remove the Intent.CATEGORY_HOME as it is not useful and
cannot be used into an Intent filter

Change-Id: I516188ea1c662c3277c64194c229a2e1c03a4e6a

10 years agoCode cleaning
Fabrice Di Meglio [Thu, 24 Jul 2014 02:03:33 +0000 (19:03 -0700)]
Code cleaning

- remove those non usefull Intent.CATEGORY_LAUNCHER

Change-Id: Ib6e5f4a5265633da85423307fac26a104814f05f

10 years agoFix how Home Activities are refreshed
Fabrice Di Meglio [Thu, 24 Jul 2014 01:15:42 +0000 (18:15 -0700)]
Fix how Home Activities are refreshed

- remove that HomePackageReceiver from the AndroidManifest
that could force Settings to run
- use a HomePackageReceiver into HomeSettings and DashboardSummary
- fix also the BatteryInfoReceiver for refreshing the Dashboard

Change-Id: Id3891529fc176e7e4c450f2ce723f8ac2af66c58

10 years agoAdd Settings Dashboard refresh for Home activities
Fabrice Di Meglio [Wed, 23 Jul 2014 23:25:30 +0000 (16:25 -0700)]
Add Settings Dashboard refresh for Home activities

- cache the number of Home activities into mHomeActivitiesCount
- save and restore its value
- use its value for triggering refresh of the Dashboard

Change-Id: Ibc228b9b26c3515bba89ab17c7d39531125e8df8

10 years agoCode cleaning for Index
Fabrice Di Meglio [Wed, 23 Jul 2014 22:22:44 +0000 (15:22 -0700)]
Code cleaning for Index

- make that UpdateData class static

Change-Id: I22ac148613fcaa4ed3ad615c4eca037b5dc6b986

10 years agoFix NotificationStation theming
Fabrice Di Meglio [Wed, 23 Jul 2014 20:31:26 +0000 (13:31 -0700)]
Fix NotificationStation theming

- fix padding for the ListView
- fix ActionBar size
- remove non needed switchBarMargins

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I0e3d3116f2ee749a04a8a464b36fa68909edf11d

10 years agoCode cleaning for NotificationStation
Fabrice Di Meglio [Wed, 23 Jul 2014 20:07:52 +0000 (13:07 -0700)]
Code cleaning for NotificationStation

- remove dead code and vars
- log exceptions

Change-Id: Idff91c27620955a3458c2358b629331e140aedba

10 years agoOwnerInfos code cleaning
Fabrice Di Meglio [Wed, 23 Jul 2014 18:25:53 +0000 (11:25 -0700)]
OwnerInfos code cleaning

Change-Id: I5f4e5dcee4af672fa11f552544bfcf4506a21258

10 years agoMerge "Code cleaning" into lmp-dev
Fabrice Di Meglio [Thu, 24 Jul 2014 02:07:56 +0000 (02:07 +0000)]
Merge "Code cleaning" into lmp-dev

10 years agoMerge "Fix how Home Activities are refreshed" into lmp-dev
Fabrice Di Meglio [Thu, 24 Jul 2014 01:25:38 +0000 (01:25 +0000)]
Merge "Fix how Home Activities are refreshed" into lmp-dev

10 years agoMerge "Add Settings Dashboard refresh for Home activities" into lmp-dev
Fabrice Di Meglio [Wed, 23 Jul 2014 23:31:37 +0000 (23:31 +0000)]
Merge "Add Settings Dashboard refresh for Home activities" into lmp-dev

10 years agoChange wording in keyguard settings menu.
Jim Miller [Wed, 23 Jul 2014 23:01:06 +0000 (16:01 -0700)]
Change wording in keyguard settings menu.

Fixes bug 15167729

Change-Id: Ie748b25667de3d237da34fc9b6a7bedad3ae1dcc

10 years agoMerge "[WifiSetup] Tablet landscape layout" into lmp-dev
Maurice Lam [Wed, 23 Jul 2014 23:00:41 +0000 (23:00 +0000)]
Merge "[WifiSetup] Tablet landscape layout" into lmp-dev

10 years ago[WifiSetup] Tablet landscape layout
Maurice Lam [Fri, 18 Jul 2014 03:35:15 +0000 (20:35 -0700)]
[WifiSetup] Tablet landscape layout

Created setup_preference for sw600dp-land, modeled after
template_with_header in Setup Wizard. Copied over wide illustration,
which is again a placeholder and needs real graphics from UX.
Renamed SetupWizardHeader to SetupWizardIllustration. Added
aspectRatio attribute to SetupWizardIllustration that, will set the
aspect ratio of the top padding. If 0 or not specified, padding will
not be set.

Bug: 16349429
Change-Id: Ic2623ee0c0ee8864383d22da006b418b8c371bf0

10 years agoMerge "Code cleaning for Index" into lmp-dev
Fabrice Di Meglio [Wed, 23 Jul 2014 22:39:10 +0000 (22:39 +0000)]
Merge "Code cleaning for Index" into lmp-dev

10 years agoMerge "Fixed bug where multiple access points would show connected" into lmp-dev
PauloftheWest [Wed, 23 Jul 2014 21:52:31 +0000 (21:52 +0000)]
Merge "Fixed bug where multiple access points would show connected" into lmp-dev

10 years agoFixed bug where multiple access points would show connected
PauloftheWest [Wed, 23 Jul 2014 21:24:56 +0000 (14:24 -0700)]
Fixed bug where multiple access points would show connected

Bug: 16236217
Change-Id: I0d95c753025f0787ca03876bab1fb66ec7916bf7

10 years agoUse restrictionsprovider framework in Settings.
Julia Reynolds [Wed, 18 Jun 2014 13:23:15 +0000 (09:23 -0400)]
Use restrictionsprovider framework in Settings.

Bug: 15305103

Change-Id: Ib0147e366fe90de3512d0cc06e2a47ee16012dff

10 years agoMerge "Use activity for brightness dialog" into lmp-dev
Alan Viverette [Wed, 23 Jul 2014 21:41:38 +0000 (21:41 +0000)]
Merge "Use activity for brightness dialog" into lmp-dev

10 years agoMerge "Fix NotificationStation theming" into lmp-dev
Fabrice Di Meglio [Wed, 23 Jul 2014 20:37:39 +0000 (20:37 +0000)]
Merge "Fix NotificationStation theming" into lmp-dev

10 years agoMerge "Work on issue #16135174: Apps page "smoke" gradient footer must be removed...
Dianne Hackborn [Wed, 23 Jul 2014 21:38:14 +0000 (21:38 +0000)]
Merge "Work on issue #16135174: Apps page "smoke" gradient footer must be removed" into lmp-dev

10 years agoWork on issue #16135174: Apps page "smoke" gradient footer must be removed
Dianne Hackborn [Wed, 23 Jul 2014 20:38:41 +0000 (13:38 -0700)]
Work on issue #16135174: Apps page "smoke" gradient footer must be removed

New header in running services.  Not yet done.

Change-Id: Ibe2f4145796c7863ec80e0ea2d8d87dc910bac7e

10 years agoMerge "Code cleaning for NotificationStation" into lmp-dev
Fabrice Di Meglio [Wed, 23 Jul 2014 20:14:46 +0000 (20:14 +0000)]
Merge "Code cleaning for NotificationStation" into lmp-dev

10 years agoMerge "OwnerInfos code cleaning" into lmp-dev
Fabrice Di Meglio [Wed, 23 Jul 2014 19:53:04 +0000 (19:53 +0000)]
Merge "OwnerInfos code cleaning" into lmp-dev

10 years agoMerge "Settings: Add to the zen alarm string." into lmp-dev
John Spurlock [Thu, 24 Jul 2014 15:26:16 +0000 (15:26 +0000)]
Merge "Settings: Add to the zen alarm string." into lmp-dev

10 years agoSettings: Add to the zen alarm string.
John Spurlock [Thu, 24 Jul 2014 15:24:18 +0000 (11:24 -0400)]
Settings: Add to the zen alarm string.

Bug:16406214
Change-Id: I9112c93fdee847633f9e5fb79129a3b02af4439e

10 years agoMerge "Settings: Wire up Display > Lift to wake." into lmp-dev
John Spurlock [Wed, 23 Jul 2014 19:17:22 +0000 (19:17 +0000)]
Merge "Settings: Wire up Display > Lift to wake." into lmp-dev

10 years agoSettings: Wire up Display > Lift to wake.
John Spurlock [Wed, 23 Jul 2014 17:01:21 +0000 (13:01 -0400)]
Settings: Wire up Display > Lift to wake.

Bug:15521792
Change-Id: I1a771641ad4fc52599149ac7db4a4fe55a6b9286

10 years agoAdd Home / Launcher apps indexing
Fabrice Di Meglio [Tue, 22 Jul 2014 22:06:31 +0000 (15:06 -0700)]
Add Home / Launcher apps indexing

- add a BaseSearchIndexProvider to HomeSettings
- use a BroadcastReceiver for tracking add or remove of
Home / Launcher apps
- add "launcher" synonym for "home" too

- also code cleaning for DynamicIndexableContentMonitor

See bug: #16484927 Add "launcher" as a synonym for "home" in settings search

Change-Id: I819f4e5f7bd5e9a7882609206b2733ea1912fc69

10 years agoMerge "Remove dialog icons" into lmp-dev
Alan Viverette [Wed, 23 Jul 2014 01:52:59 +0000 (01:52 +0000)]
Merge "Remove dialog icons" into lmp-dev

10 years agoRemove dialog icons
Alan Viverette [Wed, 23 Jul 2014 01:40:48 +0000 (18:40 -0700)]
Remove dialog icons

BUG: 16493564
Change-Id: I35ec0a8fc6ce3148b5bf469bfd2b56d0ae6d95ee

10 years agoMerge "Settings: Disable Interruptions > From when N/A." into lmp-dev
John Spurlock [Wed, 23 Jul 2014 01:43:37 +0000 (01:43 +0000)]
Merge "Settings: Disable Interruptions > From when N/A." into lmp-dev

10 years agoSettings: Disable Interruptions > From when N/A.
John Spurlock [Wed, 23 Jul 2014 01:40:41 +0000 (21:40 -0400)]
Settings: Disable Interruptions > From when N/A.

Bug:16486621
Change-Id: Id720337905051a11ca95fac53f89963495998924

10 years agoImprove protection against malicious admins.
Dianne Hackborn [Tue, 22 Jul 2014 23:23:36 +0000 (16:23 -0700)]
Improve protection against malicious admins.

- 2 second timeout until we give up on displaying a message,
  keeping us within the 5 second activity launch block time.
- Restart the activity launch block when we show the dialog.
- Use app ops to prevent the app of the currently displayed
  admin from putting windows on top while the settings screen
  is running.

Change-Id: I631e8896ec7539c2de3ff36f183e67e36bcc37ca

10 years agoUse SwitchPreference for input method subtype enabler
Tadashi G. Takaoka [Sun, 20 Jul 2014 01:16:43 +0000 (18:16 -0700)]
Use SwitchPreference for input method subtype enabler

Bug: 15781377
Change-Id: I80fe987e499722af7768147a184934650bbf8385

10 years agoMerge "Reset color space when development options are disabled" into lmp-dev
Alan Viverette [Wed, 23 Jul 2014 00:24:02 +0000 (00:24 +0000)]
Merge "Reset color space when development options are disabled" into lmp-dev

10 years agoSettings: Tweak zen alarm info string.
John Spurlock [Tue, 22 Jul 2014 20:31:00 +0000 (16:31 -0400)]
Settings: Tweak zen alarm info string.

Use standard styling and remove the bit about timers.

Bug:16487906
Change-Id: I28b8ac61981a2e9956d41768ee1185dc5ad950f3

10 years agoMerge "Data Usage, materialized!" into lmp-dev
Jeff Sharkey [Tue, 22 Jul 2014 23:40:05 +0000 (23:40 +0000)]
Merge "Data Usage, materialized!" into lmp-dev

10 years agoRemoved WPA PSK from HotSpot Options
PauloftheWest [Tue, 22 Jul 2014 22:43:59 +0000 (15:43 -0700)]
Removed WPA PSK from HotSpot Options

Bug: 16380972
Change-Id: I77735ff7a8962d538132bb55ebbf6cc75358f8a1

10 years agoData Usage, materialized!
Jeff Sharkey [Mon, 21 Jul 2014 22:38:06 +0000 (15:38 -0700)]
Data Usage, materialized!

Asset drop so Data Usage matches new Material spec.  Removes time
dimension sweeps, so we now summarize the entire visible axis.  Fix
time axis labels to not draw outside clip bounds.  Remove pie chart.

No more checkboxes in menus.  Telephony items like roaming are moved
back to cellular settings.  Start wiring up multi-SIM support.

Bug: 15760500160197001628992416303795
Change-Id: Ie8f4821962319bb82ff4bc2f13f1f66ba1bdfe65

10 years agoMerge "Stop using framework-private switch asset" into lmp-dev
Alan Viverette [Tue, 22 Jul 2014 23:23:21 +0000 (23:23 +0000)]
Merge "Stop using framework-private switch asset" into lmp-dev

10 years agoStop using framework-private switch asset
Alan Viverette [Tue, 22 Jul 2014 23:11:01 +0000 (16:11 -0700)]
Stop using framework-private switch asset

BUG: 16467249
Change-Id: I0829c3dea522cf59e0f92046ea7c6092d416ad4c

10 years agoRevert "Revert "Move global sync settings to AccountSettings.""
Alexandra Gherghina [Tue, 22 Jul 2014 12:04:58 +0000 (12:04 +0000)]
Revert "Revert "Move global sync settings to AccountSettings.""

This reverts commit 4869faf46559c54a34b969b5ae5391a208e723af.

Change-Id: I58df9b8161d711a9c0187af1f1a1dc279fb9d9ab

10 years agoReset color space when development options are disabled
Alan Viverette [Tue, 22 Jul 2014 00:45:26 +0000 (17:45 -0700)]
Reset color space when development options are disabled

BUG: 16306222
Change-Id: I4939a4fba8b0358333f6ff25ff8c405c5679579d

10 years agoMerge "Add Home / Launcher apps indexing" into lmp-dev
Fabrice Di Meglio [Tue, 22 Jul 2014 22:17:42 +0000 (22:17 +0000)]
Merge "Add Home / Launcher apps indexing" into lmp-dev

10 years agoMerge "Character limit updates" into lmp-dev
PauloftheWest [Wed, 23 Jul 2014 17:14:50 +0000 (17:14 +0000)]
Merge "Character limit updates" into lmp-dev

10 years agoCharacter limit updates
PauloftheWest [Wed, 23 Jul 2014 17:11:43 +0000 (10:11 -0700)]
Character limit updates

Bug: 16322106
Bug: 16321901
Change-Id: I776a86658e03a6bed5554a1020cf2c272cbeb49b

10 years agoGet rid of duplicated code in accessibility settings.
Narayan Kamath [Mon, 14 Jul 2014 15:36:10 +0000 (16:36 +0100)]
Get rid of duplicated code in accessibility settings.

Has the side effect of picking up changes to LocalePicker
that added support for 3 letter language codes.

bug: 10090157

(cherry picked from commit 26edbccb58c6da452f20ad0695716324e3c29224)

Change-Id: I0f41f27e3e6eb88f0265c9ef6b3f34df04bfff1b

10 years agoMerge "Lockdown 'remove user' with user restriction in Settings for phones." into...
Julia Reynolds [Wed, 23 Jul 2014 14:51:29 +0000 (14:51 +0000)]
Merge "Lockdown 'remove user' with user restriction in Settings for phones." into lmp-dev

10 years agoAllow CryptKeeper dialogs to rotate on tablets
Paul Lawrence [Tue, 22 Jul 2014 22:00:50 +0000 (15:00 -0700)]
Allow CryptKeeper dialogs to rotate on tablets

Tablets may be used in docking stations thus need to support landscape mode.
Phones will not be, and having them rotate is both ugly and annoying.
Also this matches lock screen behavior.

The attribute screenOrientation is not themeable, so the only way of doing
this is programmatic.

Test for truth of bool which is only set for sw600dp devices and
clear the nosensor setting from the manifest if set.

Bug: 16405551
Change-Id: I5b3f945b89402e5aa39642c2c06e98f9ca1ce298

10 years agoRemove fake 8dp padding on N7 devices
Fabrice Di Meglio [Tue, 22 Jul 2014 02:11:06 +0000 (19:11 -0700)]
Remove fake 8dp padding on N7 devices

- was a remaining artifact from a test

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: Ib39166213bb76ceb2319b21cb3651e7c43c4de68

10 years agoAdd the capability to set a pinned header to a ListFragment
Fabrice Di Meglio [Tue, 22 Jul 2014 00:14:31 +0000 (17:14 -0700)]
Add the capability to set a pinned header to a ListFragment

- add public void setPinnedHeaderView(View pinnedHeader) and
clearPinnedHeaderView() APIs for adding and clearing the pinned header

Change-Id: I1096b418351c0f02a13fd49d4a19e52970125106

10 years agoAdd the capability to set a pinned header to SettingsPreferenceFragment
Fabrice Di Meglio [Mon, 21 Jul 2014 23:02:27 +0000 (16:02 -0700)]
Add the capability to set a pinned header to SettingsPreferenceFragment

- add a FrameLayout into the preference list fragment
- add public void setPinnedHeaderView(View pinnedHeader) and
clearPinnedHeaderView() APIs for adding and clearing the pinned header

Change-Id: I50ba5dd150167e0d49cc54bee1203f46db6d7a66

10 years agoFix Notification Access layout for tabletUI support
Fabrice Di Meglio [Mon, 21 Jul 2014 20:41:32 +0000 (13:41 -0700)]
Fix Notification Access layout for tabletUI support

- setup correct padding for the App list and its item

also remove showing FastScroller all the time on App Notification list

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I11a70906f1372027622d50a81bc7744d48190f8a

10 years agoFix App Notification layout for tabletUI support
Fabrice Di Meglio [Mon, 21 Jul 2014 20:19:06 +0000 (13:19 -0700)]
Fix App Notification layout for tabletUI support

- setup correct padding for the App list and its item

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I6c14bb8abced59b636a3230e1daf783130f0f4d3

10 years agoFix bug #16451628 Settings app crashes for intent: android.settings.ACTION_APP_NOTIFI...
Fabrice Di Meglio [Mon, 21 Jul 2014 18:22:20 +0000 (11:22 -0700)]
Fix bug #16451628 Settings app crashes for intent: android.settings.ACTION_APP_NOTIFICATION_SETTINGS

... and also crash with intent: android.settings.ACTION_OTHER_SOUND_SETTINGS

- add corresponding fragments to the ENTRY_FRAGMENTS array

Change-Id: Ic0c10841dfd7bc87d8573530129290ed172ff608

10 years agoFix AppDetails padding on tablet UI
Fabrice Di Meglio [Sat, 19 Jul 2014 02:58:50 +0000 (19:58 -0700)]
Fix AppDetails padding on tablet UI

- force custom padding

See bug #: 13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I5c26402c10a4e717cda22b320ab0790f598591c2

10 years agoFix Utils.prepareCustomPreferencesList()
Fabrice Di Meglio [Sat, 19 Jul 2014 02:12:36 +0000 (19:12 -0700)]
Fix Utils.prepareCustomPreferencesList()

- and thus fix padding for all Fragments using it

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I862c96d626ed906cbdafcfb40fa0e07bb804160f

10 years agoFix the way we select and apply Themes
Fabrice Di Meglio [Sat, 19 Jul 2014 00:44:37 +0000 (17:44 -0700)]
Fix the way we select and apply Themes

- do not override the DialogWhenLarge ones (they have their purpose)
- apply the correct Theme to SubSettings and then as a consequence
to the SwitchBar

Change-Id: I83adabf72da03051f03fbd2121e1e71217fc0c6a

10 years agoFix overdraw and do some layout optimizations
Fabrice Di Meglio [Fri, 18 Jul 2014 22:20:34 +0000 (15:20 -0700)]
Fix overdraw and do some layout optimizations

- use a specific layout for the Dashboard and for the Preferences
- use a specific background for the Dashboard and for the Preferences

The main idea here is that you cannot have the same layout / background
because the Dashboard is using the "Z elevation" for having its card
"poping up"

Change-Id: I42b7c91efea14315b8a60cf3876938a7f1d1e0b3

10 years agoFix alignment of ActionBar title and Preferences for tablet UI
Fabrice Di Meglio [Fri, 18 Jul 2014 02:36:14 +0000 (19:36 -0700)]
Fix alignment of ActionBar title and Preferences for tablet UI

- use the correct start/end padding

See bug: #15439371 Visual add white BG for Settings Detail

Change-Id: I391fb3c75c51349ffbc17295b3aac6f432f91b58

10 years agoMerge "Settings: No really, keep the trailing space." into lmp-dev
John Spurlock [Tue, 22 Jul 2014 19:22:27 +0000 (19:22 +0000)]
Merge "Settings: No really, keep the trailing space." into lmp-dev

10 years agoSettings: No really, keep the trailing space.
John Spurlock [Tue, 22 Jul 2014 19:17:49 +0000 (15:17 -0400)]
Settings: No really, keep the trailing space.

Bug:16487510
Change-Id: Ic10ace9803c7d488240d819427ffec412a10d81a

10 years agoFix and simplify advanced security settings layout
Adrian Roos [Fri, 18 Jul 2014 11:42:01 +0000 (13:42 +0200)]
Fix and simplify advanced security settings layout

Provides correct padding for tablets and sets background
drawable.

Bug: 16382821
Change-Id: I0aa0c9f8c6fccb6c201e78075c37a7c7e2315d07

10 years agoRevert "Move global sync settings to AccountSettings."
Alexandra Gherghina [Tue, 22 Jul 2014 12:01:54 +0000 (12:01 +0000)]
Revert "Move global sync settings to AccountSettings."

This reverts commit 64fde6f4e9404a363f577a9fda424affcb5138e4.

Change-Id: I61940b6e2936c7c7f048af222602226e5588c268

10 years agoMove global sync settings to AccountSettings.
Alexandra Gherghina [Wed, 9 Jul 2014 08:30:18 +0000 (09:30 +0100)]
Move global sync settings to AccountSettings.

It also makes AccountSettings respond to the SYNC_SETTINGS intent, which
it is currently triggered by Calendar and could be triggered by Gmail.

Bug: 16076571
Change-Id: I2c55262a87e46ba88f36a90a2f8f27d08f88e851

10 years agoUnify voice interactor and recognizer settings.
Dianne Hackborn [Sat, 19 Jul 2014 02:20:11 +0000 (19:20 -0700)]
Unify voice interactor and recognizer settings.

There is now one settings UI to select both the new
voice interactor and old voice recognizer.

There are still a few wonky things about this that won't
be resolved until we start requiring that all interactors
specify an associated recognizer service.

Change-Id: Ib702ff717fb28bcb244cb30e49577066ddc9f197

10 years agoMerge "Remove fake 8dp padding on N7 devices" into lmp-dev
Fabrice Di Meglio [Tue, 22 Jul 2014 02:16:16 +0000 (02:16 +0000)]
Merge "Remove fake 8dp padding on N7 devices" into lmp-dev