mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-28 23:15:34 +00:00
Show a warning for users on API < 19.
We'll be updating minSdk to 19 in 4.37. This lets these users continue to use the app, but they'll be warned with a persistent banner saying that they can't receive updates.
This commit is contained in:
@@ -71,6 +71,7 @@ import org.thoughtcrime.securesms.components.reminder.ServiceOutageReminder;
|
||||
import org.thoughtcrime.securesms.components.reminder.ShareReminder;
|
||||
import org.thoughtcrime.securesms.components.reminder.SystemSmsImportReminder;
|
||||
import org.thoughtcrime.securesms.components.reminder.UnauthorizedReminder;
|
||||
import org.thoughtcrime.securesms.components.reminder.UnsupportedAndroidVersionReminder;
|
||||
import org.thoughtcrime.securesms.database.DatabaseFactory;
|
||||
import org.thoughtcrime.securesms.database.MessagingDatabase.MarkedMessageInfo;
|
||||
import org.thoughtcrime.securesms.database.loaders.ConversationListLoader;
|
||||
@@ -201,6 +202,8 @@ public class ConversationListFragment extends Fragment
|
||||
final Context context = params[0];
|
||||
if (UnauthorizedReminder.isEligible(context)) {
|
||||
return Optional.of(new UnauthorizedReminder(context));
|
||||
} else if (UnsupportedAndroidVersionReminder.isEligible()) {
|
||||
return Optional.of(new UnsupportedAndroidVersionReminder(context));
|
||||
} else if (ExpiredBuildReminder.isEligible()) {
|
||||
return Optional.of(new ExpiredBuildReminder(context));
|
||||
} else if (ServiceOutageReminder.isEligible(context)) {
|
||||
|
||||
Reference in New Issue
Block a user