Add support for lower APIs to new notification system.

This commit is contained in:
Cody Henthorne
2021-04-28 15:22:13 -04:00
committed by Alex Hart
parent ab44d608d2
commit bd2a1d5574
10 changed files with 238 additions and 112 deletions

View File

@@ -343,7 +343,7 @@ public final class FeatureFlags {
/** Whether or not to use the new notification system. */
public static boolean useNewNotificationSystem() {
return getBoolean(NOTIFICATION_REWRITE, false) && Build.VERSION.SDK_INT >= 26;
return Build.VERSION.SDK_INT >= 26 || getBoolean(NOTIFICATION_REWRITE, false);
}
public static boolean mp4GifSendSupport() {