Removed overrides of showScreenFilterWarning.

This commit is contained in:
akwizgran
2017-07-03 10:08:36 +01:00
parent f3a084cfd2
commit c977bf047d
3 changed files with 1 additions and 11 deletions

View File

@@ -26,11 +26,6 @@ public class StartupFailureActivity extends BaseActivity {
} }
@Override
protected void showScreenFilterWarning() {
// Don't show here, service might not be available
}
private void handleIntent(Intent i) { private void handleIntent(Intent i) {
StartResult result = (StartResult) i.getSerializableExtra("briar.START_RESULT"); StartResult result = (StartResult) i.getSerializableExtra("briar.START_RESULT");
int notificationId = i.getIntExtra("briar.FAILURE_NOTIFICATION_ID", -1); int notificationId = i.getIntExtra("briar.FAILURE_NOTIFICATION_ID", -1);

View File

@@ -113,7 +113,7 @@ public abstract class BaseActivity extends AppCompatActivity
} }
} }
protected void showScreenFilterWarning() { private void showScreenFilterWarning() {
if (dialogFrag != null && dialogFrag.isVisible()) return; if (dialogFrag != null && dialogFrag.isVisible()) return;
Set<String> apps = screenFilterMonitor.getApps(); Set<String> apps = screenFilterMonitor.getApps();
if (apps.isEmpty()) return; if (apps.isEmpty()) return;

View File

@@ -83,11 +83,6 @@ public class SplashScreenActivity extends BaseActivity {
} }
} }
@Override
protected void showScreenFilterWarning() {
// Ignore touches until the next activity is shown
}
private void enableStrictMode() { private void enableStrictMode() {
if (TESTING) { if (TESTING) {
ThreadPolicy.Builder threadPolicy = new ThreadPolicy.Builder(); ThreadPolicy.Builder threadPolicy = new ThreadPolicy.Builder();