소스 검색

move from deprecated ActionBarActivity to AppCompatActivity

Andy Scherzinger 9 년 전
부모
커밋
bac0fa5f28
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/com/owncloud/android/authentication/AccountAuthenticatorActivity.java

+ 2 - 1
src/com/owncloud/android/authentication/AccountAuthenticatorActivity.java

@@ -20,6 +20,7 @@ import android.accounts.AccountAuthenticatorResponse;
 import android.accounts.AccountManager;
 import android.os.Bundle;
 import android.support.v7.app.ActionBarActivity;
+import android.support.v7.app.AppCompatActivity;
 
 /*
  * Base class for implementing an Activity that is used to help implement an AbstractAccountAuthenticator. 
@@ -32,7 +33,7 @@ import android.support.v7.app.ActionBarActivity;
  * then error AccountManager.ERROR_CODE_CANCELED will be called on the response.
  */
 
-public class AccountAuthenticatorActivity extends ActionBarActivity {
+public class AccountAuthenticatorActivity extends AppCompatActivity {
 
     private AccountAuthenticatorResponse mAccountAuthenticatorResponse = null;
     private Bundle mResultBundle = null;