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

Commit 95c846dd authored by Stefan Andonian's avatar Stefan Andonian Committed by Automerger Merge Worker
Browse files

Merge "Move ViewCapture On/Off controls to QuickSettings Tile." into...

Merge "Move ViewCapture On/Off controls to QuickSettings Tile." into tm-qpr-dev am: 27f57685 am: 07152196

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20946625



Change-Id: I125af02fc415f02743abf909b865bdb8a9846147
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 6ce11592 07152196
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@ package com.android.systemui.motiontool
import android.view.WindowManagerGlobal
import com.android.app.motiontool.DdmHandleMotionTool
import com.android.app.motiontool.MotionToolManager
import com.android.app.viewcapture.ViewCapture
import com.android.systemui.CoreStartable
import dagger.Binds
import dagger.Module
@@ -38,17 +37,12 @@ interface MotionToolModule {
        }

        @Provides
        fun provideMotionToolManager(
            viewCapture: ViewCapture,
            windowManagerGlobal: WindowManagerGlobal
        ): MotionToolManager {
            return MotionToolManager.getInstance(viewCapture, windowManagerGlobal)
        fun provideMotionToolManager(windowManagerGlobal: WindowManagerGlobal): MotionToolManager {
            return MotionToolManager.getInstance(windowManagerGlobal)
        }

        @Provides
        fun provideWindowManagerGlobal(): WindowManagerGlobal = WindowManagerGlobal.getInstance()

        @Provides fun provideViewCapture(): ViewCapture = ViewCapture.getInstance()
    }

    @Binds