Remove the final KBS feature flags.

This commit is contained in:
Greyson Parrelli
2020-07-07 08:08:34 -04:00
parent eb02dacfdc
commit 33c527f15e
3 changed files with 1 additions and 37 deletions

View File

@@ -16,15 +16,11 @@ class PinsForAllSchedule implements MegaphoneSchedule {
private static final String TAG = Log.tag(PinsForAllSchedule.class);
@VisibleForTesting
static final long DAYS_UNTIL_FULLSCREEN = 8L;
static final long DAYS_UNTIL_FULLSCREEN = 4L;
private final MegaphoneSchedule schedule = new RecurringSchedule(TimeUnit.HOURS.toMillis(2));
static boolean shouldDisplayFullScreen(long firstVisible, long currentTime) {
if (!FeatureFlags.pinsForAllMandatory()) {
return false;
}
if (firstVisible == 0L) {
return false;
}
@@ -52,10 +48,6 @@ class PinsForAllSchedule implements MegaphoneSchedule {
return false;
}
if (FeatureFlags.pinsForAllMegaphoneKillSwitch()) {
return false;
}
if (pinCreationFailedDuringRegistration()) {
return true;
}