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

Commit 3420cabf authored by Wesley.CW Wang's avatar Wesley.CW Wang
Browse files

Adjust SystemUI PowerModule

 - Move PowerModule into default file

Bug: 194485451
Test: test systemui
Change-Id: I8ff6afbe4fa0937cda8affbf60c960fc102fd76a
parent 9eee7d3f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ import com.android.systemui.plugins.qs.QSFactory;
import com.android.systemui.plugins.statusbar.StatusBarStateController;
import com.android.systemui.power.EnhancedEstimates;
import com.android.systemui.power.EnhancedEstimatesImpl;
import com.android.systemui.power.dagger.PowerModule;
import com.android.systemui.qs.dagger.QSModule;
import com.android.systemui.qs.tileimpl.QSFactoryImpl;
import com.android.systemui.recents.Recents;
@@ -80,6 +81,7 @@ import dagger.Provides;
 */
@Module(includes = {
        MediaModule.class,
        PowerModule.class,
        QSModule.class
})
public abstract class SystemUIDefaultModule {
+0 −2
Original line number Diff line number Diff line
@@ -41,7 +41,6 @@ import com.android.systemui.log.dagger.LogModule;
import com.android.systemui.model.SysUiState;
import com.android.systemui.plugins.BcSmartspaceDataPlugin;
import com.android.systemui.plugins.statusbar.StatusBarStateController;
import com.android.systemui.power.dagger.PowerModule;
import com.android.systemui.recents.Recents;
import com.android.systemui.screenshot.dagger.ScreenshotModule;
import com.android.systemui.settings.dagger.SettingsModule;
@@ -102,7 +101,6 @@ import dagger.Provides;
            FalsingModule.class,
            LogModule.class,
            PeopleHubModule.class,
            PowerModule.class,
            PluginModule.class,
            ScreenshotModule.class,
            SensorModule.class,
+2 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ import com.android.systemui.plugins.qs.QSFactory;
import com.android.systemui.plugins.statusbar.StatusBarStateController;
import com.android.systemui.power.EnhancedEstimates;
import com.android.systemui.power.EnhancedEstimatesImpl;
import com.android.systemui.power.dagger.PowerModule;
import com.android.systemui.qs.dagger.QSModule;
import com.android.systemui.qs.tileimpl.QSFactoryImpl;
import com.android.systemui.recents.Recents;
@@ -81,6 +82,7 @@ import dagger.Provides;
 * overridden by the System UI implementation.
 */
@Module(includes = {
            PowerModule.class,
            QSModule.class
        },
        subcomponents = {