summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2016-07-27 21:14:11 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-07-27 21:14:12 +0000
commitaa54b4e0da675439c969b1da5ad918b8da5b944a (patch)
treed2d1c64c263607d258043f9846fe431b814d209a /libs
parent4f0d7aad58ec1f5d0bc0e9ac1b3ee327a32426cc (diff)
parent7c7052dd9bbfb2d98112975f7cbd2655212bf85b (diff)
downloadandroid-frameworks-base-aa54b4e0da675439c969b1da5ad918b8da5b944a.tar.gz
android-frameworks-base-aa54b4e0da675439c969b1da5ad918b8da5b944a.tar.xz
Merge "Run animation *after* property sync" into nyc-mr1-dev
Diffstat (limited to 'libs')
-rw-r--r--libs/hwui/VectorDrawable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/VectorDrawable.h b/libs/hwui/VectorDrawable.h
index e67dfdd..a0c3d9d 100644
--- a/libs/hwui/VectorDrawable.h
+++ b/libs/hwui/VectorDrawable.h
@@ -678,6 +678,7 @@ public:
TreeProperties* mutateProperties() { return &mProperties; }
// This should always be called from RT.
+ void markDirty() { mCache.dirty = true; }
bool isDirty() const { return mCache.dirty; }
bool getPropertyChangeWillBeConsumed() const { return mWillBeConsumed; }
void setPropertyChangeWillBeConsumed(bool willBeConsumed) { mWillBeConsumed = willBeConsumed; }