Skip to content

Android Sample app problem with Leaked Window when Permission request is refused #57

@wonderfly

Description

@wonderfly

From cumis...@gmail.com on December 30, 2011 13:40:09

Affects: all versions of google-http-java-client (problem is with the sample apps)

Java environment (Android 4.x)

when you start the sample Android app the account picker dialog is displayed as usual. If you select an account and then pick 'No, thanks' at the Account Manager generated Permission Request dialog the app crashes with a leaked window. If you select 'Allow access' the app proceeds as designed.

It looks like the app is failing when trying to redisplay the account picker dialog. It's not an API bug but a problem with the sample app. Here is my LogCat of the failure:

LogCat showing problem is attached.

Attachment: log.txt

Original issue: http://code.google.com/p/google-http-java-client/issues/detail?id=57

Metadata

Metadata

Labels

🚨This issue needs some love.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions