add APIs needed for non legacy NewPipe version

This commit is contained in:
Julian Winkler
2023-09-12 23:18:47 +02:00
parent 399cf87254
commit f5fc993484
78 changed files with 2458 additions and 147 deletions

View File

@@ -1,5 +1,6 @@
package android.view;
import android.graphics.Point;
import android.util.DisplayMetrics;
public final class Display {
@@ -54,4 +55,8 @@ public final class Display {
public long getPresentationDeadlineNanos() {
return 0; // what else...
}
public void getSize(Point size) {
size.set(getWidth(), getHeight());
}
}