mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Removed overrides of showScreenFilterWarning.
This commit is contained in:
@@ -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) {
|
||||
StartResult result = (StartResult) i.getSerializableExtra("briar.START_RESULT");
|
||||
int notificationId = i.getIntExtra("briar.FAILURE_NOTIFICATION_ID", -1);
|
||||
|
||||
@@ -113,7 +113,7 @@ public abstract class BaseActivity extends AppCompatActivity
|
||||
}
|
||||
}
|
||||
|
||||
protected void showScreenFilterWarning() {
|
||||
private void showScreenFilterWarning() {
|
||||
if (dialogFrag != null && dialogFrag.isVisible()) return;
|
||||
Set<String> apps = screenFilterMonitor.getApps();
|
||||
if (apps.isEmpty()) return;
|
||||
|
||||
@@ -83,11 +83,6 @@ public class SplashScreenActivity extends BaseActivity {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void showScreenFilterWarning() {
|
||||
// Ignore touches until the next activity is shown
|
||||
}
|
||||
|
||||
private void enableStrictMode() {
|
||||
if (TESTING) {
|
||||
ThreadPolicy.Builder threadPolicy = new ThreadPolicy.Builder();
|
||||
|
||||
Reference in New Issue
Block a user