Making OverviewComponentObserver a singleton Bug: 384896306 Bug: 337863494 Test: Presubmit Flag: EXEMPT bugfix (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:64dcfcf0c75c3c238735cc1e9100a8b78eae9941) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bb358e2342bbdf5cce6e0afcc945852b33dde32c) Merged-In: Ic7805ee4f4eef25098ddec4025062135d03c1611 Change-Id: Ic7805ee4f4eef25098ddec4025062135d03c1611
44 lines
1.5 KiB
Java
44 lines
1.5 KiB
Java
/*
|
|
* 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.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
package com.android.quickstep.dagger;
|
|
|
|
import com.android.launcher3.dagger.LauncherAppComponent;
|
|
import com.android.launcher3.dagger.LauncherBaseAppComponent;
|
|
import com.android.launcher3.model.WellbeingModel;
|
|
import com.android.quickstep.OverviewComponentObserver;
|
|
import com.android.quickstep.SystemUiProxy;
|
|
import com.android.quickstep.util.AsyncClockEventDelegate;
|
|
|
|
/**
|
|
* Launcher Quickstep base component for Dagger injection.
|
|
*
|
|
* This class is not actually annotated as a Dagger component, since it is not used directly as one.
|
|
* Doing so generates unnecessary code bloat.
|
|
*
|
|
* See {@link LauncherAppComponent} for the one actually used.
|
|
*/
|
|
public interface QuickstepBaseAppComponent extends LauncherBaseAppComponent {
|
|
|
|
WellbeingModel getWellbeingModel();
|
|
|
|
AsyncClockEventDelegate getAsyncClockEventDelegate();
|
|
|
|
SystemUiProxy getSystemUiProxy();
|
|
|
|
OverviewComponentObserver getOverviewComponentObserver();
|
|
}
|