History log of /packages/apps/Settings/src/com/android/settings/SettingsActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fee785645b57c519a31ed403e60e8f76dcc8abbb 27-Jul-2015 Billy Lau <billylau@google.com> Bug: 22718745 Intents to 'draw over other apps' should go direct to the package's
page instead of the top level one

Settings:
Added two activities to handle app-specific Intent when app invoke permission
management UI.

SettingsActivity:
Added two fragment classes to handle app-specific Intent when app invoke permission
management UI.

AndroidManifest.xml:
We handle both Intent to top level settings and app-specific management UI for
app ops protected permissions.

AppStateAppOpsBridge:
Added a new field to PermissionState to keep track of permission declared vs one
that is actually granted during install time.

AppState{Overlay/Usage/WriteSettings}Bridge:
Updated the fields affected by changes in PermissionState.

{DrawOverlay/UsageAccess/WriteSettings}Details:
Disabled the toggling of permission if the app did not declare for the asked
permission.

Change-Id: Ibf63e4d9a4fbf7899a93d2176abb1204c4f75557
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
533a5664da21d6bf8819623673fe14b20ba23207 19-Jun-2015 John Spurlock <jspurlock@google.com> Settings: Add widget entry point to magical entry points listing.

Bug: 21930077
Change-Id: I67b05d6064a2ab0fe93d3d8841c9f23c9246a101
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
2cdafc6be386bb767404e42fc728a1a810aa896a 12-Jun-2015 Jason Monk <jmonk@google.com> Layout refinement for app lists

Make all app lists (or at least all current app lists) use the same
base layout for icon, label, and sizing/padding. This way they
should look the same.

Bug: 21727125
Bug: 21726922
Bug: 21853632
Change-Id: I3cffadb9e7b5184d4209deacd4ea70ec1d4f71b4
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
2acff556c25e788c47284c9fc837f27a1916b578 11-Jun-2015 Jason Monk <jmonk@google.com> Clean up settings shortcuts

- Remove some bad entries
- Fix icons to be top-level item specific
- Add memory

Bug: 20632230
Change-Id: I067b467b9ee354b52ef61b312dc5a89fd7eae2ac
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
86a554091d0705f2152fcf1d78ca1c7720d9842c 02-Jun-2015 Xiyuan Xia <xiyuan@google.com> Implement default assist app setting

- Add "None" support to AppListPreference
- Add DefaultAssistPreference to manage assist;
- Add AppListPreferenceWithSettings to show a settings icon;
- Implement DefaultAssistPreference based on AppListPreferenceWithSettings;
- Move voice input settings into ManageAssist and implement it
based on AppListPreferenceWithSettings;

Bug:20210110
Change-Id: If283b8b55a46b428ecfa6e45dc2123292b1d4302
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
ea8b1a7dc5fa11742967923251b437a02568f021 02-Jun-2015 Jason Monk <jmonk@google.com> Hide search from everywhere but the dashboard

Because it is too confusing what it does/doesn't search.

Bug: 21556767
Change-Id: Ib162177ce3eea816344d8d0fd5d71f85bfc94183
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
b45e27bc0f52d64a71aecba661770b30f6299301 20-May-2015 Jason Monk <jmonk@google.com> Remove data item from app info when not supported

Bug: 21207963
Change-Id: I91693d9a85c0905cbb021181967fa16aac61d3ea
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
e74fdb8d672a361f5a29cded65278054e1683fc6 19-May-2015 Nicolas Prevot <nprevot@google.com> Merge "Remove the check hasMultipleUsers in Settings." into mnc-dev
36940543e98c96413168d094914810ce3ccc424f 14-May-2015 Nicolas Prevot <nprevot@google.com> Remove the check hasMultipleUsers in Settings.

When deciding to show the user section or not, Just rely
on supportsMultipleUsers. Don't check hasMultipleUsers.

BUG:21119929
Change-Id: Ifbddac10e2f6dc02b8e2e55b41ab9f5be018dfca
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
7000d5433880b736bd67cbb44f66df771b64ee1b 13-May-2015 Nick Kralevich <nnk@google.com> New UI for controlling USB

Create a new UI for managing USB access control. This UI is implemented
as a transparent popup triggered by a persistent notification.

Delete the old UI for controlling this. It is no longer used.

Bug: 18905620
Change-Id: I54186961414447a9d37f68e946e1c167506170ae
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
08531a81cb34dc45f0da4ca88e8530169831c7d2 07-May-2015 John Spurlock <jspurlock@google.com> Settings: New DND access settings page.

- New advanced notification settings subpage for managing apps
that have requested the ability to manage notification policy.
- Create new "Advanced" section at the bottom of notification settings
for this and the existing Notification access settings page.

Bug: 18298798
Change-Id: Ib415e634980d37d6492799f67a6619700ee2a01c
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
1eb54eb2ff250eccdd700601011bd6457ddcbec1 29-Apr-2015 Jason Monk <jmonk@google.com> Add high power whitelist for apps

- Strings not final!
- New UX for power usage details (more preferency)
- Add high power apps list shows on/off and screen to
change (when possible)
- Link from power usage summary to high power list
- Link from advanced apps to high power list

Bug: 19991702
Change-Id: I97c927ed82d3b89041e4429b427508545763d66c
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
4dfcb8208cdb49167ccf99aeaddf9e206eba87d1 30-Apr-2015 Jorim Jaggi <jjaggi@google.com> Update fingerprint settings to spec

- Make it look like a sub settings activity, with back button
- Add disclaimer to describe what your fingerprint can be used for
- Update visuals and text for "Add fingerprint"
- Update related string

Bug: 20594955
Change-Id: I0adfcc743db386e0abf9cfdafff3d068ebc3b4bc
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
5982d17a2623aa6ef7597acb43738d92803c7b43 30-Apr-2015 John Spurlock <jspurlock@google.com> Merge "Settings: Do not disturb automatic rule updates." into mnc-dev
f57bad7d5b0f9044231fc52351ed27e14013f491 30-Apr-2015 John Spurlock <jspurlock@google.com> Settings: Do not disturb automatic rule updates.

- Remove FAB for adding rules, move to last preference.
- Add first-class event condition type and config sub-page.
- Always show radio buttons when adding rules.
- Add new data model for event rules.
- Add stub condition provider for event rules (always false for now).
- Add rule-type icons to rule preference rows.

Bug: 20064962
Change-Id: Id5acde371eb2e7d22b1f195459897614db5ba80a
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
e77f0687dd424ccfdc2b1061221c6c8ba4d6ac8d 29-Apr-2015 Jeff Sharkey <jsharkey@android.com> Returning to wizard, enable migration.

Bring primary storage migration back into the adoption flow, and
provide a path for long-lived notifications to re-launch into the
Settings app. Also provide option to initiate migration if skipped
during wizard. For now, estmiate migration size and time based on
a Class 10 card.

Follow other callback refactoring.

Bug: 19993667
Change-Id: Ia0c28eb114bc6c8066c17b3142ed74f962140c91
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
a16257dbd5599135320f4263a2cb438b7a469084 28-Apr-2015 Jeff Sharkey <jsharkey@android.com> Format as public/private; follow refactoring.

Offer to format an empty disk as public/private.

Bug: 19993667
Change-Id: I69fafaed524f3ef5e65d04a9e3a94789fcfc3087
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
2583fc1e069d0a54df46258d360499492d7e86d2 25-Mar-2015 Jason Monk <jmonk@google.com> Move process stats screen into memory screen.

- Move process stats from developer options to top level
settings item.
- Some minor UI changes to the top of the page
- Major UI updates to detail page, now shows info with processes
as pref categories and services as prefs, with a way to kill
them (taken from Running Services page).
- Some major refactorings in code, in attempt to make it more
usable
- Added color bar on per app basis to visualize the avg/max
relationship
- Updated the way avg is calculated across multiple entries in
ProcStatsPackageEntry to be more accurate
- Change the way max memory is calculated in
ProcStatsPackageEntry to be less accurate but more useful

