Update Globals.java

This commit is contained in:
gdlbo
2022-07-11 13:13:17 +03:00
parent b553ef1c75
commit 851265e14a
@@ -345,9 +345,7 @@ public class Globals{
} // Network check
public static void fixGapps(){
if(isGmsInstalled()) return;
if(Build.VERSION.SDK_INT >= 26){
if(Build.VERSION.SDK_INT >= 26 && !isGmsInstalled()){
NotificationManager notificationManager = (NotificationManager) getContext().getSystemService(Context.NOTIFICATION_SERVICE);
if(notificationManager.getNotificationChannel("audio_playback_channel") == null){