- refactor all the code that was using the Switch to control it thru the SwitchBar
- start the Switch as View.GONE and make it View.VISIBLE when it is set
as "enabled" or "checked" so that you dont see the Switch transition (it shows
only with it final state)
Change-Id: I382076bf3c819c530b5b2c06ca2429dfb2cdc6bf
* commit '9c3c57f7aeced1dad6f7aca5552d01f696f8ea26':
DO NOT MERGE: Fix bug #15161058 Stability: ISE in Settings:Fragment DashboardSummary{588de71} not attached to Activity
- prevent rebuilding the UI until the fragment got attached
Change-Id: I6d5fcbce2581f3fc9900f1ca4fc8178ee959061e
(cherry picked from commit 53d76860a5)
- prevent loading categories twice
- add some logging to see the time taken for building the Dashboard titles
Change-Id: I31724c0e66fe3b453a87f12476f58db84c73423f
(cherry picked from commit b644f29313)
The switch bar is only accessible in onActivityCreated. Defer
initialization until then.
Bug:15214851
Change-Id: Ie026d46250dae397ba0af02e833bb178631fe708
- clean some imports
- add key and title to security_settings_picker.xml
- add ChooseLockGenericFragment in SearchIndexableResources
Change-Id: I867a1e11905cc4059d6eccabeab04d55cc3d799e
- use TransitionManager.beginDelayedTransition() and
getFragmentManager().executePendingTransactions()
Change-Id: I5d583916afb8b87dfe2b17b4e685ef5384c5fbd2
- per UX request
- Search recents show now by defaults with the recent searches
when the SearchView is empty
- when we press on a Serach recent, we are showing the Search results
and the recents are disappearing
- when keying text in the SearchView, we hide the recents and start
showing the results
- we still save the Search query when hitting on a result
Change-Id: I6c2be21660a30f6973dea27d4852b2068a05963d
- needed for Quantum Theme support
See bug #13140648 Settings needs to support the new Quantum Paper theme
Change-Id: I93b060d016620a304f2e34cee498f9e2357a6cb6
* commit '058df7d01fa592b8b0068db9a7770a7eaf3f46f0':
Fix bug #15173703 Crash in Settings is observed when Android Beam page orientation is changed. DO NOT MERGE
- needed for Quantum Theme support
See bug #13140648 Settings needs to support the new Quantum Paper theme
Change-Id: Iaec517aa448b1590bcb355ac8694b2e4e0c90292
(cherry picked from commit 5847373448)
- needed for Quantum Theme support
See bug #13140648 Settings needs to support the new Quantum Paper theme
Change-Id: I04e31e277d59d97f7871dde6bdb6a7099c7a8d65
(cherry picked from commit dcfa52c524)
* commit '474c704221a945b0dc7a0a3676d9bdda2dd5df01': (27 commits)
Fix bug #15001610 Java crash in settings is observed while adding Google account on wiped device
Fix bug #15109661 Settings crash after tap on back key from print settings
[WifiSettings] Fix NullPointerException during setup
Allow restore instance before setValues() in ListDialogPreference
Add a CREATOR in DashboardCategory to support Parcelable
Fix crash on settings launch in secondary user.
Fix crash when adding account
Fix settings crash during pathological rotate.
Fix bug #14228591 NPE in settings app when it is launched by UiAutomator
Fix bug #13744434 Stability: ISE in Settings: Can't switch to header... ..that has no Fragment nor Intent at SettingsActivity.onHeaderClick(SettingsActivity.java:654)
Add more logging for onHeaderClick(...)
Fix bug #13794200 Settings crash when screen is locked and Power Usage... ...Settings is launched with an Intent
Re-enable on/off switch for Wi-Fi and Bluetooth Settings
Fix bug #13563247 Settings crash on launch in secondary user
Fix bug #13394626 Settings app crashes on changing orientation to landscape mode
Fix bug #13300024 Settings app crashes on changing device orientation
Fix Fragment BackStack and Titles
Fix bug #12957032 Stability-Sys: Java crash in com.android.settings: java.lang.NullPointerException: ...Attempt to invoke virtual method 'boolean android.os.Handler.sendEmptyMessage(int)' on a null object reference
There are several painful issues with the initial CL. Doing a revert for now and will rework this.
Fix bug #12910775 Settings crash after tap on Access Point Names under Mobile networks
...
- use onActivityCreated() / onResume() / onPause() for the SwitchBar
Change-Id: I24b346fdc5c19acedbe845d3b7697718412b5e5d
(cherry picked from commit 4c42a88828)
- needed for Quantum Theme support
See bug #13140648 Settings needs to support the new Quantum Paper theme
Change-Id: Iaec517aa448b1590bcb355ac8694b2e4e0c90292
- needed for Quantum Theme support
See bug #13140648 Settings needs to support the new Quantum Paper theme
Change-Id: I04e31e277d59d97f7871dde6bdb6a7099c7a8d65