Bug: 19443802
Change-Id: Ia6aaabe42c415c50997a09bfb814a6f6e5731772
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
d8da51ccfecf16f2c06f788e6bcbc232d1f0cb32 17-Apr-2015 Jason Monk <jmonk@google.com> New UX for app usage screen

Now uses ManageApplications base, and has a details screen which has
a switch and a link to optional app settings.

Bug: 20290386
Change-Id: If32ce8d82e55f3908644c575925b3f6506a68e6e
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
c1df2aa9639a27fa6d759b21a760b6b63e38a1c2 14-Apr-2015 John Spurlock <jspurlock@google.com> Settings: Register zen priority settings entry point.

Bug: 20064962
Change-Id: I96e094f7d6859b2033c87013bedc270d0290937c
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
c96a5dcbfc3f37f71e8b3e8b962f9571b1e7ceaf 10-Apr-2015 John Spurlock <jspurlock@google.com> Settings: External automatic rule settings.

- Add external automatic rule settings page with the common
settings for all rules (enabled, name, zen mode).
- Pull common rule-instance settings into settings base class, share
with existing schedule rule settings.
- New page not searchable since it is at the rule-instance level.
- Obtain external rule information from existing conditions provider
metadata. Includes rule type caption, sub-configuration activity,
and default condition id.
- If external condition providers exist with the appropriate metadata,
display the external rule types as options in the new rule dialog.
(max of 3 external types)
- Pull common managed service listing code out of common settings base
class and into a more reusable helper class.

Bug: 20064962
Change-Id: Ibc13607490b7312a7d9f7f3bd61c3cfcf71a2794
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
42833b2ff4d7a26dd9a609d2fd4436d9a26f28b5 12-Apr-2015 Jeff Sharkey <jsharkey@android.com> Checkpoint of new storage UI.

Top-level storage UI now shows list of all devices, both internal
and adopted/private volumes, and public/shared volumes.

When viewing a private volume, show traditional clustering of data
types, including summary of other users. For adopted volumes, any
actions are tucked away in a menu, since they're not primary. Misc
files browsing is now provided by DocumentsUI.

Teach StorageMeasurement about new private volumes, including
handling emulated volumes stacked above them. When measuring, only
consider apps actually hosted on the current volume UUID.

When viewing a public volume, we default to launching into file
management mode, and offer a simple eject button at the top-level
view. File management mode is offered by new DocumentsUI browse
intent, and a Settings link there redirects back to us for actual
operations like ejecting/formatting. When unmounted, we launch
into our action view.

Actions like ejecting/formatting just show simple toasts for now.

Bug: 19993667
Change-Id: Ie990ef3c01fb3717aaf8c79bfc53aac7edefdcf7
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
45fa140b8c6846b4546fdeabebf989ae9102cebb 09-Apr-2015 John Spurlock <jspurlock@google.com> Settings: An update on Downtime.

- Migrate settings to the new zen mode state model.
- Remove downtime settings.
- Add automatic rule management page (add/remove)
- Bind new automatic schedule rules to detail editor.
- Clean up a few found miscapitalized string captions.
- Migrate zen switch to report the shared summary string.

Bug: 20064962
Change-Id: Ia561e7f77c90c962729240b4d51ba1915297f64a
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
82210af70742ca8b6f3aa25f0f6801cb1d6c9aa8 09-Apr-2015 Lifu Tang <lifu@google.com> Merge "Worked around back button navigation issue"
d033285ca7789b464f15cde149bef7df3ad2e1a3 02-Apr-2015 Lifu Tang <lifu@google.com> Worked around back button navigation issue

Calling startWithFragmentAsUser() without specifying FLAG_ACTIVITY_NEW_TASK to
the intent starting the fragment could cause a native stack corruption. See
b/17523189. However, adding that flag and start the preference panel with the
same UserHandler will make it impossible to use back button to return to the
previous screen. See b/20042570.

We work around this issue by adding FLAG_ACTIVITY_NEW_TASK to the intent, while
doing another check here to call startPreferencePanel() instead of
startWithFragmentAsUser() when we're calling it as the same user.

Bug: 20042570
Change-Id: I26b269414f410912b77aaa553a3fccebfa148659
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
8a963babe2e36b7a41f77b8d2598c97658196e58 20-Mar-2015 Chris Wren <cwren@android.com> log visibility of views

Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f
Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
2ebc8a01696c4e7dd29863b92a15ae0bbbbb254d 13-Feb-2015 Jason Monk <jmonk@google.com> Allow system apps to add to settings dashboard

Allow system apps to add a tile to the top level of settings that
links to an activity through adding a filter for a specific action.
Determine the info for the tile based off manifest info for the
activity. Also allow the same for managed profiles, but show a dialog
in between to select which profile.

The category in which the item is to be placed must be in meta-data.
The icon and title can be specified through meta-data as well or
if unspecified the activity's label and icon will be used.

Also added an optional <external-tiles> tag to the dashboard
category xml, this allows Settings to put external tiles
in the middle of some categories (Personal does this).

Bug: 19443117
Change-Id: Idc9938d1549d181103a3030a8784b527215a8399
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
584b2b2bc17a4ccf42952b188722de1091c101be 20-Mar-2015 Jason Monk <jmonk@google.com> Make notifications app list use new manage apps

The designs for Settings have the notification app list using the
same UI as the Manage Apps list, so switch the notification app
list over to the ManageApplications fragment. This involves
adding some notification based filters and connecting the data
from the Notification Backend to ApplicationsState.

Bug: 19443900
Change-Id: I5e5cdb16890d536613ee59292b89a89b6fb9e2e6
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
9a23adf69dc53126c9858b19760eab5b67c23b97 18-Mar-2015 John Spurlock <jspurlock@google.com> Settings: Remove all unused imports.

Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
4fa74486db7dd4f5d9eb6030888d8917077e987c 16-Mar-2015 Narayan Kamath <narayan@google.com> Fix build harder.

The first build fix removed a missing comma due to a bad conflict
resolution. This one removes a reference to a non-existent
class.

Change-Id: Ie2fd7ac8141f3ec6c34ed5f09e08842d02e7e650
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
33acb15e032ac65d743b708731004b9a5f7813d5 16-Mar-2015 Narayan Kamath <narayan@google.com> Fix Settings build.

Broken due to a bogus merge conflict resolution.

Change-Id: Id4e3215ac964ebac792e29f50741b020c06d11f4
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
3b84208212727833ccebea3fef03901331f5a12d 16-Mar-2015 Vinit Deshpande <vinitd@google.com> Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release'

Change-Id: I6c9de433a224925961b484b400a89edf9059d2bd
dff3faaf30bd6d695e4d9f632af53dbc73cf6506 27-Feb-2015 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #19313587 Settings unusable when userdata is full

- take care of low storage space use case: do not start
and Index update if we are is low storage space situation.

Change-Id: Ifa5bb618d087826c004b06aa7821b9634038734c
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
4ab32563f1cd7d018ee7cdaec8d5a527964a05b9 24-Feb-2015 Pavel Zhamaitsiak <pavelz@google.com> Add Wi-Fi Calling preference screen

Change-Id: Ie89902b55c5c4184236636f5039b3246a9c0bda5
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
bbb3efe373ec1b7bc5939b3b7694a11c45babe9b 05-Feb-2015 Svet Ganov <svetoslavganov@google.com> Removing the unused for years app shortcuts feature.

The shortcuts feature has been commented out since 2011. Now the setings
provider no longer has a bookmarks table since the only party aside of this
commented out feature using it was the ShortcutManager. We moved to an
in memory model for the settings provider's state. We do not want to keep
there anything that is not used. Therefore, we moved from a bookmarks table
to a resource which renders this settings feature unusable. If we decide
to revive the shortcut feature we can revert this change and add support
for in memory bookmarks state in the settings provider.

Change-Id: Ib1871f940bc27029a5dd941b901d6087914a2231
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
62464b819e185ce4a1642442fcf4cc18a4932a78 11-Aug-2014 Alexandra Gherghina <alexgherghina@google.com> Modify account settings for better locale resolution

Bug: 16282173
Change-Id: I2ab861464cdbbb1c1b0a5a7231f960d8ed9e90c6
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
0698a216311acd9ab52224602d1a75c08bf89f04 17-Oct-2014 Jim Miller <jaggies@google.com> Several fixes to new EncryptionInterstitial dialog.

The code now observes whether accessibility is turned on when
deciding the default state.

Additionally, it fixes a bug where the user can back out of
EncryptionInterstitial and leave the setting in a bad state.
We now propagate the state until the place where it ultimately
gets stored.

Also fixes problem where Encryption was ignoring the state
where the device was already encrypted.

Fixes bug 17881324

Change-Id: Iec09e4464832a506bb2a78bb14a38b3531971fa0
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
b3c7a179b10040945c055bed30731d7f27c2dcc2 23-Sep-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #17624121 Settings crash while launching on wiped device

- check for non null reference returned by NfcAdapter.getDefaultAdapter(this)

Change-Id: I88776dbefd351ce1c77cfed6d14b8b2143294488
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
7a2ccf201e839e8755b2184402072113498eef1f 18-Sep-2014 Zoltan Szatmary-Ban <szatmz@google.com> Show Power usage details for the correct user

Settings > Battery > Details has to observe managed profiles and start the
Power Usage Detail fragment for the correct profile.

Bug: 17523189

Change-Id: I7a47b972a8a0492b4a411197cd2c8c65f24c2e7e
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
0ff107e384a6fe99bfa8a5e542f6e0c89b909d85 15-Aug-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #16703191 APN settings shows back button even when you intent into it" into lmp-dev
61a1fec49fbfbe8bdd0137ddb06e5eacf4f8ec54 14-Aug-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #16703191 APN settings shows back button even when you intent into it

- change a bit the way we recognize a SubSetting. Now we can pass the new
":settings:show_fragment_as_subsetting" Intent extra for forcing it.
- convert ApnSettings to a SettingsPreferenceFragment

Change-Id: I22167ad317530c0a58c4d522a72826f9d34ad2d3
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
e1fd76a85bf86fe5cd6637d3fdfe6420283395ed 13-Aug-2014 PauloftheWest <paulofthewest@google.com> Merge "Revert "Add BT message access"" into lmp-dev
b51253cfed0796b20e03a104aaca4d8d3e2d3024 13-Aug-2014 Dianne Hackborn <hackbod@google.com> Add action targets for voice input and usage access settings.

Change-Id: I5ea0b34ed440b2cfdce0c63e2c4976c89202eb64
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
f8cdcbf19c2a1fc44f9227453a73f2dc2061eb09 12-Aug-2014 PauloftheWest <paulofthewest@google.com> Revert "Add BT message access"

- removed Message Access screen from Bluetooth overflow

Bug: 15720425
Change-Id: I68191a4639ea7e6b6cd3a60e88160443fab2ba0e
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
09076e5f3c90dbc1a3bdf6f000e0c99dd2bb45b4 08-Aug-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #16896118 SIM cards should ONLY appear in search results for devices with 2+ SIM slots" into lmp-dev
22a2a49b445b8721c8194eedf3608ea81c62ccef 08-Aug-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #16896118 SIM cards should ONLY appear in search results for devices with 2+ SIM slots

- add the proper SearchIndexProvider to SimSettings
- allow indexing only an only if showSimCardTile() is true
- add Utils.showSimCardTile()

Change-Id: I5df2284d32f91fa454e1edebf1139d00593138a0
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
802ddf99f57e316d0fd87c2cfeed5dc3a0cfa8fe 18-Jul-2014 John Spurlock <jspurlock@google.com> Settings: New application-level notification settings.

- Convert the old application-level dialog to an activity.
- Move the settings icon to the new activity (out of the list).
- Add a custom application header, similar to the switch bar style.
- Use the ubiquitous vector gear for the settings icon.
- Migrate old checkboxes to switch prefs, add new summaries.
- Remove obsolete artifacts.

Bug:16396715
Change-Id: I857e3cf448b79f44fe1c242e6020f5214434c00c
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
57fd5fd84be2497845f6c03905500d2a36668b6c 07-Aug-2014 Amith Yamasani <yamasani@google.com> Fix removal of optional settings tiles

Bug: 16654819

Fix the way the tiles get removed so the index is not out of sync
and there's no double deletion of entries.

Change-Id: I18da6b633884f51418c11afb0e177b49ca085fd0
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
6cef9d23b8572d8bd87329999f10286e29a861c0 24-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #16515550 Settings app crashes for intent com.android.settings.QUICK_LAUNCH_SETTINGS" into lmp-dev
e3ff4d8e92a19473c622c1d46b30c63bf2d001d0 24-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #16515550 Settings app crashes for intent com.android.settings.QUICK_LAUNCH_SETTINGS

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

Change-Id: Ic71d8e40ff8a5e0c663fd40655e4f4cc31bc8caf
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
3815561997eced7fd773062ce32eaa50bece072c 30-Jun-2014 PauloftheWest <paulofthewest@google.com> 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
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
456229ccdfb6ddb8cd1ac3be939e1c2221f4bedd 24-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix how Home Activities are refreshed" into lmp-dev
b0a464fd2cbbe00821d483d28e76a04ac17996ea 24-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> 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
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
ceb335f88fc0df88dafc8063733842afe35c5da1 24-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> 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
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
1e9405b5cc35d598507fccdfa0e833ab83b2cfd9 24-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Add Settings Dashboard refresh for Home activities" into lmp-dev
d73045db7a52a834144bc6c28935aaec4878f1ea 23-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> 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
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
3f3426e0d95aed9ab651a703a3a7e33833cd4741 23-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Add Home / Launcher apps indexing" into lmp-dev
6d839875b74f1570e8807005c586298beb677413 22-Jul-2014 Alexandra Gherghina <alexgherghina@google.com> Revert "Revert "Move global sync settings to AccountSettings.""

This reverts commit 4869faf46559c54a34b969b5ae5391a208e723af.

Change-Id: I58df9b8161d711a9c0187af1f1a1dc279fb9d9ab
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
dcf59dd82ca5a5b211461f1c2825623325c3811c 21-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> 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
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
712df6cb7050a87985ab30b8d1bad909a6bc09aa 19-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> 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
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
d40dd45c18a55d574d65b3a0ac16b59d76027049 19-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> 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
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
4869faf46559c54a34b969b5ae5391a208e723af 22-Jul-2014 Alexandra Gherghina <alexgherghina@google.com> Revert "Move global sync settings to AccountSettings."

This reverts commit 64fde6f4e9404a363f577a9fda424affcb5138e4.

Change-Id: I61940b6e2936c7c7f048af222602226e5588c268
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
64fde6f4e9404a363f577a9fda424affcb5138e4 09-Jul-2014 Alexandra Gherghina <alexgherghina@google.com> 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
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
04e1acc12b9d09cd98fa551267abc292d82d4c37 21-Jul-2014 Alan Viverette <alanv@google.com> Remove inversion quick settings toggle

Also removes remnants of contrast preference screen.

BUG: 16303790
Change-Id: I9833b53e187e5f41c0442bcbaf9b728d55577d88
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
e817a66e83191c0ae74acd53a538a0965eba2683 17-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #15702424 add-wifi setting screen has no title

- pass the missing EXTRA_SHOW_FRAGMENT_TITLE_RESID
- define a new string for the Activity title
- code cleaning: remove a non needed call to getIntent()

Change-Id: I430d59c0225c6e7f23e78edf5644d07ef33a9d98
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
3033ce0723103b55b1b5a53145c05e143b5bbfd6 15-Jul-2014 Amith Yamasani <yamasani@google.com> Handle android.settings.HOME_SETTINGS intent

Launch the Home picker activity for the new public intent.

Bug: 16303152
Change-Id: I91cfffdec6c8ed13d3b0e57d7903b4a06dcbb6e6
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
cfc7f9d9600f7b4514ce9608314874bf1023eb21 04-Jul-2014 Alexandra Gherghina <alexgherghina@google.com> Remove old accounts tile, replaced by a separate screen

Bug: 15815948
Bug: 15819268
Change-Id: I3b6978cff346c73cca1d6a2c209ffe4c71808244
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
c9dc66d6059a5bcc867ab2046c59f969a13c46d7 01-Jul-2014 PauloftheWest <paulofthewest@google.com> Add BT message access

+ List available email accounts
+ Allow for turning each account on/off with switches--making the message content available to bluetooth devices that can read emails (like cars)

Bug: 15720425

Change-Id: Ia0c91c1e74a2644fc99a8b902c42212453d8f86e
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
7837b999862cf341b0f124be7ace1dfc64d0a5a8 24-Jun-2014 PauloftheWest <paulofthewest@google.com> Added Saved networks UI to Wifi

+ Added Saved networks to Overflow menu
+ Moved WPS Pin Entry from Overflow menu to Advance Setting Activity
+ "Automatically manage Wi-Fi : Let a Wi-Fi assistant manage your connection"
+ "Wi-Fi assistant : <selected assistant> [cog secondary hit target]
+ MAC address & IP address list items have the static italic style
- "Avoid poor connections" from Advance Settings
- "Wi-Fi optimization" from Advance Settings

Bug: 15698824

Change-Id: Ieb25b29874752db07398dcb200ec07862779f507
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
5a62d94a2b1b5a93911e1f2cc9f3190e2f22622c 02-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix again bug #15940103 ACTION_SYNC_SETTINGS shows the non-functional
...left arrow button at the top (the back button works)

- the android.settings.DATE_SETTINGS Intent was showing similar issue
so this CL fix it on a more generic basis

Change-Id: I4c26a5a8dc3eb090d26967fa607449a4fe6631c6
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
5b3c3c00b0a280e29f3767878913f80274bd4993 01-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #15940103 ACTION_SYNC_SETTINGS shows the non-functional left arrow button at the top

- make android.settings.SYNC_SETTINGS Intent behave like a Shortcut
(no Up affordance nor Search)

Change-Id: I573feaedeb062757fb893417e8746d17a09e66f4
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
2a8354f693a6d988a8290d96e3d13bce1eb1606c 27-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #15431722 Uninstalling an app via settings leaves user on screen ...for the now uninstalled app"
58146c2b2fa24d774840a07cf697ad315baf4de0 27-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #15431722 Uninstalling an app via settings leaves user on screen
...for the now uninstalled app

- add the missing call to finish()
- fix also a typo

Change-Id: I3d365db1fa1e6ba1efeddae022d8c2136af6380a
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
3939cd70b1605eff9ac6cfa213b73a49283e134a 04-Jun-2014 Alexandra Gherghina <alexgherghina@google.com> Add work account settings.

Bug: 15467756
Change-Id: I13b5a0bb3967611d0d24b575bfc15d9bfaad4cfa
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
3a1bdaaded7617791895cdaaf179197adec35e45 25-Jun-2014 Kenny Guy <kennyguy@google.com> Merge "Fix bug with building args then ignoring it."
ac1e20ebfc233a4894fa04a29b5d86602ee188ee 24-Jun-2014 Kenny Guy <kennyguy@google.com> Fix bug with building args then ignoring it.

Change-Id: Ie3b19b44386812e68e1593c5d257399ac043fd9f
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
5b7a100dbd9135b6b87ae4cc9ff3a5ece123bcf6 24-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #15782664 Need to remove Search and Up affordances from App Info

- make AppInfo like a shortcut

Change-Id: I6f63cdbebce8e245cc5a8a673afcbdfc309d901a
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
0d643fd182d37d2e8ee5d547b80d80423a5ed98d 17-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix Up and Search affordances

- UP is also shown for a SubSettings of a Shortcut
- Search is never shown for a Shortcut (SubSettings or not)

Change-Id: I5b87cf773ea0266a0f5dd090613bbbba905be330
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
1c3203e83efed2d5c257da8e4f5fba4844b6fa47 11-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Update Settings redlines per UX request" into lmp-preview-dev
da8babaedf45caf55eb77320f0c3ea873d195c4d 11-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Update Settings redlines per UX request

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: Ie95b6cee701847d7f76f2e2a72aaf8fc64bc4dd9
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
c7f8e8ce69e80ea495472aade5f8569c6583c5e8 05-Jun-2014 John Spurlock <jspurlock@google.com> Settings: Battery saver settings sub-page.

New battery saver settings page, accessed via
the power usage settings overflow menu.

The settings page has a master switch to toggle
battery saver mode, feature disclosure text,
and a preference to configure the automatic
trigger level.

Remove developer checkbox now that this option
has a real home.

NO_SQ: multi project change
Bug:13329308
Change-Id: Iac54238f3406439711b44a3c17f220ac5e370a37
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
a9e77993d1f82a230ff381134d4a22eff4a907cd 09-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #14499324 Label of the "Language & input " page doesn't get updated
...as per the newly selected language

- use also title resource id when possible

Change-Id: Ibeb95d605cd79910c18f4529b749645c9ed0fc17
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
c9548c17471ff7d7826a769593250ca3467a2ba5 07-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #15460001 "Cell broadcasts" setting search suggested in wifi only device though setting is not present" into lmp-preview-dev
dba577f8f017baac0086c185579340db1c9281d9 07-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #15460001 "Cell broadcasts" setting search suggested in wifi only device though setting is not present

- implement a BaseSearchIndexProvider for WirelessSettings
- fix Context passed to the Index: now use an ApplicationContext
- also use the correct Context when dealing with Settings SearchIndexProvider
- also makes impossible a rogue BaseSearchIndexProvider to crash Settings
if not well behaving
- last, fix icon used for "NFC & more" search results

Change-Id: I8b5cc999fa57a9e1977ee57394801d54cf3dbabb
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
4093e40e18f2e8d395ca467f54aef6e763c394f6 06-Jun-2014 Amith Yamasani <yamasani@google.com> Show user management UI if a managed profile exists

Show UI even if flags to show multiuser UI are off, if there's a
second user on the device. This way there's an affordance to remove
the user.

Don't show the "Add user" item though.

Bug: 15447068
Change-Id: I40273005d6d8d66aed486328615acdab71d51fa4
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
3d35ec729256d4a1e1796be3e9d858eefedda23d 06-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #15469483 Search menu should not be present when Settings is launched as a Shortcut

- create the Search menu only for non shortcut launch

Change-Id: I8f83fb6c199509f2b2215a20b19f92e3d736b733
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
bb05178dba21509d5b26ae0bd718a471b8c6cd5e 05-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #15434475 Developer Options do not show immediately after activating them

- allow Dashboard categories reloading

Change-Id: I02d9f1e8ed4d8b8b670835a8d717c6c08b49fe05
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
4e4cdeffdb6087c953f44808f14f18554a749bda 28-May-2014 John Spurlock <jspurlock@google.com> Settings: Remove sound settings.

- Move the remaining conditional preferences into
the combined Sound & Notifications screen.
- Refactor the "Other sounds" sub-settings screen to
provide a home for the new preferences.
- Migrate docking sounds, conditional on config.
- Migrate docking media, conditional on config.
- Migrate emergency tones, conditional on CDMA.
- Move all boilerplate preference <-> setting plumbing into
a separate helper.
- Since some preferences in Other sounds are now conditional,
create a special indexer for searching.
- Remove SoundSettings (and xml), create aliases in the manifest
to avoid breaking shortcuts.

