Added back removed ctor from DisplayEventReceiver

...because some app can't help but access hidden APIs...

Test: builds
Change-Id: Ia1d4a71b46a53b44e3ebe5844e446009785a90ac
Fixes: 62719884
This commit is contained in:
Wale Ogunwale
2017-06-19 13:53:32 -07:00
parent 65ffdba7f7
commit 71f3099c53

View File

@@ -68,6 +68,15 @@ public abstract class DisplayEventReceiver {
@FastNative
private static native void nativeScheduleVsync(long receiverPtr);
/**
* Creates a display event receiver.
*
* @param looper The looper to use when invoking callbacks.
*/
public DisplayEventReceiver(Looper looper) {
this(looper, VSYNC_SOURCE_APP);
}
/**
* Creates a display event receiver.
*