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: misc stubs to make FCM-toolbox launch
This commit is contained in:
@@ -463,7 +463,7 @@ public class Context extends Object {
|
||||
public ComponentName startService(Intent intent) {
|
||||
ComponentName component = intent.getComponent();
|
||||
if (component == null) {
|
||||
Slog.w(TAG, "startService: component is null");
|
||||
Slog.w(TAG, "startService: component is null for intent: " + intent);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@@ -2203,4 +2203,6 @@ public class View implements Drawable.Callback {
|
||||
public void setAccessibilityPaneTitle(CharSequence paneTitle) {}
|
||||
|
||||
public void setAccessibilityHeading(boolean heading) {}
|
||||
|
||||
public WindowInsets computeSystemWindowInsets(WindowInsets insets, Rect contentInsets) { return insets; }
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ import android.util.AttributeSet;
|
||||
* and then accelerates.
|
||||
*
|
||||
*/
|
||||
public class AccelerateInterpolator implements Interpolator {
|
||||
public class AccelerateInterpolator extends BaseInterpolator {
|
||||
private final float mFactor;
|
||||
private final double mDoubleFactor;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package android.view.animation;
|
||||
|
||||
public class DecelerateInterpolator implements Interpolator{
|
||||
public class DecelerateInterpolator extends BaseInterpolator {
|
||||
|
||||
private float factor = 1.0f;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package android.view.animation;
|
||||
|
||||
public class LinearInterpolator implements Interpolator {
|
||||
public class LinearInterpolator extends BaseInterpolator {
|
||||
|
||||
@Override
|
||||
public float getInterpolation(float input) {
|
||||
|
||||
Reference in New Issue
Block a user