History log of /frameworks/base/core/java/android/app/DialogFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fd516987de29a48425da5ee5aace5be40adcc674 04-Jul-2012 Scott Main <smain@google.com> docs: misc bugs from external tracker

Change-Id: I02d0d82c220401ac3a1ca180e8331a0f6dcd9e50
/frameworks/base/core/java/android/app/DialogFragment.java
6e90a362bc66cc67b1beae27b21d3f0148403b08 15-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5159736 - Make DeviceDefault the default

Have the framework refer to the DeviceDefault themes for ICS apps that
don't explicitly request another theme.

Change-Id: I27dd0bbaa60f71df4f36e47d260f556d923ba075
/frameworks/base/core/java/android/app/DialogFragment.java
cf407ad88bef3bc640489b300f23eaa8ea0b724e 11-Mar-2011 Dianne Hackborn <hackbod@google.com> 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
/frameworks/base/core/java/android/app/DialogFragment.java
e0edf4c1a230a82cee47f2b30e2ee2f749f2dd56 02-Mar-2011 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #3405957 com.android.settings: java.lang.NullPointerException..."
bfe2e3f9da507a19f5602f0b267be92ddccdd250 02-Mar-2011 Dianne Hackborn <hackbod@google.com> Fix issue #3405957 com.android.settings: java.lang.NullPointerException...

...at android.app.DialogFragment.dismissInternal(DialogFragment.java:264)

Don't allow a DialogFragment to be dismissed twice.

Change-Id: Id2e9e3be1046b0d7862492c57c36001d8fd44a69
/frameworks/base/core/java/android/app/DialogFragment.java
25193d330e7daaed1d4678609326c4f84bf3d584 02-Mar-2011 Dianne Hackborn <hackbod@google.com> Fix issue #3411615: Crash when getting dialog layout inflator.

Well, I'm not sure it is right for onCreateDialog() to return a null
dialog, but if it does, let's not crash here.

Change-Id: I5ff49b9b3c326d9005f70a01435c01bfc7307343
/frameworks/base/core/java/android/app/DialogFragment.java
f812fee071b9992872009b2dcd7969c7ce882a90 25-Jan-2011 Dianne Hackborn <hackbod@google.com> Argh forget to include my final part of the change.

Change-Id: I1e2711e1ecde0350047f1edef9a59947ff5749eb
/frameworks/base/core/java/android/app/DialogFragment.java
7187ccb93ee8adbb745fcbb901cfacfeed397a23 25-Jan-2011 Dianne Hackborn <hackbod@google.com> Fix issue #3385839: Fragment.onCreateView is passing in activity...

...context for a DialogFragment

Change-Id: I434ebca64d2738da4c27321db8dbbded2cbe167d
/frameworks/base/core/java/android/app/DialogFragment.java
327fbd2c8fa294b919475feb4c74a74ee1981e02 17-Jan-2011 Dianne Hackborn <hackbod@google.com> Fix a bunch of API review bugs.

3362464 API REVIEW: android.content potpourri
3362445 API REVIEW: Fragment transaction stuff
3362428 API REVIEW: Fragment stuff
3362418 API REVIEW: Loader stuff
3362414 API REVIEW: android.content.pm.ActivityInfo

Change-Id: I6475421a4735759b458acb67df4380cc6234f147
/frameworks/base/core/java/android/app/DialogFragment.java
48e7b458694acdf3a4fc58e62437f1dbc4f29d83 17-Jan-2011 Dianne Hackborn <hackbod@google.com> Start renaming FragmentTransaction.openTransaction() to beginTransaction().

Change-Id: Ib4a6d824b33cca699b7b25159c491fb610d5f5da
/frameworks/base/core/java/android/app/DialogFragment.java
6014527c350895383b99ba91d3d009a32b1d22a6 12-Jan-2011 Dianne Hackborn <hackbod@google.com> Add "min size" facility to the Window class.

This allows us to have a new dialog theme that behaves like an alert dialog
for both Dialog and Activity versions. Very useful with so many more things
being displayed as dialogs on our nice large screen.

Note I didn't change the existing dialog themes to have this behavior, since
it will probably break things. Instead there is a new variation. And the
DialogWhenLarge variations now use this for their dialog form, to fix many
of the real new dialogs we have that need this behavior.

Removed the public definition of the one alert dialog theme. None of the
others have ever been public, this one shouldn't be.

Added new .Panel versions of the Holo themes, like we already had for the
original themes.

Changed the alert dialog layout to no longer use WeightedLinearLayout,
since the window now takes care of that. This allowed for the removal
of the xlarge version of those layouts.

Change-Id: I0c8372bde25eb9af47404a719b3f07230baf73bf
/frameworks/base/core/java/android/app/DialogFragment.java
247fe74c934cb3fba85aae7e051a8044f460fb11 09-Jan-2011 Dianne Hackborn <hackbod@google.com> Implement issue # 3255887 could CursorLoader offer...

...to throttle contentobserver-based requeries

Why yes, I guess it could.

This also reworks AsyncTaskLoader to not generate multiple
concurrent tasks if it is getting change notifications before
the last background task is complete.

