diff options
author | sail <sail@google.com> | 2017-06-29 08:46:43 -0700 |
---|---|---|
committer | Brandon Maxwell <maxwelb@google.com> | 2017-06-30 14:41:54 -0700 |
commit | 3331545bd3fb769ae3f9246c0bd92fe35c6308ab (patch) | |
tree | 2b5082a7e55335c4ea0e91d82f90d34fa54acd05 /java/com/android/contacts/common/dialog | |
parent | 8fd3656537f791c05d24d68281e8f2282d4d1711 (diff) |
Automated g4 rollback of changelist 160202511.
*** Reason for rollback ***
Causes crash, see b/63127884
*** Original change description ***
All Fragments are now support library Fragments.
Switch a bunch of imports to support library Fragments (and Loaders) instead of framework Fragments (and Loaders). This was needed to use FragmentManager.isStateSaved() instead of manually tracking that state. This should reduce errors around committing after state is saved.
Also adds METADATA presubmit to prevent new usages of framework Fragments or Loaders.
***
Bug: 38241305,63127884
Test: N/A
PiperOrigin-RevId: 160530287
Change-Id: Ie2c4d3561ebea2d0f05097ce89bdd9bc8767c8cf
Diffstat (limited to 'java/com/android/contacts/common/dialog')
-rw-r--r-- | java/com/android/contacts/common/dialog/ClearFrequentsDialog.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/com/android/contacts/common/dialog/ClearFrequentsDialog.java b/java/com/android/contacts/common/dialog/ClearFrequentsDialog.java index 60c7fc0ac..751490a22 100644 --- a/java/com/android/contacts/common/dialog/ClearFrequentsDialog.java +++ b/java/com/android/contacts/common/dialog/ClearFrequentsDialog.java @@ -18,6 +18,8 @@ package com.android.contacts.common.dialog; import android.app.AlertDialog; import android.app.Dialog; +import android.app.DialogFragment; +import android.app.FragmentManager; import android.app.ProgressDialog; import android.content.ContentResolver; import android.content.Context; @@ -26,8 +28,6 @@ import android.content.DialogInterface.OnClickListener; import android.os.AsyncTask; import android.os.Bundle; import android.provider.ContactsContract; -import android.support.v4.app.DialogFragment; -import android.support.v4.app.FragmentManager; import com.android.contacts.common.R; import com.android.dialer.util.PermissionsUtil; |