diff options
| author | 2015-11-24 12:54:18 -0800 | |
|---|---|---|
| committer | 2015-11-24 12:54:21 -0800 | |
| commit | d25ddc3d0ee9d24f0e4c2e7c92defce4c3228f11 (patch) | |
| tree | 02a08137624da74f8ca6a20013525594e4854e08 | |
| parent | 12262af418f139e189b09b5b1e8a775d41d42e8e (diff) | |
Allow fragment state loss on fragment transaction
We are not saving the state of this fragment on onSaveState,
so its Okay to loose state while confirming the transaction.
bug:25847358
Change-Id: I2f6587d528b2d8b8f24a83954cc896a6ff514996
| -rw-r--r-- | packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java b/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java index e7588359478a..d153107403e2 100644 --- a/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java +++ b/packages/PrintSpooler/src/com/android/printspooler/ui/PrintActivity.java @@ -973,7 +973,7 @@ public class PrintActivity extends Activity implements RemotePrintDocument.Updat          if (newFragment != null) {              transaction.add(R.id.embedded_content_container, newFragment, FRAGMENT_TAG);          } -        transaction.commit(); +        transaction.commitAllowingStateLoss();          getFragmentManager().executePendingTransactions();      }  |