diff options
author | Deepanshu Gupta <deepanshu@google.com> | 2014-11-11 17:17:02 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-11-11 17:17:02 +0000 |
commit | 5ad9b395db341b3360d481039f152f8ce1d8360c (patch) | |
tree | 4dc4e82f4468d93abc47abd0d59581438c192d4e /tools | |
parent | ad6455721e1257054f2ca4334d2578129429e3b6 (diff) | |
parent | a44fdb9e216810ba62f20c1b4571ebc240931efa (diff) | |
download | frameworks_base-5ad9b395db341b3360d481039f152f8ce1d8360c.zip frameworks_base-5ad9b395db341b3360d481039f152f8ce1d8360c.tar.gz frameworks_base-5ad9b395db341b3360d481039f152f8ce1d8360c.tar.bz2 |
am a44fdb9e: Merge "Don\'t skip loading object animator." into lmp-dev
* commit 'a44fdb9e216810ba62f20c1b4571ebc240931efa':
Don't skip loading object animator.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/layoutlib/bridge/src/android/animation/AnimatorInflater_Delegate.java | 2 | ||||
-rw-r--r-- | tools/layoutlib/create/src/com/android/tools/layoutlib/create/DelegateClassAdapter.java | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/layoutlib/bridge/src/android/animation/AnimatorInflater_Delegate.java b/tools/layoutlib/bridge/src/android/animation/AnimatorInflater_Delegate.java index d8a6ffc..4475fa4 100644 --- a/tools/layoutlib/bridge/src/android/animation/AnimatorInflater_Delegate.java +++ b/tools/layoutlib/bridge/src/android/animation/AnimatorInflater_Delegate.java @@ -54,6 +54,6 @@ public class AnimatorInflater_Delegate { /*package*/ static ValueAnimator loadAnimator(Resources res, Theme theme, AttributeSet attrs, ValueAnimator anim, float pathErrorScale) throws NotFoundException { - return anim; + return AnimatorInflater.loadAnimator_Original(res, theme, attrs, anim, pathErrorScale); } } diff --git a/tools/layoutlib/create/src/com/android/tools/layoutlib/create/DelegateClassAdapter.java b/tools/layoutlib/create/src/com/android/tools/layoutlib/create/DelegateClassAdapter.java index 3d89c68..ae4a57d 100644 --- a/tools/layoutlib/create/src/com/android/tools/layoutlib/create/DelegateClassAdapter.java +++ b/tools/layoutlib/create/src/com/android/tools/layoutlib/create/DelegateClassAdapter.java @@ -112,6 +112,7 @@ public class DelegateClassAdapter extends ClassVisitor { // The implementation of this 'delegate' method is done in layoutlib_bridge. int accessDelegate = access; + access = access & ~Opcodes.ACC_PRIVATE; // If private, make it package protected. MethodVisitor mwOriginal = super.visitMethod(access, name + ORIGINAL_SUFFIX, desc, signature, exceptions); |