Skip to content

Commit

Permalink
Merge pull request #1 from SDA-SE/feature/SISU-37-disable-android-sup…
Browse files Browse the repository at this point in the history
…port

SISU-37: disable android support
  • Loading branch information
amb-jarek authored Mar 28, 2019
2 parents 0214a7e + 0b25055 commit 5ce1914
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/android/PrivacyScreenPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 5ce1914

Please sign in to comment.