I check the SDK INT to be above 10 before setting the flag. Galaxy Tab 7 ignores it and HTC EVO 3D is garbled.
On Apr 4, 8:05 am, Greg <miyamo...@gmail.com> wrote: > So after seeing this work in the wild a bit, it seems like some phones > actually corrupt the view when they see this flag. I don't see it as part > of the compatibility doc for vendors so I doubt they test it well. On the > DroidX, I have seen the screen get drawn totally incorrectly (different per > version of Android) and in some Samsung roms the entire window is > corrupted. This doesn't seem to be something in the compatibility docs for > vendors. Is this just for ICS and forward? It has existed since 1.0 it > seems. > > -Greg > > > > > > > > On Thursday, January 12, 2012 9:04:15 AM UTC-8, Romain Guy (Google) wrote: > > > Add this flag to your window in onCreate(): > > >http://developer.android.com/reference/android/view/WindowManager.Lay... > > > On Thu, Jan 12, 2012 at 1:48 AM, Michael Banzon <mich...@banzon.dk> wrote: > > > On Thu, Jan 12, 2012 at 10:13 AM, Tom Uhl <tuhl...@gmail.com> wrote: > > >> Is there a way for an app to disable the new built-in-screenshot > > >> function in ICS? > > > > I don't think there is. If there is - I'm guessing you're trying to > > > "protect" something - please keep in mind that the user can also grab > > > screenshots through USB-debugging or through HDMI. > > > > -- > > > Michael Banzon > > >http://michaelbanzon.com/ > > > > -- > > > You received this message because you are subscribed to the Google > > > Groups "Android Developers" group. > > > To post to this group, send email to android-developers@googlegroups.com > > > To unsubscribe from this group, send email to > > > android-developers+unsubscr...@googlegroups.com > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > > -- > > Romain Guy > > Android framework engineer > > romain...@android.com > > On Thursday, January 12, 2012 9:04:15 AM UTC-8, Romain Guy (Google) wrote: > > > Add this flag to your window in onCreate(): > > >http://developer.android.com/reference/android/view/WindowManager.Lay... > > > On Thu, Jan 12, 2012 at 1:48 AM, Michael Banzon <mich...@banzon.dk> wrote: > > > On Thu, Jan 12, 2012 at 10:13 AM, Tom Uhl <tuhl...@gmail.com> wrote: > > >> Is there a way for an app to disable the new built-in-screenshot > > >> function in ICS? > > > > I don't think there is. If there is - I'm guessing you're trying to > > > "protect" something - please keep in mind that the user can also grab > > > screenshots through USB-debugging or through HDMI. > > > > -- > > > Michael Banzon > > >http://michaelbanzon.com/ > > > > -- > > > You received this message because you are subscribed to the Google > > > Groups "Android Developers" group. > > > To post to this group, send email to android-developers@googlegroups.com > > > To unsubscribe from this group, send email to > > > android-developers+unsubscr...@googlegroups.com > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > > -- > > Romain Guy > > Android framework engineer > > romain...@android.com > > On Thursday, January 12, 2012 9:04:15 AM UTC-8, Romain Guy (Google) wrote: > > > Add this flag to your window in onCreate(): > > >http://developer.android.com/reference/android/view/WindowManager.Lay... > > > On Thu, Jan 12, 2012 at 1:48 AM, Michael Banzon <mich...@banzon.dk> wrote: > > > On Thu, Jan 12, 2012 at 10:13 AM, Tom Uhl <tuhl...@gmail.com> wrote: > > >> Is there a way for an app to disable the new built-in-screenshot > > >> function in ICS? > > > > I don't think there is. If there is - I'm guessing you're trying to > > > "protect" something - please keep in mind that the user can also grab > > > screenshots through USB-debugging or through HDMI. > > > > -- > > > Michael Banzon > > >http://michaelbanzon.com/ > > > > -- > > > You received this message because you are subscribed to the Google > > > Groups "Android Developers" group. > > > To post to this group, send email to android-developers@googlegroups.com > > > To unsubscribe from this group, send email to > > > android-developers+unsubscr...@googlegroups.com > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > > -- > > Romain Guy > > Android framework engineer > > romain...@android.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en