summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2013-10-24 15:58:53 -0700
committerAdam Powell <adamp@google.com>2013-10-24 16:01:34 -0700
commitf3c157721260b3cfc45874fc4f613ba2bd2e7f9e (patch)
tree088dd57ba45123c4e0a7ff2d4efe69b8f57b7e08 /core/java/android
parentbe416248631c001b846297597b25be9bccc960eb (diff)
Fix bug in Scene's use of setTag
setTagInternal must be used for framework resource IDs. Bug 11374402 Change-Id: If4d256dbf05055dac70796edd8d7b94bf65d947d
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/transition/Scene.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/transition/Scene.java b/core/java/android/transition/Scene.java
index 5800bd586bd0..e1f1896f5e9d 100644
--- a/core/java/android/transition/Scene.java
+++ b/core/java/android/transition/Scene.java
@@ -57,7 +57,7 @@ public final class Scene {
com.android.internal.R.id.scene_layoutid_cache);
if (scenes == null) {
scenes = new SparseArray<Scene>();
- sceneRoot.setTag(com.android.internal.R.id.scene_layoutid_cache, scenes);
+ sceneRoot.setTagInternal(com.android.internal.R.id.scene_layoutid_cache, scenes);
}
Scene scene = scenes.get(layoutId);
if (scene != null) {