summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-10-04 14:57:44 -0700
committerJeff Brown <jeffbrown@google.com>2012-10-04 14:58:43 -0700
commit3f2ba6220bf74cb5157d6fafee9c76f526acea68 (patch)
treea25d46240ce7374e7623a3dfd4f45983f346c949
parent645832dd2ba63d5328cf934ceaa0ec6339573558 (diff)
downloadframeworks_base-3f2ba6220bf74cb5157d6fafee9c76f526acea68.zip
frameworks_base-3f2ba6220bf74cb5157d6fafee9c76f526acea68.tar.gz
frameworks_base-3f2ba6220bf74cb5157d6fafee9c76f526acea68.tar.bz2
Fix parceling of display info flags.
Bug: 7283429 Change-Id: I5365a3b06d9b9f2414f9a9d2c94b0906c41b4ece
-rw-r--r--core/java/android/view/DisplayInfo.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/DisplayInfo.java b/core/java/android/view/DisplayInfo.java
index fe05634..fb04150 100644
--- a/core/java/android/view/DisplayInfo.java
+++ b/core/java/android/view/DisplayInfo.java
@@ -233,7 +233,7 @@ public final class DisplayInfo implements Parcelable {
@Override
public void writeToParcel(Parcel dest, int flags) {
dest.writeInt(layerStack);
- dest.writeInt(flags);
+ dest.writeInt(this.flags);
dest.writeString(name);
dest.writeInt(appWidth);
dest.writeInt(appHeight);