breautek commented on issue #1386:
URL: 
https://github.com/apache/cordova-android/issues/1386#issuecomment-1030484599


   Just some research information:
   
   > getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
   
   Replacement: 
https://developer.android.com/reference/android/view/WindowInsetsController#hide(int)
 (Replacement requires API >= 30)
   
   > FLAG_FORCE_NOT_FULLSCREEN
   
   An "accidental API" not intended to be used by third-party apps with no 
replacement, but was used to override `FLAG_FULLSCREEN` so any usages can be 
probably changed to use `FLAG_FULLSCREEN` directly.
   
   > CordovaInterfaceImpl.java:69: warning: [deprecation] 
startActivityForResult(Intent,int) in ComponentActivity has been deprecated
   
   
https://developer.android.com/reference/androidx/activity/ComponentActivity#startActivityForResult(android.content.Intent,int)
 (believe this can be refactored at any time)
   
   > SYSTEM_UI_FLAG_LAYOUT_STABLE
   
   
https://developer.android.com/reference/android/view/View#SYSTEM_UI_FLAG_LAYOUT_STABLE
 (Replacement requires API >= 30)
   
   > SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
   
   
https://developer.android.com/reference/android/view/View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
 (Replacement requires API >= 30)
   
   > SYSTEM_UI_FLAG_IMMERSIVE_STICKY
   
   
https://developer.android.com/reference/android/view/View#SYSTEM_UI_FLAG_IMMERSIVE_STICKY
 (Replacement requires API >= 30)
   
   > getWindow().getDecorView().setSystemUiVisibility(uiOptions);
   
   
https://developer.android.com/reference/android/view/View.html#setSystemUiVisibility(int)
 (Replacement requires API >= 30)
   
   > setAcceptFileSchemeCookies
   
   
https://developer.android.com/reference/android/webkit/CookieManager#setAcceptFileSchemeCookies(boolean)
   
   This one is covered by cordova-android@10 which by default uses the 
WebViewAssetLoader, so the replacement is already implemented. But we can't 
remove this usage until we decide to remove support for the file:// scheme.
   
   > onRequestPermissionResult
   
   This is a deprecation within the cordova API. It will remain until we decide 
to forcefully remove the deprecated API (and force plugin authors to update 
their code accordingly)
   
   As most of these requires API >= 30 to properly remove, it will be some time 
before we can actually act on any of these deprecation warnings. For reference, 
Cordova supports API >= 22.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to