DisplayCutout: Add emulation option to DeveloperSettings
Bug: 65689439 Test: Go to Developer Settings > Toggle "Emulate display with a cutout" Change-Id: Id3387c026df9868d42e0a7b0d7e623115f41452b
This commit is contained in:
@@ -16,7 +16,11 @@ package android.content.om;
|
||||
|
||||
import android.os.IBinder;
|
||||
|
||||
public class IOverlayManager {
|
||||
public interface IOverlayManager {
|
||||
|
||||
public OverlayInfo getOverlayInfo(String packageName, int userId);
|
||||
|
||||
public boolean setEnabled(java.lang.String packageName, boolean enable, int userId);
|
||||
|
||||
public static class Stub {
|
||||
public static IOverlayManager asInterface(IBinder b) {
|
||||
|
@@ -15,4 +15,9 @@
|
||||
package android.content.om;
|
||||
|
||||
public class OverlayInfo {
|
||||
}
|
||||
|
||||
public boolean isEnabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user