You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
api-impl: add stubs for WhatsApp forwarding Activity
This commit is contained in:
@@ -9,4 +9,10 @@ public class LayoutTransition {
|
||||
public void setAnimator(int transitionType, Animator animator) {}
|
||||
|
||||
public void setDuration(long duration) {}
|
||||
|
||||
public Animator getAnimator(int transitionType) { return null; }
|
||||
|
||||
public void setDuration(int transitionType, long duration) {}
|
||||
|
||||
public void setInterpolator(int transitionType, TimeInterpolator interpolator) {}
|
||||
}
|
||||
|
||||
@@ -2231,4 +2231,6 @@ public class View implements Drawable.Callback {
|
||||
public void buildDrawingCache(boolean autoScale) {}
|
||||
|
||||
public Bitmap getDrawingCache() { return null; }
|
||||
|
||||
public void announceForAccessibility(CharSequence text) {}
|
||||
}
|
||||
|
||||
@@ -240,6 +240,8 @@ public class ViewGroup extends View implements ViewParent, ViewManager {
|
||||
}
|
||||
|
||||
public LayoutTransition getLayoutTransition() {
|
||||
if (transition == null)
|
||||
transition = new LayoutTransition();
|
||||
return transition;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user