Bug:15279526
Change-Id: I5ae3ecda2f899b1948f7908bd217a799326c2c56
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
42c4b0abe5578a7812844ad5205ffc3b87cf3072 22-May-2014 Fabrice Di Meglio <fdimeglio@google.com> DO NOT MERGE: Optimize Dashboard loading

- prevent loading categories twice
- add some logging to see the time taken for building the Dashboard titles

Change-Id: I31724c0e66fe3b453a87f12476f58db84c73423f
(cherry picked from commit b644f29313c086806d1ba5ad3db8ac36d2bf3c4f)
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
59a4055cbb8f5a7b1b0c904bbc4ffc03d8a1239f 24-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Make smooth transition between Search fragment and the others

- use TransitionManager.beginDelayedTransition() and
getFragmentManager().executePendingTransactions()

Change-Id: I5d583916afb8b87dfe2b17b4e685ef5384c5fbd2
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
7e4855e8f644bdecf68ec65b8c1b7c08624a4876 24-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Update Search recents behavior

- 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
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
680b064b293888ea47a6211943b51bee3adfb70d 21-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Optimize categories loading and refresh

See bug: #15091992 Opening sub activities in settings is very slow

Change-Id: I6e2e7a07fed72f35850da0614adaafde94618a4e
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
d2b64f339adb8f019e3c712e388e35830d8b68a9 20-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #15001610 Java crash in settings is observed while adding Google account on wiped device

- update Settings main layout to be able to show the Buttons
- make WifiPickerActivity a SettingsActivity and remove dead code
- fix reference to Buttons for using the Settings IDs instead
of the Framework ones

Change-Id: I23bfd1b8290fc007e6e80aa9a6297e55e7f6004e
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
d8aec08fa96c42a61bd6ead2aa9859b5b67a3f2c 20-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix potential NPE with ActionBar and SwitchBar references

- in some rare cases (SetupWizard and select WiFi during account
creation) there is no ActionBar nor SwitchBar. Prevent any NPE
coming from them.

Change-Id: If52b9cdee8730c90c5da3067a1a35ebdd0255470
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
5f995727cc2e4bd27d26a50f3a565fb677fdb294 20-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #15080198 Enabling developer options requires restart of settings to enter

- fix Dashboard categories refresh issue

Change-Id: I5bb7fc4a1410df8f5c2d2d13f7625a1ccc8893c3
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
41937766981423c9252e12e3319b2e7532739627 14-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Introduce SwitchBar widget

- SwitchBar is a LinearLayout that containts a TextView and a Switch and
is intended to replace all Switches that are put in the ActionBar as a
custom view
- use the new SwitchBar for WifiSetting only for now (a later CL will
take care of all the other Setting that are using a Switch in the
ActionBar)

Related to bug #14898161 On/Off switches must move down from Action Bar

Change-Id: I5e98dbe995bba8f440d08459e09ca3ac09d3464b
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
35062d6983e352f5cb6c4a6bbf3c1e4e214d44a9 13-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Make more room in the ActionBar

See bug #14898161

- allow Search Option Menu only on the Dashboard (and no more
in the Settings screens)
- push the "Start Now" Day Dream Option Menu to be a real Menu
so that we can see the "Day Dream" title

Change-Id: I4a7c21fb3599ada8efc82bd5bd8c9f5049937ceb
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
15826d4ea1428b3d1edb86866ca57a93c2252bda 13-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Mode code cleaning: remove obsolete references to EXTRA_NO_HEADERS

- the EXTRA_NO_HEADERS flag as no more meaning as we are showing
the Tiles (previously named "Headers") only in the Dashboard
(which is the main Settings screen)

Change-Id: I55656de0d28ca9c84adbe6647d870838b4ac230b
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
e9326d276135b657738d851e0a56df447f09567a 13-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Code cleaning: remove all remaining references to the old Header class

- goodbye Header(s) !

Change-Id: Ied27f1f01dbed9c51cc74d28800d9ca7cab47d5a
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
488cae39dab2e8c298e8a1f1eec37bf0d96a83d2 13-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Remove Print Settings if the device if not supporting Printing

- remove the Print tile if the device does not have support for
Printing

Change-Id: Ia484eac6202324ed2b92c1c2f6162ed867b2619d
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
eab58139f493698adbe0ecb7ed5ac4cf2ed51e1f 13-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #14323469 Settings crash on selecting keyword from recent searches ... after changing orientation"
8c3b0ce7120da882082eed533462090c4feadff8 13-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #14323469 Settings crash on selecting keyword from recent searches
... after changing orientation

- set the SearchView for the SearchResultsFragment when the SearchView is
instantiated in the onCreateOptionsMenu(Menu)

- take care of the correct showing of the Recent Searched (suggestions)

Change-Id: Idfa17436d4a2436e0947ce1e1692355def3821a3
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
02d1aec28678485c7da0fa1634756bdb90e96d8e 13-May-2014 Alan Viverette <alanv@google.com> Simplify accessibility display adjustments

BUG: 14680114
Change-Id: Ifd66256f4a8301d4c159f62a4211a2fbaaa6111a
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
7cae7f43e96d5790302a9645ee74fafa6a6fcab7 10-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #14392376 ActionBar icon / title is focusable when it doesn't do anything

- set ActionBar.setHomeButtonEnabled(boolean) as it should be

Change-Id: I93adcdf91cafd5b7a6fea88ec917f12a39be64bc
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
a7e8b27a8597acf493cd0566cca4f2e7a0da23a2 10-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #14302110 Settings crash on hitting back key from Wifi recent searches page"
3d5aeb766bba496fb9e41d119eb4a31e7afa1f2e 09-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #14302110 Settings crash on hitting back key from Wifi recent searches page

- prevent NPE on mSearchResultsFragment

Change-Id: I063ff17e3936be7e608a37bd6a787946b4a310fe
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
6c088cb221bb43d47be065387231ffa7192ff211 08-May-2014 Julia Reynolds <juliacr@google.com> Settings user restriction changes: debugging features.

Replacing restriction pin with a user restriction for developer options.
Bug: 14081992

Change-Id: I9a71c256fbd20428b4bd2ae12939c9a50d7b5f11
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
37fe059e793ae96436f3a6d6fc2036324b2e5a5d 30-Apr-2014 Amith Yamasani <yamasani@google.com> Merge "Fix crash on settings launch in secondary user."
a97089d389338ca8e3d970b00dd13ffad732b5c1 30-Apr-2014 Amith Yamasani <yamasani@google.com> Fix crash on settings launch in secondary user.

Bug: 14403545

Make sure the tile wasn't already removed for other reasons.

Change-Id: Ia2b5528c01dbfba4919afaf8352e45db9ef345c3
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
c9afadb04b00598f5988101681089290cf14f79c 30-Apr-2014 John Spurlock <jspurlock@google.com> Add condition provider access to settings.

Pull NotificationAccessSettings out into a reusable base class
and reuse all of it for a new condition providers settings page.

As with notification listeners, the entire section is hidden if
no apps provide conditions.

Change-Id: Ib5273f3362e392d99647347c23a514e4590f7ac9
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
769630c8956fa844545d964166da90cc802fabac 24-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Settings new dashboard - part 2

Introduce the new Dashboard (a grid like presentation of
Settings top categories) per UX specification.

- the Dashboard is composed of "categories" and in each of them
you have "tiles"
- implement a new layout for showing top categories
(DashboardContainerView). This layout basically acts like a
grid
- depending on the device configuration make the grid with 1
column in portrait / 2 colums in landscape (phones) OR 2 columns
in portrait and 3 in landscape (tablets)
- take care of Accounts adding and removing (as it changes the
number of tiles to show)

Also remove all the old code related to Headers

