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
......@@ -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()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment