Update Globals.java

This commit is contained in:
gdlbo
2022-07-11 13:13:17 +03:00
parent 2ae9df03e1
commit 991f1f9eb8
@@ -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){