OSDN Git Service
Lajos Molnar [Mon, 28 Jul 2014 04:35:37 +0000 (21:35 -0700)]
Make nuplayer the default media player.
Update nuplayer settings to use awesomeplayer key.
Bug:
11784824
Change-Id: I25ec4b4bd289e3f00c3d299b1a3a5275d1ba73fe
Tadashi G. Takaoka [Mon, 28 Jul 2014 02:36:56 +0000 (02:36 +0000)]
Merge "Show "up navigate" icon in input method subtype enabler" into lmp-dev
Tadashi G. Takaoka [Wed, 23 Jul 2014 22:03:32 +0000 (15:03 -0700)]
Show "up navigate" icon in input method subtype enabler
Since API 16 (and API 14 with support library) and later, we started
supporting "up navigation" model.
http://developer.android.com/training/implementing-navigation/ancestral.html
As a part of Settings app and a part of an IME's settings activity,
the input method subtype enabler should have a "up navigate icon on
its action bar.
Bug:
16595009
Change-Id: Iaaadd970395b9c9254ab60b2e8fee22dffb8c7f6
Amith Yamasani [Sat, 26 Jul 2014 23:47:00 +0000 (16:47 -0700)]
Change tablet to device so it doesn't say tablet on a phone
Bug:
16447351
Change-Id: I3d10e1e1546602c4155de70650e6f9ee582fe552
Amith Yamasani [Fri, 25 Jul 2014 19:52:29 +0000 (12:52 -0700)]
More User Settings improvements
Add a menu checkbox to allow creation of users from lockscreen.
Add a delete icon in restricted profiles settings.
Other little fixes to icons.
Update some strings based on feedback.
Bug:
15761405
Bug:
16550371
Bug:
16298824
Change-Id: Ib876bd57f15c6ce2d71856f72571c6b8b0e3102d
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
Amith Yamasani [Sun, 27 Jul 2014 06:06:07 +0000 (06:06 +0000)]
Merge "Increase string lengths for translation" into lmp-dev
Amith Yamasani [Sun, 27 Jul 2014 05:54:40 +0000 (22:54 -0700)]
Increase string lengths for translation
Bug:
16062154
Change-Id: Ib0086f23283f324a18f71ec5f8bab9275567c59f
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
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
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
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
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
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
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
PauloftheWest [Thu, 24 Jul 2014 18:46:07 +0000 (18:46 +0000)]
Merge "Fixed an illustrious NullPointer bug on Wifi Assistant" into lmp-dev
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
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
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
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
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
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
Fabrice Di Meglio [Fri, 25 Jul 2014 02:59:33 +0000 (02:59 +0000)]
Merge "Fix Preferences background color" 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
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
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
Baligh Uddin [Thu, 24 Jul 2014 21:46:51 +0000 (21:46 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev
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
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
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
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
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
PauloftheWest [Thu, 24 Jul 2014 19:59:03 +0000 (19:59 +0000)]
Merge "Added SIM Card Activity to Settings" into lmp-dev
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
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
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
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
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
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
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
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
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
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
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
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
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
Fabrice Di Meglio [Wed, 23 Jul 2014 18:25:53 +0000 (11:25 -0700)]
OwnerInfos code cleaning
Change-Id: I5f4e5dcee4af672fa11f552544bfcf4506a21258
Fabrice Di Meglio [Thu, 24 Jul 2014 02:07:56 +0000 (02:07 +0000)]
Merge "Code cleaning" 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
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
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
Maurice Lam [Wed, 23 Jul 2014 23:00:41 +0000 (23:00 +0000)]
Merge "[WifiSetup] Tablet landscape layout" into lmp-dev
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
Fabrice Di Meglio [Wed, 23 Jul 2014 22:39:10 +0000 (22:39 +0000)]
Merge "Code cleaning for Index" 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
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
Julia Reynolds [Wed, 18 Jun 2014 13:23:15 +0000 (09:23 -0400)]
Use restrictionsprovider framework in Settings.
Bug:
15305103
Change-Id: Ib0147e366fe90de3512d0cc06e2a47ee16012dff
Alan Viverette [Wed, 23 Jul 2014 21:41:38 +0000 (21:41 +0000)]
Merge "Use activity for brightness dialog" into lmp-dev
Fabrice Di Meglio [Wed, 23 Jul 2014 20:37:39 +0000 (20:37 +0000)]
Merge "Fix NotificationStation theming" into lmp-dev
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
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
Fabrice Di Meglio [Wed, 23 Jul 2014 20:14:46 +0000 (20:14 +0000)]
Merge "Code cleaning for NotificationStation" into lmp-dev
Fabrice Di Meglio [Wed, 23 Jul 2014 19:53:04 +0000 (19:53 +0000)]
Merge "OwnerInfos code cleaning" 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
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
John Spurlock [Wed, 23 Jul 2014 19:17:22 +0000 (19:17 +0000)]
Merge "Settings: Wire up Display > Lift to wake." into lmp-dev
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
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
Alan Viverette [Wed, 23 Jul 2014 01:52:59 +0000 (01:52 +0000)]
Merge "Remove dialog icons" into lmp-dev
Alan Viverette [Wed, 23 Jul 2014 01:40:48 +0000 (18:40 -0700)]
Remove dialog icons
BUG:
16493564
Change-Id: I35ec0a8fc6ce3148b5bf469bfd2b56d0ae6d95ee
John Spurlock [Wed, 23 Jul 2014 01:43:37 +0000 (01:43 +0000)]
Merge "Settings: Disable Interruptions > From when N/A." into lmp-dev
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
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
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
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
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
Jeff Sharkey [Tue, 22 Jul 2014 23:40:05 +0000 (23:40 +0000)]
Merge "Data Usage, materialized!" into lmp-dev
PauloftheWest [Tue, 22 Jul 2014 22:43:59 +0000 (15:43 -0700)]
Removed WPA PSK from HotSpot Options
Bug:
16380972
Change-Id: I77735ff7a8962d538132bb55ebbf6cc75358f8a1
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:
15760500,
16019700,
16289924,
16303795
Change-Id: Ie8f4821962319bb82ff4bc2f13f1f66ba1bdfe65
Alan Viverette [Tue, 22 Jul 2014 23:23:21 +0000 (23:23 +0000)]
Merge "Stop using framework-private switch asset" into lmp-dev
Alan Viverette [Tue, 22 Jul 2014 23:11:01 +0000 (16:11 -0700)]
Stop using framework-private switch asset
BUG:
16467249
Change-Id: I0829c3dea522cf59e0f92046ea7c6092d416ad4c
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
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
Fabrice Di Meglio [Tue, 22 Jul 2014 22:17:42 +0000 (22:17 +0000)]
Merge "Add Home / Launcher apps indexing" into lmp-dev
PauloftheWest [Wed, 23 Jul 2014 17:14:50 +0000 (17:14 +0000)]
Merge "Character limit updates" into lmp-dev
PauloftheWest [Wed, 23 Jul 2014 17:11:43 +0000 (10:11 -0700)]
Character limit updates
Bug:
16322106
Bug:
16321901
Change-Id: I776a86658e03a6bed5554a1020cf2c272cbeb49b
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
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
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
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
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
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
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
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
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
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
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
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
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
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