From 0b25055c1231ee734dcd4ef22bdb369d0f0ce487 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaros=C5=82aw=20Bia=C5=82kowski?= <38923701+amb-jarek@users.noreply.github.com> Date: Thu, 28 Mar 2019 12:25:14 +0100 Subject: [PATCH] feat(privacy): disable android support Android support has to be temporarily disabled due to screenshots issue SISU-37 --- src/android/PrivacyScreenPlugin.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/android/PrivacyScreenPlugin.java b/src/android/PrivacyScreenPlugin.java index 691f5a6..74d7a37 100644 --- a/src/android/PrivacyScreenPlugin.java +++ b/src/android/PrivacyScreenPlugin.java @@ -31,7 +31,9 @@ public class PrivacyScreenPlugin extends CordovaPlugin { @Override public void initialize(CordovaInterface cordova, CordovaWebView webView) { super.initialize(cordova, webView); - Activity activity = this.cordova.getActivity(); - activity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_SECURE); + + // FIXME: It has been intentionally disabled due to screenshots issue + // Activity activity = this.cordova.getActivity(); + // activity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_SECURE); } }