Change-Id: Ie29944132c1b4c3f7b073d5a7d4453b8f5ec19a7
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
63bbb8e4fef5d0d0a5fa9c7656daa7ea160fd51b 24-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Settings new dashboard - part 1

- make the Settings dashboard definition be hierarchical (non flat) and use
categories and tiles
- code cleaning: remove mHeaderIndexMap

Change-Id: I16581a736ac5c8388a182d83159161fe3bb04f4b
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
d297a5840230b769a3c7ad8b85232968a7077f64 23-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Add saved Search queries feature

- update SearchResultsSummary fragment to have two lists:
one for Search suggestions (saved queries) and one for
Search results
- a tap on a saved query will launch that Search query
- show the list of saved queries when tapping on the SearchView
- do some fancy hidding / unhidding of the saved queries list
and results list

Change-Id: If15055ab78b0ec5eef4e543173dc7b866bd08e27
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
42aacb1f509f0bb69cf421b9b5dedbf769d0f4a8 21-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #14158603 Stability: NPE in Settings: Attempt to invoke... ...interface method 'boolean android.view.MenuItem.collapseActionView()' ...on a null object reference"
23ae00c1d87d64578cd62da1894ee25da531ca11 21-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #14158603 Stability: NPE in Settings: Attempt to invoke...
...interface method 'boolean android.view.MenuItem.collapseActionView()'
...on a null object reference

- fix cases where mSearchMenuItem or mSearchView could be null

Change-Id: I2b0256fe2c8c1b426d4e0799881dd2f13480a00a
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
a5c0c17304ded7ae5b4cfa3a233b45f19039d08c 21-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Remove non needed code for HeaderAdapter"
f2dee29d66b1d97c693522c517659961e2b76a98 21-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Remove non needed code for HeaderAdapter

- before, we were showing a Swich for WiFi and Bluetooth entries
in the Headers. As this is no more the case, remove the code
that is no more usefull.

- as a side effect, we are also removing the call to update the
Search Index that was running when the Settings app was resuming
or pausing.

Change-Id: I26b40df5c7a664d196a249840638d89909b6bc24
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
d33b04ff06ff963d238724f5a2d7fb13a2194783 21-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Search - optimize when updating the Index is done - part 2"
5cda21b449a56de42f7868bdcdaa31bb6f587c03 21-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Search - optimize when updating the Index is done - part 2

- well, fix a regression when launching WiFi / Bluetooth settings
from the Quick Settings: we can only get the Intent properties
after the call to super.onCreate(...)

Change-Id: I21abbee610ad53dd0022c645268e55a6ba31a7b0
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
d4d829ff9ba82284d4323346a07cfe2f353a1a4f 21-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Search - optimize when updating the Index is done"
5ebabfcd35dd00a1d5beb9bcaca03574ae09b4e8 21-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Search - optimize when updating the Index is done

- we should only try to update the index when the Settings app is launched

Change-Id: I0543d518ea3e06804ce6fb09c987ea722bcc87cd
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
4a35051565b0ce6d29313c3e4ffe19e1dde78db0 08-Apr-2014 John Spurlock <jspurlock@google.com> App-level notification configuration settings page.

New sub-page off of notification settings to ban/unban
apps and navigate to an app's notification configuration
activity (if configured).

Centralized all notification settings artifacts under a new
settings subpackage.

Bug: 13935172
Change-Id: I53b75c02f0091900734d17dc9217035d0df9b466
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
a32707664f85b77602d1fe45458e92fce1448ce2 17-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Search - add "live" search results

- now it is possible to have Search results directly when
you are typing (and not only when you press on the Search button
in the IME)
- implement onQueryTextChange(...)
- take care about re-runnin the saved query when the app is resumed

Change-Id: I021c8a9a95b50dce69ab6dace81eecb2fb188f18
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
7a6bfd132cac4dcff72e3adcdd68a7ef777cee12 15-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Update DynamicIndexableContentMonitor

- use factory for creating Intents
- add missing case in handlePackageUnavailable() for IMEs
- move DynamicIndexableContentMonitor to the "search" package

Change-Id: I8d74b28fb9183827db50c6de4b4543b4ff21acc0
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
990159abaad7f314fbe1f9eaf064a088806ffb19 15-Apr-2014 Svetoslav <svetoslavganov@google.com> Adding search for dynamic accessibility settings.

The language and input settings are highly dynamic and this change adds search
support for that. This category depends on installed IMEs, input devices, user
dictionary configuration, etc. We not only compute the right preferences to be
indexed but also track related system state in the settings app to rebuild the
index if needed.

bug:14066763

Change-Id: Ia89d9e35bd79abf8d74614691aedf4ca9b11b6f2
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
853e47181dc116ba95e91463735dc79ad4bdc95a 14-Apr-2014 Svetoslav <svetoslavganov@google.com> Rebuild search index if dynamic setting packages change.

We have some settings that are dynamically generated based on what packages are
installed. For example, accessibility services, etc. We now update the index when
the relevant installed packages change.

bug:14056852

Change-Id: I6143382bf2c7399d3c80abea0835d717935a9200
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
df278aa959b5e0a5d2b5d9152b7013d22757cd17 12-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Update SettingsSearchIndexablesProvider for supporting queryNonIndexableKeys(...)

- add the new requested method "queryNonIndexableKeys" from the contract

Change-Id: I72be47851a7e19e3f14960f4e2b60c3e952f1fac
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
821a0729ad4060b54a8311c957534117b84bc881 08-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #13883976 Settings crash on long-tapping and swiping in Language & Input screen

- fix potential NPE

Change-Id: I12045f420d5b2a4f349e59a04141153cd2e46378
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
e5687b1b32e5c179ce42981119012cc918afa75a 08-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #13744434 Stability: ISE in Settings: Can't switch to header...
..that has no Fragment nor Intent at SettingsActivity.onHeaderClick(SettingsActivity.java:654)

- satisfy the Monkeys has they were able to click on "WIRELESS &
NETWORK" header which is a Category and normally non clickable...
(so probably a race condition)

Change-Id: Ia33d2b6e55e910409a566e5f05c1e3bae8008807
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
c1457323d271309d5d1955743cd806417c84b9d6 05-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Add support for saving and using the Preference's key value

- modify the SQlite data model
- update Index code for managing the key value
- pass the key when launching a Fragment or and Activity
- implement a small animation for highlighting the Preference
from a Search result

Change-Id: I617643a4e5e3b752ece8f45ce7d5429037e479da
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
911fb2ad907d47a882c023b871c6457db32359f8 05-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #13817456 User not take to previous sub setting screen when Home
...affordance is tapped from second level sub settings page

- start an Activity instead of switch Fragments

Change-Id: I0e47d6539a3a048d7aa25bdb125c4c99031f9e85
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
bb16fd836a5347413e592acbffa189156b28bc53 04-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #13813608 Launcher back button does not take you to previous...
... settings after orientation change

- gasp, there were some issues in the way we were tracking if
a search result fragment was opened. Simplified that code.

Change-Id: I7f8efb3a5aab1a275193f7de15ac50ca33bdad16
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
bbdada8fab2dcc28e869baca7eb7a57e8f0ec88b 04-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Add more logging for onHeaderClick(...)

- log Header title and position

Change-Id: I07f7e8c50613b97609a3ea462b7a8e8fcc415f70
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
1800a9f3e7027e8ab8ffcab51715d39b126bad43 04-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #13735413 Particular settings name changing on device orientation changes

- restore the title correctly when we are restoring the Settings App

Change-Id: Ibd56c52b703620e3d2b8e524e6b3caf35f3c8980
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
b731dd0554744d91ca89d37ff7c82f8d6e5b502d 04-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix Up affordance when restoring Settings app state

- save the state of the Up affordance and restore it

Change-Id: Ia00e929b1bbcdaa51280f9b2bb9322f8594c5a37
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
086c76791f766788e6fe6bbddf6376badccd3c2c 04-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Code cleaning

