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

Commit d29dfb08 authored by Aayush Gupta's avatar Aayush Gupta
Browse files

XAPK: InstallSplitApksActivity: Remove unnecssary null-check on non-null receiver



w: /builds/e/apps/apps/app/src/main/java/foundation/e/apps/XAPK/InstallSplitApksActivity.kt: (83, 20): Unnecessary non-null assertion (!!) on a non-null receiver of type PackageInstaller.Session

Signed-off-by: Aayush Gupta's avatarAayush Gupta <theimpulson@e.email>
parent 697b238b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ class InstallSplitApksActivity : BaseActivity() {
            val pendingIntent = PendingIntent.getActivity(mActivity, 0, intent, 0)
            val statusReceiver = pendingIntent.intentSender
            // Commit the session (this will start the installation workflow).
            session!!.commit(statusReceiver)
            session.commit(statusReceiver)
            finish()
        } catch (e: IOException) {
            e.printStackTrace()