From b83248505f4944c1894f490807735bdc7d845a31 Mon Sep 17 00:00:00 2001 From: Fotis Tsalampounis Date: Sat, 20 May 2017 13:14:11 +0300 Subject: [PATCH] Removed getSupportActionBar command The getSupportActionBar method caused a null pointer exception in deviced running Android SDK >21 but there is actually no need for it since the theme doesn't have an Action Bar. --- app/src/main/java/fr/free/nrw/commons/auth/SignupActivity.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/java/fr/free/nrw/commons/auth/SignupActivity.java b/app/src/main/java/fr/free/nrw/commons/auth/SignupActivity.java index 62ccb5731..10c095a0f 100644 --- a/app/src/main/java/fr/free/nrw/commons/auth/SignupActivity.java +++ b/app/src/main/java/fr/free/nrw/commons/auth/SignupActivity.java @@ -20,8 +20,6 @@ public class SignupActivity extends BaseActivity { super.onCreate(savedInstanceState); Timber.d("Signup Activity started"); - getSupportActionBar().hide(); - webView = new WebView(this); setContentView(webView);