mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-19 06:09:55 +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) {
|
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);
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user