This repository was archived by the owner on Jul 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app/src/main/java/com/zulip/android Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 6
6
import android .annotation .TargetApi ;
7
7
import android .app .AlertDialog ;
8
8
import android .app .DatePickerDialog ;
9
- import android .app .DialogFragment ;
9
+ import android .support . v4 . app .DialogFragment ;
10
10
import android .app .NotificationManager ;
11
11
import android .app .PendingIntent ;
12
12
import android .app .SearchManager ;
@@ -570,7 +570,7 @@ public Cursor runQuery(CharSequence charSequence) {
570
570
public void showListDialog () {
571
571
// Create an instance of the dialog fragment and show it
572
572
DialogFragment dialog = new ListDialog ();
573
- dialog .show (getFragmentManager (), "ListDialogFragment" );
573
+ dialog .show (getSupportFragmentManager (), "ListDialogFragment" );
574
574
}
575
575
576
576
/**
Original file line number Diff line number Diff line change 2
2
3
3
import android .app .AlertDialog ;
4
4
import android .app .Dialog ;
5
- import android .app .DialogFragment ;
5
+ import android .support . v4 . app .DialogFragment ;
6
6
import android .content .Context ;
7
7
import android .content .pm .PackageManager ;
8
8
import android .os .Bundle ;
You can’t perform that action at this time.
0 commit comments