mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 09:49:30 +01:00
Don't show the full-screen PIN megaphone.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package org.thoughtcrime.securesms.util;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import org.thoughtcrime.securesms.push.SignalServiceNetworkAccess;
|
||||
|
||||
public final class CensorshipUtil {
|
||||
|
||||
private CensorshipUtil() {}
|
||||
|
||||
public static boolean isCensored(@NonNull Context context) {
|
||||
return new SignalServiceNetworkAccess(context).isCensored(context);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user