You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
add more APIs needed for NewPipe
This commit is contained in:
@@ -1,10 +1,24 @@
|
||||
package android.view;
|
||||
|
||||
public class WindowManagerImpl implements WindowManager {
|
||||
public class WindowManagerImpl implements WindowManager, ViewManager {
|
||||
public android.view.Display getDefaultDisplay() {
|
||||
return new android.view.Display();
|
||||
}
|
||||
|
||||
public class LayoutParams {
|
||||
@Override
|
||||
public void addView(View view, android.view.ViewGroup.LayoutParams params) {
|
||||
System.out.println("WindowManagerImpl.addView(" + view + ", " + params + ") called");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateViewLayout(View view, android.view.ViewGroup.LayoutParams params) {
|
||||
// TODO Auto-generated method stub
|
||||
throw new UnsupportedOperationException("Unimplemented method 'updateViewLayout'");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeView(View view) {
|
||||
// TODO Auto-generated method stub
|
||||
throw new UnsupportedOperationException("Unimplemented method 'removeView'");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user