Bug 844275 - Move the GfxInfoThread so that it is guaranteed to run to completion before compositor creation. r=Cwiiis
This commit is contained in:
@@ -156,8 +156,6 @@ public class GeckoAppShell
|
||||
|
||||
private static Handler sGeckoHandler;
|
||||
|
||||
public static GfxInfoThread sGfxInfoThread = null;
|
||||
|
||||
static ActivityHandlerHelper sActivityHelper = new ActivityHandlerHelper();
|
||||
|
||||
/* The Android-side API: API methods that Android calls */
|
||||
@@ -2176,9 +2174,7 @@ public class GeckoAppShell
|
||||
}
|
||||
|
||||
public static String getGfxInfoData() {
|
||||
String data = sGfxInfoThread.getData();
|
||||
sGfxInfoThread = null;
|
||||
return data;
|
||||
return GfxInfoThread.getData();
|
||||
}
|
||||
|
||||
public static void registerSurfaceTextureFrameListener(Object surfaceTexture, final int id) {
|
||||
|
||||
Reference in New Issue
Block a user