summaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2012-05-17 16:45:12 -0700
committerChih-Chung Chang <chihchung@google.com>2012-05-17 18:26:20 -0700
commit0b2486cff0c1b951c54325596256b986307f7f3a (patch)
tree3811b5690d8554d298f6504b362a1dcffe95fc96 /tests/src
parent0f2db4b94d2824db2e5be748924cd51fcc8b9498 (diff)
downloadandroid_packages_apps_Gallery2-0b2486cff0c1b951c54325596256b986307f7f3a.tar.gz
android_packages_apps_Gallery2-0b2486cff0c1b951c54325596256b986307f7f3a.tar.bz2
android_packages_apps_Gallery2-0b2486cff0c1b951c54325596256b986307f7f3a.zip
Use View.setSystemUiVisibility to enter/leave lights-out mode.
Bug: 6451200 Change-Id: I8e27b3e5eedfa2652f06dfc8f377c9cef8100160
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/com/android/gallery3d/ui/GLRootMock.java1
-rw-r--r--tests/src/com/android/gallery3d/ui/GLRootStub.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/src/com/android/gallery3d/ui/GLRootMock.java b/tests/src/com/android/gallery3d/ui/GLRootMock.java
index 1253e50ae..467edfc7f 100644
--- a/tests/src/com/android/gallery3d/ui/GLRootMock.java
+++ b/tests/src/com/android/gallery3d/ui/GLRootMock.java
@@ -41,4 +41,5 @@ public class GLRootMock implements GLRoot {
public Matrix getCompensationMatrix() { return null; }
public void freeze() {}
public void unfreeze() {}
+ public void setLightsOutMode(boolean enabled) {}
}
diff --git a/tests/src/com/android/gallery3d/ui/GLRootStub.java b/tests/src/com/android/gallery3d/ui/GLRootStub.java
index 5c88c47ec..0f3a00164 100644
--- a/tests/src/com/android/gallery3d/ui/GLRootStub.java
+++ b/tests/src/com/android/gallery3d/ui/GLRootStub.java
@@ -34,4 +34,5 @@ public class GLRootStub implements GLRoot {
public Matrix getCompensationMatrix() { return null; }
public void freeze() {}
public void unfreeze() {}
+ public void setLightsOutMode(boolean enabled) {}
}