mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-11-01 23:33:54 +01:00
Make AuthenticatedActivity abstract (per lint)
This commit is contained in:
parent
943fcbc7ea
commit
08bc52e457
4 changed files with 3 additions and 11 deletions
|
|
@ -11,7 +11,7 @@ import android.support.v7.app.AppCompatActivity;
|
|||
import fr.free.nrw.commons.CommonsApplication;
|
||||
import fr.free.nrw.commons.Utils;
|
||||
|
||||
public class AuthenticatedActivity extends AppCompatActivity {
|
||||
public abstract class AuthenticatedActivity extends AppCompatActivity {
|
||||
|
||||
|
||||
String accountType;
|
||||
|
|
@ -143,10 +143,6 @@ public class AuthenticatedActivity extends AppCompatActivity {
|
|||
outState.putString("authCookie", authCookie);
|
||||
}
|
||||
|
||||
protected void onAuthCookieAcquired(String authCookie) {
|
||||
|
||||
}
|
||||
protected void onAuthFailure() {
|
||||
|
||||
}
|
||||
protected abstract void onAuthCookieAcquired(String authCookie);
|
||||
protected abstract void onAuthFailure();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue