mirror of
https://github.com/sdkcarlos/cordova-ourcodeworld-preventscreenshots.git
synced 2025-01-18 21:12:50 +08:00
Fix
This commit is contained in:
parent
dc0c53ab9d
commit
fac3e09a49
@ -22,8 +22,7 @@ public class OurCodeWorldpreventscreenshots extends CordovaPlugin {
|
||||
}else if(ACTION_DISABLE.equals(action)){
|
||||
cordova.getActivity().runOnUiThread(new Runnable() {
|
||||
public void run() {
|
||||
cordova.getActivity().getWindow().clearFlags(WindowManager.LayoutParams.FLAG_SECURE,
|
||||
WindowManager.LayoutParams.FLAG_SECURE);
|
||||
cordova.getActivity().getWindow().clearFlags(WindowManager.LayoutParams.FLAG_SECURE);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user