Skip to content
This repository was archived by the owner on Feb 14, 2020. It is now read-only.

Commit ee68bdf

Browse files
committed
Extend AppCompatDialog
1 parent 5d9b9aa commit ee68bdf

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

library/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,13 @@ android {
1212
}
1313

1414
dependencies {
15+
16+
api "com.android.support:appcompat-v7:27.1.1"
17+
1518
api 'oauth.signpost:signpost-core:1.2.1.2'
19+
1620
api 'se.akerfeldt:okhttp-signpost:1.1.0'
21+
1722
api 'com.parse:parse-android:1.17.3'
1823

1924
testImplementation 'junit:junit:4.12'

library/src/main/java/com/parse/oauth/OAuth1FlowDialog.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
*/
99
package com.parse.oauth;
1010

11-
import android.app.Dialog;
1211
import android.app.ProgressDialog;
1312
import android.content.Context;
1413
import android.content.DialogInterface;
@@ -18,6 +17,7 @@
1817
import android.graphics.drawable.Drawable;
1918
import android.net.Uri;
2019
import android.os.Bundle;
20+
import android.support.v7.app.AppCompatDialog;
2121
import android.view.View;
2222
import android.view.ViewGroup;
2323
import android.view.ViewGroup.LayoutParams;
@@ -31,7 +31,7 @@
3131
/**
3232
* For internal use.
3333
*/
34-
public class OAuth1FlowDialog extends Dialog {
34+
public class OAuth1FlowDialog extends AppCompatDialog {
3535
private static final FrameLayout.LayoutParams FILL = new FrameLayout.LayoutParams(
3636
ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.FILL_PARENT);
3737
private final String callbackUrl;

0 commit comments

Comments
 (0)