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

Commit 18dee077 authored by Yalan Yiue's avatar Yalan Yiue Committed by Nick Chameyev
Browse files

Revert "Fix duplicate dagger binding of MediaProjectionAppSelect..."

Revert submission 24195703-fix-dup-binding-media-proj-activity

Reason for revert: b/293589247

Reverted changes: /q/submissionid:24195703-fix-dup-binding-media-proj-activity

Change-Id: I957890b825e0269b0cfd67477a55b948d0fe1f2a
parent 36d7fcd6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ class MediaProjectionAppSelectorActivity(
    override fun getLayoutResource() = R.layout.media_projection_app_selector

    public override fun onCreate(bundle: Bundle?) {
        component = componentFactory.create(view = this, resultHandler = this)
        component = componentFactory.create(activity = this, view = this, resultHandler = this)
        component.lifecycleObservers.forEach { lifecycle.addObserver(it) }

        // Create a separate configuration controller for this activity as the configuration
+1 −0
Original line number Diff line number Diff line
@@ -161,6 +161,7 @@ interface MediaProjectionAppSelectorComponent {
    interface Factory {
        /** Create a factory to inject the activity into the graph */
        fun create(
            @BindsInstance activity: MediaProjectionAppSelectorActivity,
            @BindsInstance view: MediaProjectionAppSelectorView,
            @BindsInstance resultHandler: MediaProjectionAppSelectorResultHandler,
        ): MediaProjectionAppSelectorComponent