Actually in making a minimal example to send to you I found out that if permission hasn't been granted then Display.execute MUST be on the EDT, once permission has been granted it doesn't matter which thread its called on. This is probably related to those lines that you highlighted but presents an obvious workaround using callSerially which I'll use for now.
On Thursday, July 20, 2017 at 4:30:45 PM UTC+12, Shai Almog wrote: > > I'm guessing it's failing because of these lines but I have no idea why: > https://github.com/codenameone/CodenameOne/blob/dd5bcfa86172e0765f6b13e93ee85ed295925b4e/Ports/Android/src/com/codename1/impl/android/AndroidImplementation.java#L2525-L2527 > > Can you generate an isolated test case I can reproduce? > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/4713cc4f-a5cc-4f34-b3dd-42b6d2537c32%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
