OSDN Git Service

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

10 years agoMerge "Add the capability to set a pinned header to a ListFragment" into lmp-dev
Fabrice Di Meglio [Tue, 22 Jul 2014 00:28:45 +0000 (00:28 +0000)]
Merge "Add the capability to set a pinned header to a ListFragment" into lmp-dev

10 years agoMerge "Treat caption preview viewport as clipped 16:9 aspect" into lmp-dev
Alan Viverette [Tue, 22 Jul 2014 00:10:17 +0000 (00:10 +0000)]
Merge "Treat caption preview viewport as clipped 16:9 aspect" into lmp-dev

10 years agoTreat caption preview viewport as clipped 16:9 aspect
Alan Viverette [Mon, 21 Jul 2014 23:48:13 +0000 (16:48 -0700)]
Treat caption preview viewport as clipped 16:9 aspect

Also adds standard start/end padding to preview frame.

BUG: 16462107
Change-Id: I89001d1656cee0c2d8abd95eae09975307b1ff06

10 years agoMerge "Remove inversion quick settings toggle" into lmp-dev
Alan Viverette [Mon, 21 Jul 2014 23:52:12 +0000 (23:52 +0000)]
Merge "Remove inversion quick settings toggle" into lmp-dev

10 years agoRemove inversion quick settings toggle
Alan Viverette [Mon, 21 Jul 2014 21:34:22 +0000 (14:34 -0700)]
Remove inversion quick settings toggle

Also removes remnants of contrast preference screen.

BUG: 16303790
Change-Id: I9833b53e187e5f41c0442bcbaf9b728d55577d88

10 years agoMerge "Add the capability to set a pinned header to SettingsPreferenceFragment" into...
Fabrice Di Meglio [Mon, 21 Jul 2014 23:19:28 +0000 (23:19 +0000)]
Merge "Add the capability to set a pinned header to SettingsPreferenceFragment" into lmp-dev

10 years agoMerge "Remove unused and unnecessary code from subtype enabler" into lmp-dev
Tadashi G. Takaoka [Mon, 21 Jul 2014 22:24:31 +0000 (22:24 +0000)]
Merge "Remove unused and unnecessary code from subtype enabler" into lmp-dev

10 years agoFollow API change from *Blocked to *Hidden
Amith Yamasani [Sat, 19 Jul 2014 22:57:34 +0000 (15:57 -0700)]
Follow API change from *Blocked to *Hidden

Bug: 16191518
Change-Id: I4cbe210e62d551e4d5246eb3a7523d03c41175be

10 years agoRemove unused and unnecessary code from subtype enabler
Tadashi G. Takaoka [Mon, 21 Jul 2014 21:17:47 +0000 (14:17 -0700)]
Remove unused and unnecessary code from subtype enabler

Change-Id: I9935b5bda8ae7cd1ce2d20ee6c4622eeb9a02b6a

10 years agoMerge "Fix Notification Access layout for tabletUI support" into lmp-dev
Fabrice Di Meglio [Mon, 21 Jul 2014 20:46:35 +0000 (20:46 +0000)]
Merge "Fix Notification Access layout for tabletUI support" into lmp-dev

10 years agoFix showing list of languages for picoTTS
Przemyslaw Szczepaniak [Mon, 21 Jul 2014 15:27:00 +0000 (16:27 +0100)]
Fix showing list of languages for picoTTS

PicoTTS have a tendency to return a
CHECK_VOICE_DATA_MISSING_DATA for its CHECK_TTS_DATA
activity. This blanks the language selection preference.
The fix is to show languages selection for all
results of CHECK_TTS_DATA that are not a total failure
(TextToSpeech.Engine.CHECK_VOICE_DATA_FAIL).

Change-Id: I984d7cc9b0dc830ad2b8195a820f9b6fc4ddf1e0
(cherry picked from commit e0d519f3cf1323f7c83971b6d75f11788d4c961b)

10 years agoMerge "Fix App Notification layout for tabletUI support" into lmp-dev
Fabrice Di Meglio [Mon, 21 Jul 2014 20:24:22 +0000 (20:24 +0000)]
Merge "Fix App Notification layout for tabletUI support" into lmp-dev

10 years agoMerge "Make TTS setting transition animation consistent." into lmp-dev
Przemyslaw Szczepaniak [Mon, 21 Jul 2014 09:52:53 +0000 (09:52 +0000)]
Merge "Make TTS setting transition animation consistent." into lmp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 20 Jul 2014 21:53:03 +0000 (14:53 -0700)]
Import translations. DO NOT MERGE

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

10 years agoMerge "Use OnPreferenceChangeLister for subtype enabler" into lmp-dev
Tadashi G. Takaoka [Tue, 22 Jul 2014 17:19:36 +0000 (17:19 +0000)]
Merge "Use OnPreferenceChangeLister for subtype enabler" into lmp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 22 Jul 2014 03:03:25 +0000 (20:03 -0700)]
Import translations. DO NOT MERGE

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

10 years agoUse OnPreferenceChangeLister for subtype enabler
Tadashi G. Takaoka [Mon, 21 Jul 2014 19:16:18 +0000 (12:16 -0700)]
Use OnPreferenceChangeLister for subtype enabler

Change-Id: Id9eaed14803b6c4e194f1cf62900de0a053da012

10 years agoMerge "Fix bug #16451628 Settings app crashes for intent: android.settings.ACTION_APP...
Fabrice Di Meglio [Mon, 21 Jul 2014 18:27:30 +0000 (18:27 +0000)]
Merge "Fix bug #16451628 Settings app crashes for intent: android.settings.ACTION_APP_NOTIFICATION_SETTINGS" into lmp-dev

10 years agoMerge "Fix AppDetails padding on tablet UI" into lmp-dev
Fabrice Di Meglio [Mon, 21 Jul 2014 17:53:44 +0000 (17:53 +0000)]
Merge "Fix AppDetails padding on tablet UI" into lmp-dev

10 years agoMerge "Add Screen pinning back to settings" into lmp-dev
Jason Monk [Mon, 21 Jul 2014 17:17:45 +0000 (17:17 +0000)]
Merge "Add Screen pinning back to settings" into lmp-dev

10 years agoAdd Screen pinning back to settings
Jason Monk [Fri, 18 Jul 2014 13:55:41 +0000 (09:55 -0400)]
Add Screen pinning back to settings

Adds a basic screen for screen pinning (previously lock-to-app) to
settings that describes the feature and allows it to be turned on
and off.

Bug: 16378448
Depends on Ide333463f86310eacb7a1d8b6dc7b1aea8722713 for Settings
constant
Change-Id: Id3ef8471794aa01de20efeb947bed95c50d6b954

10 years agoMerge "Remove deprecated locales - DO NOT MERGE" into lmp-dev
Baligh Uddin [Sun, 20 Jul 2014 02:27:08 +0000 (02:27 +0000)]
Merge "Remove deprecated locales - DO NOT MERGE" into lmp-dev

10 years agoMerge "Fix Settings behavior when disabling current IME" into lmp-dev
Tadashi G. Takaoka [Sun, 20 Jul 2014 01:02:04 +0000 (01:02 +0000)]
Merge "Fix Settings behavior when disabling current IME" into lmp-dev