mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 710328 - null pointer when attaching android idle handler r=mfinkle a=java-only
This commit is contained in:
parent
9621783f9f
commit
b45af436d9
@ -902,7 +902,11 @@ abstract public class GeckoApp
|
||||
setLaunchState(GeckoApp.LaunchState.GeckoRunning);
|
||||
GeckoAppShell.sendPendingEventsToGecko();
|
||||
connectGeckoLayerClient();
|
||||
Looper.myQueue().addIdleHandler(new UpdateIdleHandler());
|
||||
GeckoAppShell.getHandler().post(new Runnable() {
|
||||
public void run() {
|
||||
Looper.myQueue().addIdleHandler(new UpdateIdleHandler());
|
||||
}
|
||||
});
|
||||
} else if (event.equals("ToggleChrome:Hide")) {
|
||||
mMainHandler.post(new Runnable() {
|
||||
public void run() {
|
||||
|
Loading…
Reference in New Issue
Block a user