summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGalia Peycheva <galinap@google.com>2020-04-15 10:50:38 +0200
committerGalia Peycheva <galinap@google.com>2020-04-15 11:51:09 +0200
commit84729730e159593d8b63d72724b79dd49aa1b5c6 (patch)
treedca1659251420b19796fb0202b66b28e819722b6
parent953f2a729c75c81c092fe4738b2b64b7f50aa4d6 (diff)
downloadBasic-84729730e159593d8b63d72724b79dd49aa1b5c6.tar.gz
The DreamService takes care of removing the system bars when the dream is active. Low profile is being deprecated. Bug: 151749301 Test: m && flash && atest DreamManagerServiceTests && manually check that system bars are hidden when dream is active Change-Id: I0c446ad987dcf9c66afe7bec712c0e024ac4ea45
-rw-r--r--Android.bp2
-rw-r--r--src/com/android/dreams/basic/Colors.java1
2 files changed, 1 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index c9a65a8..7381271 100644
--- a/Android.bp
+++ b/Android.bp
@@ -2,5 +2,5 @@ android_app {
name: "BasicDreams",
// Only compile source java files in this apk.
srcs: ["src/**/*.java"],
- platform_apis: true,
+ sdk_version: "current",
}
diff --git a/src/com/android/dreams/basic/Colors.java b/src/com/android/dreams/basic/Colors.java
index 9a75146..d30c174 100644
--- a/src/com/android/dreams/basic/Colors.java
+++ b/src/com/android/dreams/basic/Colors.java
@@ -67,7 +67,6 @@ public class Colors extends DreamService implements SurfaceHolder.Callback {
public void onAttachedToWindow() {
super.onAttachedToWindow();
setInteractive(false);
- setLowProfile(true);
setFullscreen(true);
setContentView(mSurfaceView);
}