Merge "DisplayCutout: Add support for multiple cutout emulation options"
This commit is contained in:
@@ -16,10 +16,15 @@ package android.content.om;
|
||||
|
||||
import android.os.IBinder;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.LinkedList;
|
||||
|
||||
public interface IOverlayManager {
|
||||
|
||||
public OverlayInfo getOverlayInfo(String packageName, int userId);
|
||||
|
||||
public java.util.List getOverlayInfosForTarget(java.lang.String targetPackageName, int userId);
|
||||
|
||||
public boolean setEnabled(java.lang.String packageName, boolean enable, int userId);
|
||||
|
||||
public static class Stub {
|
||||
|
@@ -14,8 +14,17 @@
|
||||
|
||||
package android.content.om;
|
||||
|
||||
import android.annotation.NonNull;
|
||||
|
||||
public class OverlayInfo {
|
||||
|
||||
public final String packageName;
|
||||
|
||||
public OverlayInfo(@NonNull String packageName, @NonNull String targetPackageName,
|
||||
@NonNull String baseCodePath, int state, int userId) {
|
||||
this.packageName = packageName;
|
||||
}
|
||||
|
||||
public boolean isEnabled() {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user