summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorI-Jui (Ray) Sung <ijsung@google.com>2017-04-27 14:28:04 -0700
committerI-Jui (Ray) Sung <ijsung@google.com>2017-04-27 14:28:04 -0700
commit23d766313efd7c5b5cc7e58b4898992ddd363363 (patch)
tree62dbb9277da9c8a716e05e00a1e4009e0494fbbf
parent8467325c6d80de30bb86b7665cc41dff0c276e8d (diff)
downloadrs-23d766313efd7c5b5cc7e58b4898992ddd363363.tar.gz
Fix crashing VrDemo by removing obsolete code
There was a line in VrView.java that would throw exception past API 23 per hoford@. On top of that, the line never did anything. This CL removed that offending line and fixed the crashing problem. Bug: b/37719569 Test: mm Test: interact with the VrDemo app with and without debug context Change-Id: Iba374383cf4563e15721bec62835291a36548b99
-rw-r--r--tests/java_api/VrDemo/src/com/example/android/rs/vr/VrView.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/java_api/VrDemo/src/com/example/android/rs/vr/VrView.java b/tests/java_api/VrDemo/src/com/example/android/rs/vr/VrView.java
index b4ce67a1..847c50f9 100644
--- a/tests/java_api/VrDemo/src/com/example/android/rs/vr/VrView.java
+++ b/tests/java_api/VrDemo/src/com/example/android/rs/vr/VrView.java
@@ -115,7 +115,6 @@ public class VrView extends TextureView {
}
private void setup(Context context) {
- setBackgroundColor(Color.BLACK);
if (isInEditMode()) {
return;
}