Thanks Romain Anyway to force if off from the app in code? Or how to detect it so that I can display a message to the user?
I see now that there are some websites that advise people to turn it on because it makes everything run smoother. I don't think people realize that not all things can be hardware accelerated. Unfortunately I have no way of responding to these users who report this issue. On Dec 5, 5:35 pm, Romain Guy <[email protected]> wrote: > They've probably checked the "Force GPU" setting in Developers Settings. > > > > > > > > > > On Mon, Dec 5, 2011 at 7:25 AM, webmonkey <[email protected]> wrote: > > In my AndroidManifest.xml I have: > > > <uses-sdk > > android:minSdkVersion="3" > > android:targetSdkVersion="8" > > /> > > > And the Application and Activities all have > > android:hardwareAccelerated="false" > > > So the app should not be hardware accelerated. But in the Android > > Developer console I am getting the following crash report from Galaxy > > Nexus users with ICS: > > > java.lang.UnsupportedOperationException > > at android.view.GLES20Canvas.drawPicture(GLES20Canvas.java:861) > > at android.graphics.drawable.PictureDrawable.draw(PictureDrawable.java: > > 73) > > at android.widget.ImageView.onDraw(ImageView.java:892) > > at android.view.View.draw(View.java:10880) > > at android.view.View.getDisplayList(View.java:10319) > > at android.view.ViewGroup.drawChild(ViewGroup.java:2862) > > at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2495) > > at android.view.View.getDisplayList(View.java:10317) > > at android.view.ViewGroup.drawChild(ViewGroup.java:2862) > > at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2495) > > at android.view.View.getDisplayList(View.java:10317) > > at android.view.ViewGroup.drawChild(ViewGroup.java:2862) > > at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2495) > > at android.view.View.getDisplayList(View.java:10317) > > at android.view.ViewGroup.drawChild(ViewGroup.java:2862) > > at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2495) > > at android.view.View.getDisplayList(View.java:10317) > > at android.view.ViewGroup.drawChild(ViewGroup.java:2862) > > at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2495) > > at android.view.View.getDisplayList(View.java:10317) > > at android.view.ViewGroup.drawChild(ViewGroup.java:2862) > > at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2495) > > at android.view.View.draw(View.java:10883) > > at android.widget.FrameLayout.draw(FrameLayout.java:450) > > at com.android.internal.policy.impl.PhoneWindow > > $DecorView.draw(PhoneWindow.java:2106) > > at android.view.View.getDisplayList(View.java:10319) > > at android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java: > > 791) > > at android.view.ViewRootImpl.draw(ViewRootImpl.java:1889) > > at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1613) > > at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2418) > > at android.os.Handler.dispatchMessage(Handler.java:99) > > at android.os.Looper.loop(Looper.java:137) > > at android.app.ActivityThread.main(ActivityThread.java:4340) > > at java.lang.reflect.Method.invokeNative(Native Method) > > at java.lang.reflect.Method.invoke(Method.java:511) > > at com.android.internal.os.ZygoteInit > > $MethodAndArgsCaller.run(ZygoteInit.java:784) > > at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) > > at dalvik.system.NativeStart.main(Native Method) > > > Why is it still using the Hardware Renderer for the app on ICS? > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Romain Guy > Android framework engineer > [email protected] -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

