Skip to content

Commit f4965ca

Browse files
committed
cosmetics
1 parent 95f018a commit f4965ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/amazon/tv/firetv/leanbacklauncher/apps/RowPreferences.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public static boolean setRecommendationsEnabled(Context context, boolean value)
109109
Toast.makeText(context, context.getString(R.string.recs_warning), Toast.LENGTH_LONG).show();
110110
}
111111
// request notifications access
112-
if (Build.VERSION.SDK_INT >= 27) {
112+
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O_MR1) {
113113
NotificationManager manager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
114114
if (!manager.isNotificationListenerAccessGranted(new ComponentName(context, NotificationsServiceV4.class))) { // ComponentName
115115
// Open the permission page

0 commit comments

Comments
 (0)