mosabab commented on issue #598: [android] Statusbar disappear after 
inappbrowser window appears
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/598#issuecomment-572211795
 
 
   > I don't think any such configuration currently exists in inappbrowser, 
given that `InAppBrowser` appears to unconditionally sets `FLAG_FULLSCREEN`.
   > 
   > As a test, you can try to modify `InAppBrowser.java` and comment out line 
797. You should be able to find the file in 
`<your-cordova-project>/platforms/android/app/src/main/org/apache/cordova/inappbrowser/InAppBrowser.java`
 (didn't double check the path, but should be something like that).
   > 
   > By commenting out line 797, 
(`dialog.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, 
WindowManager.LayoutParams.FLAG_FULLSCREEN);`), in theory it should leave the 
statusbar as is?
   > 
   > Personally I'm not sure why `InAppBrowser` is making such an assumption 
about the statusbar.
   
   You are right.
   
   Thanks for your message.
   
   We hope who is familiar with android coding can modify this as an option to 
help users to decide what they can choose as preferred options.
   
   Regards

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to