OSDN Git Service

Fix issue #3306021 NPE at android.app.AlertDialog.getDefaultDialogTheme(AlertDialog...
authorDianne Hackborn <hackbod@google.com>
Tue, 25 Jan 2011 00:22:13 +0000 (16:22 -0800)
committerDianne Hackborn <hackbod@google.com>
Tue, 25 Jan 2011 05:18:41 +0000 (21:18 -0800)
commit0385cf14a1b02fafc3d1a094ccfee45de4e9b03a
tree9ff0095962d772bb1a524d85cc45b895ca11f838
parent48e031c710acb812361d9689836b69b3ee5b5ac2
Fix issue #3306021 NPE at android.app.AlertDialog.getDefaultDialogTheme(AlertDialog.java)

It looks like the dialog fragment was not being removed along with
the containing fragment.  The containing fragment now checks for
when it is being removed and removes its dialog fragment at that
point.

Also fix issue #3340766 NPE at
com.android.settings.applications.RunningProcessesView.startServiceDetailsActivity

We need to check if the running processes view is still attached to its
owner, since we clear owner when it is paused.

In addition, fix a bug where ManageApplications was not persisting
its "show background processes" state, and remove the icons from
its menu items to make them more understandable in the action bar.

Change-Id: I4498ef92023eb60f90758ff18d8eed7b41af79b0
src/com/android/settings/SettingsPreferenceFragment.java
src/com/android/settings/applications/ManageApplications.java
src/com/android/settings/applications/RunningProcessesView.java