Make BaseActivity extends ComponentActivity (#4803)
We don't have to maintain ComponentActivity like behaviors in LawnchairLauncher anymore.
This commit is contained in:
@@ -32,6 +32,7 @@ import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.window.OnBackInvokedDispatcher;
|
||||
|
||||
import androidx.activity.ComponentActivity;
|
||||
import androidx.annotation.IntDef;
|
||||
|
||||
import com.android.launcher3.DeviceProfile.OnDeviceProfileChangeListener;
|
||||
@@ -52,7 +53,7 @@ import java.util.StringJoiner;
|
||||
/**
|
||||
* Launcher BaseActivity
|
||||
*/
|
||||
public abstract class BaseActivity extends Activity implements ActivityContext {
|
||||
public abstract class BaseActivity extends ComponentActivity implements ActivityContext {
|
||||
|
||||
private static final String TAG = "BaseActivity";
|
||||
static final boolean DEBUG = false;
|
||||
|
||||
Reference in New Issue
Block a user