mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 08:39:22 +01:00
Move additional fragments to core UI.
This commit is contained in:
committed by
Greyson Parrelli
parent
8d749c404f
commit
62d951b438
@@ -19,11 +19,7 @@ public final class WindowUtil {
|
||||
}
|
||||
|
||||
public static void initializeScreenshotSecurity(@NonNull Context context, @NonNull Window window) {
|
||||
if (TextSecurePreferences.isScreenSecurityEnabled(context)) {
|
||||
window.addFlags(WindowManager.LayoutParams.FLAG_SECURE);
|
||||
} else {
|
||||
window.clearFlags(WindowManager.LayoutParams.FLAG_SECURE);
|
||||
}
|
||||
org.signal.core.ui.WindowExtensionsKt.initializeScreenshotSecurity(window);
|
||||
}
|
||||
|
||||
public static void setLightNavigationBarFromTheme(@NonNull Activity activity) {
|
||||
|
||||
Reference in New Issue
Block a user