[ 
https://issues.apache.org/jira/browse/CB-9615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15092400#comment-15092400
 ] 

Nikhil Khandelwal commented on CB-9615:
---------------------------------------

Thanks, Chris for your comments and justification. I was not involved in the 
decision to remove this API but my understanding is that we removed it as we 
designed to support Chrome webview. I understand this an upgrade blocker for 
you but using Chrome webview is our recommendation to improve performance in 
such scenarios. Changing thread priority is not recommended and the API has 
also been deprecated in later versions of Android. [~bowserj] might have more 
background on this change and to see if there is a workaround available.

> getsettings API removed from Android CordovaWebView which disables 
> renderpriority and WebView tweaks for devices below Android 5
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-9615
>                 URL: https://issues.apache.org/jira/browse/CB-9615
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 4.1.0, 4.3.0, 4.0.1, 4.1.1
>         Environment: Windows 8.1 and Android SDK with Eclipse or Android 
> Studio
>            Reporter: Chris Murdaugh
>
> getsettings API removed from CordovaWebView ex: 
> appView.getSettings().setRenderPriority in the java MainActivity no longer 
> works in Cordova Android 3.7.2 and above (to test you will need to set 
> hardwareacceleration to false in AndroidManifest and use the above java in 
> the mainactivity) -  an undefined method is thrown in the compiler. This is a 
> deal-breaker as we cannot use Crosswalk because it adds 18mb to APK size (we 
> really need to stay below the 50MB cellular APK size limit for market reach). 
> We need our CSS3 transforms to be above 1-10fps for stability and the above 
> tweak has allowed us to maintain compatibility and performance for Android 
> 4.x and above (this issue affects all supported Android versions since CSS3 
> transforms are slow without Crosswalk). Having the getsettings API removed 
> from Cordova 3.72 and above (and no replacement API exists) means that we 
> cannot upgrade our Cordova until this issue is resolved and will have to go 
> without patch for CVE-2015-1835.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to