On Thu, Jun 17, 2010 at 7:12 AM, Greg Giacovelli <[email protected]>wrote:
> I understand "don't do this"... trust me I don't want to, but it > doesn't answer the question if it will work in a market app. > It means "don't do this." That means "this won't work," or at the very least "expect your app to break in random ways at random times because you are very obviously using private APIs in it." > The rationale behind it, is that the rendering implementations between > 1.5 and newer versions forward have a minor change with a large impact > with regards to Z ordering. Which change is that? > Since bug fixes aren't back ported there > needs to be some way to intercept the call and correct it. You can't. > I > understand it's fragile however it's only meant to support 1.5, which > as much as it gets neglected, still has a decent amount of people > using it. We use a wrapper around WindowSession to correct the Z > ordering on calls to relayout(). > You don't know what that interface may look like. The standard open-source platform has a particular definition -- but even that can change as the platform is patched, and any device manufacturer can change it however they'd like. > Again, trust me, the fragility is known. However a better rationale > is, that when this app, that as you said "will likely break," ... > breaks, it would be assumed that support for the broken version of the > OS would also be dropped ;) > How about we stepping back a bit and we can talk about what the problem is you are trying to solve, to see if there is another better way to do it? -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

