alexandroid/decompiled/jadx/sources/com/google/firebase/messaging/ProxyNotificationPreferences.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

34 lines
1.2 KiB
Java

package com.google.firebase.messaging;
import android.content.Context;
import android.content.SharedPreferences;
import androidx.annotation.WorkerThread;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes8.dex */
final class ProxyNotificationPreferences {
private static final String FCM_PREFERENCES = "com.google.firebase.messaging";
private ProxyNotificationPreferences() {
}
private static SharedPreferences getPreference(Context context) {
Context applicationContext = context.getApplicationContext();
if (applicationContext != null) {
context = applicationContext;
}
return context.getSharedPreferences("com.google.firebase.messaging", 0);
}
@WorkerThread
public static boolean isProxyNotificationInitialized(Context context) {
return getPreference(context).getBoolean("proxy_notification_initialized", false);
}
@WorkerThread
public static void setProxyNotificationsInitialized(Context context, boolean z) {
SharedPreferences.Editor edit = getPreference(context).edit();
edit.putBoolean("proxy_notification_initialized", z);
edit.apply();
}
}