diff options
author | Vivek Sekhar <vsekhar@codeaurora.org> | 2014-10-09 17:28:57 -0700 |
---|---|---|
committer | Vivek Sekhar <vsekhar@codeaurora.org> | 2014-10-22 11:31:25 -0700 |
commit | 46c3ec0fec8a2fc53619cead8dae5edbae2a6f3a (patch) | |
tree | 5f6c7da0c55c127207b226961bdeb7080dde5e5e /res/values-pt-rPT | |
parent | f04dbda03764a4c69694a6a513e41c56fa4a1b52 (diff) | |
download | android_packages_apps_Gello-46c3ec0fec8a2fc53619cead8dae5edbae2a6f3a.tar.gz android_packages_apps_Gello-46c3ec0fec8a2fc53619cead8dae5edbae2a6f3a.tar.bz2 android_packages_apps_Gello-46c3ec0fec8a2fc53619cead8dae5edbae2a6f3a.zip |
Fix remaining createScreenshot references
Fixed references to createScreenshot method which was returning a null
bitmap. createScreenshot method was implemented using the older
getViewportBitmap synchronous API which was deprecated. WebView exposes
an asynchronous method getContentBitmapAsync to retrieve a bitmap of the
current view. Modified calls to use the getContentBitmapAsync API.
This also fixes the issue seen where an async task was fired in a loop
to retrieve the bitmap resulting in wasted CPU cycles.
Change-Id: Ic6d8385d41d90c58fdffcebcbca7ebd68381530f
Diffstat (limited to 'res/values-pt-rPT')
0 files changed, 0 insertions, 0 deletions