And removes some of the old APIs that had been deprecated but
need to be gone for final release.

And fixes a few little problems with applying the wrong theme
in system code.

Change-Id: Ic7a665b666d0fb9d348e5f23595532191065884f
/frameworks/base/core/java/android/app/DialogFragment.java
6908cd154c5a2ed2e3b21d40f51952d45be69184 09-Nov-2010 Dianne Hackborn <hackbod@google.com> Fix animations to use correct interpolator.

Also some fragment fixes.

Change-Id: I3906199e541a86379d07c8a4e4d5f9e99830c44a
/frameworks/base/core/java/android/app/DialogFragment.java
ab36acb39941ce981dddda9f9cf4d2d23a56fd26 05-Nov-2010 Dianne Hackborn <hackbod@google.com> Fixe some stuff.

Addresses these bugs:

3061847 - With no headers, PreferenceActivity crashes
2888426 - minor typo in DevicePolicyManagerService.ActiveAdmin.writeToXml()
3159155 - IllegalStateException:"Can not perform this action after
onSaveInstanceState" while dismissing a DialogFragment
3155995 - PopupWindow.showAtLocation does not respect LayoutParams

Also tweak the new fragment APIs to use abstract classes instead of
interfaces as base classes.

Change-Id: I9c0b4337fe0e304b737b5f7c2762762372bb3020
/frameworks/base/core/java/android/app/DialogFragment.java
c63806d852a550d82bbe6cadff8a2139d78ed559 24-Sep-2010 Adam Powell <adamp@google.com> Holo themes and assets in progress

Change-Id: Ic10480dc1c771d0ccd10f1d4014c945480fd6c0d
/frameworks/base/core/java/android/app/DialogFragment.java
727782053ced0cac5beadc2c7ee9382d0f1ba1f5 21-Aug-2010 Dianne Hackborn <hackbod@google.com> Work on DialogFragment and docs.

- DialogFragment now has an option to not show a dialog, so you can
use your UI somewhere else.
- Deprecated show() versions that were tied to activities.
- Added documentation to DialogFragment class.
- Added documentation to onSaveInstanceState() to explain how the
time it is called is different than Activity's version.
- Fixed some java doc warnings.

Change-Id: If026744c368e2443030d2d9e0a9c808d820857df
/frameworks/base/core/java/android/app/DialogFragment.java
def1537e9e8d0dd190cde5310ddae8b921088c9b 15-Aug-2010 Dianne Hackborn <hackbod@google.com> More fragment work:

- Introduce FragmentManager as a public API, deprecating the fragment
APIs on Activity. (They will be removed soon.)
- Add APIs to write a fragment reference to a bundle and later retrieve
it.
- Add Fragment API to set another fragment as its target, for delivering
results.
- Change when onInflate() is called and formalize its meaning in relation
to the fragment arguments that were previously introduced.
- Change onDestroyView() to always be called, regardless of when
onCreateView() returns. It now also is called slightly differently,
after the view hierarchy's state is saved.
- Fix some issues with DialogFragment's lifecycle with its associated
Dialog and state save/restore.
- Preference can now have a Bundle associated with it to provide
arguments to a fragment. The data for this Bundle call be supplied
via <extra> tags under a PreferenceScreen.
- PreferenceActivity's header XML tags are now <preference-headers>
and <header>, and you can supply <extra> tags under a <header> to set
arguments for the header's fragment.

Change-Id: I22c212c9fa862d50840201ca16e51f9de5ef0031
/frameworks/base/core/java/android/app/DialogFragment.java
72dc780f57b4396b808032d592c41d35644a3277 13-Aug-2010 Jean-Baptiste Queru <jbq@google.com> Fix build: tweak documentation links

Change-Id: I9c9c8615086b7173f4ad68b5183e7699275c7a2d
/frameworks/base/core/java/android/app/DialogFragment.java
b7a2e4772220c4b41df1260cedaf8912f4b07547 13-Aug-2010 Dianne Hackborn <hackbod@google.com> Fragment and PreferenceFragment and FragmentManager, oh my!

- Introduce FragmentManager public API, for all Fragment management
needs. Will in the future allow the removal of the (growing number
of) fragment APIs on Activity.

- Fragment now has a concept of arguments. This can be supplied
immediately after creation, and are retained across instances.

- PreferenceActivity now has an API to have it update its headers (note
not tested). Headers now have arguments. Keys for controlling
when PreferenceActivity shows at launch have been added to the SDK.

- Fixes to back stack handling and state saving/restoring.

Change-Id: Ib9d07ae2beb296c4eb3a4d9e1b3b59544675e819
/frameworks/base/core/java/android/app/DialogFragment.java
dd913a50cd72d6dd23c4ea437f0ebe2be05ca2e8 22-Jul-2010 Dianne Hackborn <hackbod@google.com> Add new DialogFragment class.

For all your Dialog needs.

Change-Id: I36c602ca253488d34a55c8f0be610b9752c33264
/frameworks/base/core/java/android/app/DialogFragment.java