Fabrice Di Meglio
9e041f02ec
Some code formatting
...
- add some extra lines into those XML layout files
Change-Id: I13c004f23a5c59d46702a93b1cfa7e9b9587b8c2
2014-07-28 17:54:30 -07:00
Fabrice Di Meglio
1d5b910f1c
Fix bug #14323097 Launching Security from Settings search results
...
...show header as Settings instead of Security
- add missing title to a few fragments
Change-Id: I74fb95ca58269ff1c77afa20ed40e7042873130c
2014-07-28 15:47:21 -07:00
Fabrice Di Meglio
2ec78636f7
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
2014-07-25 16:28:53 -07:00
Fabrice Di Meglio
b7bd72f297
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
2014-07-25 13:03:09 -07:00
Fabrice Di Meglio
9a60d7b569
Enforce the presence of the Indexable interface for Indexing
...
- check that the Indexable interface has been defined before indexing
Change-Id: Ia61915b2bd1240226ba560ecfd883a115b49da95
2014-07-24 19:53:47 -07:00
Fabrice Di Meglio
1bf89b742d
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
2014-07-24 17:03:04 -07:00
Fabrice Di Meglio
e20e169bbe
More fixes for QuickLaunchSettings
...
- use DialogWhenLarge on tabletUI
- update layouts for following Material theme
Change-Id: If7aa153168eae9d2e72c50e4ae38bcd2fa6bb4bd
2014-07-24 15:46:35 -07:00
Fabrice Di Meglio
e3ff4d8e92
Fix bug #16515550 Settings app crashes for intent com.android.settings.QUICK_LAUNCH_SETTINGS
...
- make it work again (what a code...)
Change-Id: Ic71d8e40ff8a5e0c663fd40655e4f4cc31bc8caf
2014-07-24 14:07:02 -07:00
PauloftheWest
958d1ee6d5
Merge "Fixed an illustrious NullPointer bug on Wifi Assistant" into lmp-dev
2014-07-24 15:36:14 +00:00
PauloftheWest
63a1affdae
Fixed an illustrious NullPointer bug on Wifi Assistant
...
+ The class was never instantiated...
Bug: 16543506
Change-Id: I00882df31ee986116b8fa28a54796bb3b20f2e2b
2014-07-24 11:45:22 -07:00
Alexandra Gherghina
2513851ace
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
2014-07-24 13:45:52 +01:00
Alexandra Gherghina
377b8df3ed
Merge "Checks if the right user has a restriction" into lmp-dev
2014-07-23 19:22:09 +00:00
Alexandra Gherghina
e82d0f2f8e
Checks if the right user has a restriction
...
Bug: 15466880
Change-Id: I9199c6054e9955a90958fd3a751f321cf6fa9990
2014-07-23 22:09:07 +01:00
Fabrice Di Meglio
76f5c3bc72
Merge "More code cleaning for the Home intent filters" into lmp-dev
2014-07-23 18:44:51 +00:00
Fabrice Di Meglio
c9ad22c38b
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
2014-07-23 19:32:57 -07:00
Fabrice Di Meglio
7f5c5e8bb8
Code cleaning
...
- remove those non usefull Intent.CATEGORY_LAUNCHER
Change-Id: Ib6e5f4a5265633da85423307fac26a104814f05f
2014-07-23 19:03:33 -07:00
Fabrice Di Meglio
b0a464fd2c
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
2014-07-23 18:20:53 -07:00
Fabrice Di Meglio
ceb335f88f
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
2014-07-23 16:25:30 -07:00
Fabrice Di Meglio
9301441e2a
Code cleaning for Index
...
- make that UpdateData class static
Change-Id: I22ac148613fcaa4ed3ad615c4eca037b5dc6b986
2014-07-23 15:35:33 -07:00
Fabrice Di Meglio
9c3f11fa05
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
2014-07-23 13:31:26 -07:00
Fabrice Di Meglio
6e10693db5
Code cleaning for NotificationStation
...
- remove dead code and vars
- log exceptions
Change-Id: Idff91c27620955a3458c2358b629331e140aedba
2014-07-23 13:07:52 -07:00
Fabrice Di Meglio
0592a21fd8
OwnerInfos code cleaning
...
Change-Id: I5f4e5dcee4af672fa11f552544bfcf4506a21258
2014-07-23 12:45:13 -07:00
Fabrice Di Meglio
87915ea074
Merge "Code cleaning" into lmp-dev
2014-07-23 18:50:38 +00:00
Fabrice Di Meglio
456229ccdf
Merge "Fix how Home Activities are refreshed" into lmp-dev
2014-07-23 18:50:38 +00:00
Fabrice Di Meglio
1e9405b5cc
Merge "Add Settings Dashboard refresh for Home activities" into lmp-dev
2014-07-23 18:50:38 +00:00
Jim Miller
dfd2c6f261
Change wording in keyguard settings menu.
...
Fixes bug 15167729
Change-Id: Ie748b25667de3d237da34fc9b6a7bedad3ae1dcc
2014-07-23 23:20:33 +00:00
Maurice Lam
56d781b32b
Merge "[WifiSetup] Tablet landscape layout" into lmp-dev
2014-07-23 18:56:15 +00:00
Maurice Lam
068354a1bb
[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
2014-07-23 14:10:46 -07:00
Fabrice Di Meglio
56fc6a7530
Merge "Code cleaning for Index" into lmp-dev
2014-07-23 18:56:15 +00:00
PauloftheWest
d89febb6de
Merge "Fixed bug where multiple access points would show connected" into lmp-dev
2014-07-23 18:44:51 +00:00
PauloftheWest
85f545b5d9
Fixed bug where multiple access points would show connected
...
Bug: 16236217
Change-Id: I0d95c753025f0787ca03876bab1fb66ec7916bf7
2014-07-23 14:50:57 -07:00
Julia Reynolds
1a0297c544
Use restrictionsprovider framework in Settings.
...
Bug: 15305103
Change-Id: Ib0147e366fe90de3512d0cc06e2a47ee16012dff
2014-07-23 21:06:21 +00:00
Alan Viverette
68419fca2d
Merge "Use activity for brightness dialog" into lmp-dev
2014-07-23 18:44:51 +00:00
Fabrice Di Meglio
289a63f509
Merge "Fix NotificationStation theming" into lmp-dev
2014-07-23 18:44:51 +00:00
Dianne Hackborn
f151ea3482
Merge "Work on issue #16135174 : Apps page "smoke" gradient footer must be removed" into lmp-dev
2014-07-23 18:44:51 +00:00
Dianne Hackborn
fe9590bb19
Work on issue #16135174 : Apps page "smoke" gradient footer must be removed
...
New header in running services. Not yet done.
Change-Id: Ibe2f4145796c7863ec80e0ea2d8d87dc910bac7e
2014-07-23 13:50:07 -07:00
Fabrice Di Meglio
a79400defc
Merge "Code cleaning for NotificationStation" into lmp-dev
2014-07-23 18:44:51 +00:00
Fabrice Di Meglio
6cad255000
Merge "OwnerInfos code cleaning" into lmp-dev
2014-07-23 18:44:51 +00:00
John Spurlock
a8e0a5b5f9
Merge "Settings: Add to the zen alarm string." into lmp-dev
2014-07-23 18:31:55 +00:00
John Spurlock
1b821ffad4
Settings: Add to the zen alarm string.
...
Bug:16406214
Change-Id: I9112c93fdee847633f9e5fb79129a3b02af4439e
2014-07-24 11:24:18 -04:00
Paul Lawrence
e68f5224e4
Show correct string when prompting for pattern before encrypting
...
Bug: 16505763
Change-Id: I05d874be7651f68688d6582236541f418ec6afc2
2014-07-24 15:11:16 +00:00
John Spurlock
d39d731473
Merge "Settings: Wire up Display > Lift to wake." into lmp-dev
2014-07-23 18:31:55 +00:00
John Spurlock
333efe9097
Settings: Wire up Display > Lift to wake.
...
Bug:15521792
Change-Id: I1a771641ad4fc52599149ac7db4a4fe55a6b9286
2014-07-23 13:12:50 -04:00
Fabrice Di Meglio
d73045db7a
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
2014-07-22 15:13:54 -07:00
Alan Viverette
b125caa7ed
Merge "Remove dialog icons" into lmp-dev
2014-07-22 22:02:55 +00:00
Alan Viverette
54ccaf6f77
Remove dialog icons
...
BUG: 16493564
Change-Id: I35ec0a8fc6ce3148b5bf469bfd2b56d0ae6d95ee
2014-07-22 18:40:48 -07:00
John Spurlock
ff941af733
Merge "Settings: Disable Interruptions > From when N/A." into lmp-dev
2014-07-22 22:02:49 +00:00
John Spurlock
de99ccf18b
Settings: Disable Interruptions > From when N/A.
...
Bug:16486621
Change-Id: Id720337905051a11ca95fac53f89963495998924
2014-07-22 21:40:41 -04:00
Dianne Hackborn
b763e34210
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
2014-07-22 18:30:26 -07:00
Tadashi G. Takaoka
1f53937469
Use SwitchPreference for input method subtype enabler
...
Bug: 15781377
Change-Id: I80fe987e499722af7768147a184934650bbf8385
2014-07-22 17:22:15 +00:00