Skip to content

Commit

Permalink
Format: Removed some "::class" operators
Browse files Browse the repository at this point in the history
Might come and bit me back
  • Loading branch information
Iamlooker committed Jan 1, 2025
1 parent ef5b8c2 commit 8814baf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions app/src/main/kotlin/com/looker/droidify/ScreenActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.widget.Toolbar
import androidx.core.view.WindowCompat
import androidx.fragment.app.Fragment
import androidx.fragment.app.PredictiveBackControl
import androidx.fragment.app.commit
import androidx.lifecycle.lifecycleScope
import com.looker.core.common.DeeplinkType
Expand Down Expand Up @@ -153,6 +154,11 @@ abstract class ScreenActivity : AppCompatActivity() {
backHandler()
}

override fun onDestroy() {
super.onDestroy()
onBackPressedCallback = null
}

override fun onSaveInstanceState(outState: Bundle) {
super.onSaveInstanceState(outState)
outState.putParcelableArrayList(STATE_FRAGMENT_STACK, ArrayList(fragmentStack))
Expand Down Expand Up @@ -254,9 +260,8 @@ abstract class ScreenActivity : AppCompatActivity() {
lifecycleScope.launch { installer install installItem }
}
}
Unit
}
}::class
}
}

open fun handleIntent(intent: Intent?) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ class SyncService : ConnectionService<SyncService.Binder>() {
}

is State.Finish -> {}
}::class
}
}.build()
)
}
Expand Down

0 comments on commit 8814baf

Please sign in to comment.