summaryrefslogtreecommitdiffstats
path: root/test-runner
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2013-06-11 07:53:06 -0700
committerCraig Mautner <cmautner@google.com>2013-06-22 15:30:13 -0700
commit48d0d1886731ff19ed3fb47a5997be5df0d1bba8 (patch)
tree5e0b5e9bc6899bf5c772a4ebab5b8df4015411cd /test-runner
parentb1c5945a5598263fe63f3d665f575ba736eb26d2 (diff)
downloadframeworks_base-48d0d1886731ff19ed3fb47a5997be5df0d1bba8.zip
frameworks_base-48d0d1886731ff19ed3fb47a5997be5df0d1bba8.tar.gz
frameworks_base-48d0d1886731ff19ed3fb47a5997be5df0d1bba8.tar.bz2
Add activity token to display system.
First step in adding activity specific information to displays. Replace CompatibilityInfoHolder with DisplayAdjustmentsHolder that holds an activity token in addition to the CompatibilityInfo. Change-Id: Ie113cd8dd9c62e0b5311204e039a4829096bea68
Diffstat (limited to 'test-runner')
-rw-r--r--test-runner/src/android/test/mock/MockContext.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test-runner/src/android/test/mock/MockContext.java b/test-runner/src/android/test/mock/MockContext.java
index 29d6e4d..44077ae 100644
--- a/test-runner/src/android/test/mock/MockContext.java
+++ b/test-runner/src/android/test/mock/MockContext.java
@@ -39,7 +39,7 @@ import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.os.UserHandle;
-import android.view.CompatibilityInfoHolder;
+import android.view.DisplayAdjustments;
import android.view.Display;
import java.io.File;
@@ -574,7 +574,7 @@ public class MockContext extends Context {
/** @hide */
@Override
- public CompatibilityInfoHolder getCompatibilityInfo(int displayId) {
+ public DisplayAdjustments getDisplayAdjustments(int displayId) {
throw new UnsupportedOperationException();
}
}