Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e48319ab authored by Tracy Zhou's avatar Tracy Zhou Committed by Android (Google) Code Review
Browse files

Merge "Move KeyButtonRipple to systemui/shared" into main

parents cddc3042 429d6234
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
/*
 * Copyright (C) 2020 The Android Open Source Project
 * Copyright (C) 2024 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
 * limitations under the License.
 */

package com.android.systemui.navigationbar.buttons;
package com.android.systemui.shared.navigationbar;

import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
@@ -125,7 +125,7 @@ public class KeyButtonRipple extends Drawable {
    /**
     *  @param onInvisibleRunnable run after we are next drawn invisibly. Only used once.
     */
    void setOnInvisibleRunnable(Runnable onInvisibleRunnable) {
    public void setOnInvisibleRunnable(Runnable onInvisibleRunnable) {
        mOnInvisibleRunnable = onInvisibleRunnable;
    }

+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ import android.widget.ImageView;

import androidx.annotation.DimenRes;

import com.android.systemui.navigationbar.buttons.KeyButtonRipple;
import com.android.systemui.shared.navigationbar.KeyButtonRipple;

public class FloatingRotationButtonView extends ImageView {

+1 −0
Original line number Diff line number Diff line
@@ -61,6 +61,7 @@ import com.android.systemui.Dependency;
import com.android.systemui.assist.AssistManager;
import com.android.systemui.recents.OverviewProxyService;
import com.android.systemui.res.R;
import com.android.systemui.shared.navigationbar.KeyButtonRipple;
import com.android.systemui.shared.system.QuickStepContract;

public class KeyButtonView extends ImageView implements ButtonInterface {