Skip to content

Commit

Permalink
drop lazy initialization for TunePlayer
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Oct 1, 2022
1 parent f80c91f commit b9467b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/app/grapheneos/camera/CamConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ class CamConfig(private val mActivity: MainActivity) {

var iAnalyzer: ImageAnalysis? = null

val mPlayer: TunePlayer by lazy { TunePlayer(mActivity) }
val mPlayer = TunePlayer(mActivity)

// note that Activities which implement SecureActivity interface (meaning they are accessible
// from the lock screen) are forced to override getSharedPreferences()
Expand Down

0 comments on commit b9467b3

Please sign in to comment.