- remove dead code and some constants that were no more used

Change-Id: I32d19d74e5b271f9e7c8938e4b3c79175bdf69ee
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
d6985df419549fbb7d420eced8e89f0429e49d71 04-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #13794200 Settings crash when screen is locked and Power Usage...
...Settings is launched with an Intent

- fix the NPE by checking if mSearchMenuItem / mSearchView references are null

Change-Id: I7518c8360af88a20df780be8cb89360a26cdb8d0
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
a41707200b6628376e8fb575e782d8228c0d32a2 03-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Add indexing for ListPreferences

- now support ListPreferences and save the "entries" attribute
- update Index database schema (and increment its version)
- do some clever stuff when showing Search results: if there is
a "$s" or "%s" in the summary (replacement strings), just use
the entries instead

Change-Id: If36595c3816706b6349faff7d3c2e725d3ea33f4
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
9593782d154f378a0c911cd015d410c18fe74a92 01-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Add indexing for Notifications preferences

- also add indexing of CheckBoxPreferences
- also some code cleaning

Change-Id: I2943caaec3d64fb2a6be85168454fc76fe572afe
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
d25314d3305ed1a07b53991a978cd71219ef2a10 22-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Settings - update for new UI (no more Drawer)

- follow the UX spec by no more using a Drawer
- the Dashboard is now a Fragment that contains the list of Headers
- the search results are also put into a Fragment that is replacing
the initial one (Dashboard or other) when expanding the SearchView
- use a SearchView for query input
- when tapping on a Header or a Search Result, re-launch Settings as
an Activity so that we are benefiting from the Activity stack for
UP affordance and BACK button
- manage UP affordance to show it only when needed
- move some Actions to the Menu in the ActionBar for allowing space
to the Search action and removing some clutter
- fix an issue with the Index and WiFiEnabler and their cached Context
that was not updated when there was a Configuration change
- simplify the SettingsActivity code by extracting some inner classes

Change-Id: I50b5f77bb44a7fade1886114dbbc820609a5e63d
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
fa7dc240e978b1b77bb5c80a78cd1f8c77648301 13-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Add external Preferences indexing

- define SettingsSearchIndexablesProvider as an internal
SearchIndexablesProvider
- protect access thru using android.permission.READ_SEARCH_INDEXABLES
- update WallpaperTypeSettings and WifiSettings for taking care of
the new model
- update the Dashboard for taking care about external Icons for the
search result
- update sqlite model/version for taking care about Intents
(enable launching external applications for showing the settings)

Change-Id: I2e38599327e6480f1754f52666becce0884cee9d
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
8dcea48d7193b052b0ed039c0cbfe99f81237daa 13-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #13440372 More option is displayed with Email/Gmail icon after...
scrolling through settings options

- force the image and background to null when needed in the Adapter

Change-Id: If4c1769dcd1651b683a34001dcd922c6554252c0
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
7cacc1200917f5cf7067f9c667f3bccee4f94e02 12-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Code cleaning - class names

- use class names instead of their static string representation

Change-Id: I82ebfc087bc2bbadb9076c5750265bf400ff4224
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
b8dfbf140986a9c0781f268ea40914063f026436 11-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Add dynamic Preferences indexing

- introduce a new private interface "Indexable".
- refactor Wallpaper and Wi-Fi settings to support this new
interface.
- only index saved/remembered Wi-Fi networks
- also add the capability to remove some data from the Index.

Fragments that want to publish some dynamic indexable data should
implement the "Indexable" interface and provide a static final field
named "INDEX_DATA_PROVIDER" with is the Indexable.IndexDataProvider
interface for providing the data for indexing.

Thru this interface the Index can ask what are the data chuncks to
index.

Change-Id: I31e7212c87b8218efe1a8f3028147cb19e119be6
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
b643cbf6d60bb4cd43d3191106d68680fffe97b5 10-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #13394626 Settings app crashes on changing orientation to landscape mode

- fix NPE on mInitialHeader.id

Change-Id: Ic1017f5a8a20755bf7f36b1f3406d45dcc80ae8f
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
75eabc20b9fa9c316e01d954fb09c7633b805370 08-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix Drawer selection when using BACK

- select the initial Header if needed

Change-Id: I2d884fbab9a49cc3385dbe1b311f9e0853d027d3
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
c95be4fbb3ec437517a2190d88fbda5068dba8df 07-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Close the Drawer on BACK button if the Drawer is opened

- otherwise (if Drawer is closed), BACK should work as BACK
into the Fragments BackStack

Change-Id: Ic7f500eb77f35e2142a40e6c9e34c4e7f0ec6428
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
832e54618588fdd31397b1779411af06e58565d7 07-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #13322417 stability-sys: Java crash in com.android.settings:
...java.lang.NullPointerException: Attempt to read from field
... 'long com.android.settings.SettingsActivity$Header.id' on a null object reference

- fix the AndroidManifest for missing meta data
- fix NPE causes in getHeaderTitle()
- update how we are putting Fragments on the BackStack

Change-Id: Ifc0bba744c3b2a0603c2f11f711ef493cbacc9d2
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
6f0739a3d9a9eca1591ae6bada1dd4d1d92c0def 04-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Add Search to the Settings App (initial release)

- add basic UI for search
- build the search Index thru sqlite FTS4 (faster than FTS3)
- create the search Index on the fly depending on the locale
- re-index if there is a configuration change
- re-index too if the Android build version has changed (usefull
for an Android OTA or when a new Android version is pushed as
we need to recompute the Index)
- search thru "title" and "summary" Preference's data
- group results in the same order of the Settings categories
into the Drawer
- rewrite "title" and/or "summary" if they are containing
an hyphen "\u2011"
- add Preference Keywords (only for the Settings App) in the
Index and allow search on them (Wi-Fi network preference is
used as an example)

Known restrictions:

- we cannot yet search for "dynamic settings"
- ... nor we cannot search for settings coming from an external App
(like the Phone App and its related settings that are surfacing
into the Settings App).
- will need a few other CLs to add more keywords (and have them translated)

Change-Id: I017a4d6c433f28c257c08cacc1bed98c4c517039
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
6d534a1da52667c6c41b723d4c203fe0d59a2676 03-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix Drawer selection and initial Header

- now select the correct header when launching Settings shortcuts by
taking care of initial header
- also fix an issue when having to "double BACK" on the initial header
- some code cleaning (no need to test non null references)
- move code to group it by topics

Change-Id: Ifdf6dd7f5605e858b324d00165f0a5e8124efdfc
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
947d8143b97a0c84bb15a3fccc2562c98e1ffc04 03-Mar-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix Fragment BackStack and Titles"
7f36c272c4d4a05a04a21f24865d33cf3294a2ab 01-Mar-2014 Matthew Xie <mattx@google.com> Merge "Update context on resume calls for BluetoothAdvertisingEnabler and BluetoothEnabler"
72438063453d2141218cf7fa4d8c1da6de6cbf4c 28-Feb-2014 John Spurlock <jspurlock@google.com> Zen mode configuration panel. (packages/apps/Settings)

Read-only version of the configuration screen for
Limited Interruptions. Defaults to the logic implemented
for this mode, namely block notifications except for
Calls & Alarms.

This settings panel will serve as a target for the
configure affordance in SystemUI.

Change-Id: I33fd1e11ab76dbb7044bb94cb096cd892945947d
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
8eb3f0fbf2ced7291167755fe74ce50164eb3a9e 28-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix Fragment BackStack and Titles

Related to bug #12939786 and bug #13223838

- first use Fragment BreadCrumb for managing Titles and Back
- consider the first fragment as the initial one (both in the
normal case and in the shortcut one)
- fix usage of the Fragment BackStack so that in all cases we
are returning to the initial Fragment before exiting the App.

