api-impl: misc stubs to make FCM-toolbox launch

This commit is contained in:
Julian Winkler 2025-04-21 11:11:16 +02:00
parent 5de2c27abf
commit cff51b230b
5 changed files with 6 additions and 4 deletions

View file

@ -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;
}

View file

@ -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; }
}

View file

@ -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;

View file

@ -1,6 +1,6 @@
package android.view.animation;
public class DecelerateInterpolator implements Interpolator{
public class DecelerateInterpolator extends BaseInterpolator {
private float factor = 1.0f;

View file

@ -1,6 +1,6 @@
package android.view.animation;
public class LinearInterpolator implements Interpolator {
public class LinearInterpolator extends BaseInterpolator {
@Override
public float getInterpolation(float input) {