From cf407ad88bef3bc640489b300f23eaa8ea0b724e Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Fri, 11 Mar 2011 13:17:57 -0800 Subject: Fix issues #4087362 and #4087356 4087362: Provide a safer way to call DialogFragment.dismiss() 4087356: PreferenceActivity.invalidateHeaders() can cause IllegalStateException: Can not perform this action after onSaveInstanceState These are very safe; the first is just a new public API that allows you to use an existing feature in DialogFragment, and the second just uses the version of commit that avoids the failure if happening at a point where the operation would be lost if restored from the last state (which is no big deal for preferences). Change-Id: I53971c9fb1efdcd599694cdcd4585b81afc156b8 --- api/current.xml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'api') diff --git a/api/current.xml b/api/current.xml index fb4cdde..5207534 100644 --- a/api/current.xml +++ b/api/current.xml @@ -28643,6 +28643,17 @@ visibility="public" > + + - + -- cgit v1.1