Change-Id: I96989d14f4e88688747b93ab9fadd96aea214a2c
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
0e2f949c90cc3057243020b51f1bdada02fd87fd 25-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #13140648 Settings needs to support the new Quantum Paper theme

Second pass:

- use Theme Holo for the Drawer too
- add a temporary background for Drawer icons (so that they dont mix
with the Drawer background)
- remove the "More..." icon as it was not needed

This CL will show that there is a discrepancy into the Drawer icons
size (some are smaller than the standard size, some other bigger).

This issue will be fixed when the new set of Icons will be delivered
by the UX team.

Change-Id: I431882df9b98157e98a1b735f31d9e77ef846767
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
dca2806a23d202384eb9b37a5026325f8fb08476 22-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Implement Holo Light Theme for Settings

... and use Holo (Dark) Theme for the Drawer as requested by UX

Also remove the Wi-Fi and Bluetooth switches in the Drawer per
following UX specification.

Change-Id: I4fc17481255b5db337a887033bc831ded0d2d701
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
74309ea53a5a72430bafaa8cea4d82d4e24f61bd 20-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #13058470 Cannot add account -- Settings app crashes

- revert back to an Activity instead of a fragment. This
is a straight reverse of the changes introduced for trying
to have a Fragment.

Basically ChooseAccountActivity was previously an Activity for
choosing an account type. If the list of account types was containing
only one item, then the ChooseAccountActivity was just a pass thru
and was falling back to the only account authority available.

In the current reported bug, this was happening by disabling the
Email app and thus having only the GoogleAuthenticator as an
Authority.

Then in the onCreate() the ChooseAccountFragment was seeing that
there was only one account authenticator and issuing a BACK button
press. Too bad, this was done into a non finished Fragment transaction
and leading to a crash.

All in all, we NEED to have an Activity and cannot use a Fragment
in that case.

Change-Id: I4a867a25fe9580929ec50a6775105adac1f88c52
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
e611b8590d8da69bb95e29a7faa5200a95b427f3 19-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #13084552 Correct list of accounts are not shown when tapping ...on type of accounts(corporate,google etc.,) in Settings under Accounts section"
61a77ab51d26e142b3681a020b21366a17a39da7 19-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #13084552 Correct list of accounts are not shown when tapping
...on type of accounts(corporate,google etc.,) in Settings under Accounts section

- allow Account Type (corporate and the others...) entries to work.

Basically as they are sharing the same fragment we could only hit it
only once (and the first hit was winning).

Change-Id: I16683fc7342564a8ed1a4853a576166ab4d91df9
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
2858b790ad92bb39e26150d696432f0b717bcddc 19-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #13027956 For restricted user launching Settings app from all apps drawer
...by default opens wifi setting screen

- add the Dashboard to the list of restricted fragments

Change-Id: I7787ed7c9f2a53ea1047b6ab860ded50e4e5d840
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
a504c4dcdf18be1be9f67cf83b506638f19077b8 15-Feb-2014 Matthew Xie <mattx@google.com> Update context on resume calls for BluetoothAdvertisingEnabler and BluetoothEnabler

The saved context could be invalid if not updated
bug 12991455

Change-Id: I93abb8420d0fa53add1f0e843a5069d59743891c
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
a7ad619af46baf78f7d6b65a0482aa387f4a6784 13-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #12991557 User taken to previously closed setting option

- fix behavior when we are closing the Drawer. Now will not trigger twice the same action
- fix selection in the Drawer for "Add Account": it basically should never be selected
as it is more like a button
- fix also Titles stack when launching an Intent
- remove some dead code

Change-Id: I196ad9fcd0599703f2abb902b088fbda9b4690a0
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
de40d9ed2f75f51108122ca31ef62f554a89831f 12-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix title when changing from portrait to landscape configuration"
5529d29f6c22e9f28444ca1c0aa9ea2534264220 12-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix title when changing from portrait to landscape configuration

- save the titles stack during onSaveInstanceState(...)
- set it back when creating the activity if there is a savedInstanceState
and restore the title to the last item in the stack

Change-Id: Ic6c2714f5474275c9f55cc4d6c70d14f6a8cd993
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
e6c9a5da01e4c1d8a83561404590a8ad3ab75890 12-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #12979102 Menu (Reset to default) and Add icon missing in APNs

- revert the changes on the ApnSettings to be again an Activity...

Change-Id: I7a12e25456f0a0df0f7618183f49fd8db10a5441
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
6502720566595543b1fbb79370319a0dd700036f 12-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Code cleaning

- remove duplicate reference to current header (mCurHeader) in favor of mCurrentHeader
- clean onSaveInstanceState()

Change-Id: Ia9322471f0b0d13d51e105c8fd625774d8867fdc
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
7ce7c40dac0fa8d27b28b82084d3c3fe7f2f524f 11-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #12957228 Java crash in com.android.settings: java.lang.IllegalStateException:
...Can not perform this action after onSaveInstanceState

- prevent a click on the Drawer's Headers when the App is paused / finished
- register / unregister the DrawerListener when needed

Change-Id: Ia270ef27b23c66d55565bbb73d4f6a6531b742d2
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
10afdb82aca7c6345d2aace30c7b66238e6bfb3c 11-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> There are several painful issues with the initial CL. Doing a revert for now and will rework this.

Revert "Fix bug #12939786 BACK should go back into the Fragments BackStack and finally to Overview ...and then exit the Settings App"

This reverts commit 4cc95a53c2d9080095c4e1e06f815b8bc7a2cdfe.

Change-Id: Iaa21d4771d0b004eff3d8e68b91b546a633d8f23
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
4cc95a53c2d9080095c4e1e06f815b8bc7a2cdfe 08-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #12939786 BACK should go back into the Fragments BackStack and finally to Overview
...and then exit the Settings App

- fix the way we manage the Fragment BackStack
- revert back ChooseLockGeneric to be a PreferenceActivity

Change-Id: I3c366b4be606e2e211facd0299b9a2de5cc6ea79
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
ca915668af1dfea973c2789d9ae48c958ca8362d 07-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #12910775 Settings crash after tap on Access Point Names under Mobile networks

- ApnSettings is now a fragment so introduce a new ApnSettingsActivity
- ApsSettingsActivity will use the ApnSettings fragment
- move the getListView() call to onActivityCreated(...) as the ListView
needs to be created before this call can be done.
- add also an alias for the old activity name ".ApsSettings"

Change-Id: Id228722d7f34415d4b036282f0845e28546111df
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
dc77b738a7697e57f1f630b4fe72f25835016d80 04-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #12890490 Crash in Settings observed after tap on Preferred Engine settings and Cloud print option

- when setting the Fragment's title use the CharSequence when the titleRes ID is "0"

Change-Id: I54e5379172632acfc967b5ea401ba90f73b41748
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java
263bcc8b732dbb47d3ce63904e0e05191fabbad6 18-Jan-2014 Fabrice Di Meglio <fdimeglio@google.com> Use Drawer in Settings app

- get rid of PreferenceActivity as much as we can and use fragments instead
- add Drawer widget
- add Dashboard high level entry into the Drawer (but this is work in progress and would be done in another CL)
- add bypass of fragment's Header validation when launched from the Drawer but *force* validation if external
call thru an Intent

Be aware that WifiPickerActivity should remain for now a PreferenceActivity. It is used by SetupWizard and should
not trigger running the SettingsActivity's header building code. SetupWizard is a Home during the provisionnig process
and then deactivate itself as a Home but would make the Home header to appear in the Drawer (because momentarily we
would have two Home).

Also, verified that:

- the WiFi settings still work when called from SetupWizard
- when you have multiple Launchers, the Home header will appear in the list of Headers in the Drawer

Change-Id: I407a5e0fdd843ad7615d3d511c416a44e3d97c90
/packages/apps/Settings/src/com/android/settings/SettingsActivity.java