Example usage for android.app DialogFragment dismissAllowingStateLoss

List of usage examples for android.app DialogFragment dismissAllowingStateLoss

Introduction

In this page you can find the example usage for android.app DialogFragment dismissAllowingStateLoss.

Prototype

public void dismissAllowingStateLoss() 

Source Link

Document

Version of #dismiss() that uses FragmentTransaction#commitAllowingStateLoss() FragmentTransaction.commitAllowingStateLoss() .

Usage

From source file:com.mediatek.galleryfeature.stereo.fancycolor.FancyColorActivity.java

private void hideSavingProgress() {
    if (mSavingProgressDialog != null) {
        DialogFragment progress = mSavingProgressDialog.get();
        if (progress != null) {
            progress.dismissAllowingStateLoss();
        }//from  www. j  a  va  2s  .  c om
        MtkLog.d(TAG, "<hideSavingProgress>");
    }
}