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

Commit c0e354ac authored by TheScarastic's avatar TheScarastic Committed by Sahil Sonar
Browse files

fix: add more null checks



[SahilSonar - adapted to A14]

Signed-off-by: default avatarSahilSonar <sss.sonar2003@gmail.com>
parent 128bc3eb
Loading
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -336,8 +336,10 @@ public class AddItemActivity extends BaseActivity
     */
    public void onCancelClick(View v) {
        logCommand(LAUNCHER_ADD_EXTERNAL_ITEM_CANCELLED);
        if (mSlideInView != null) {
            mSlideInView.close(/* animate= */ true);
        }
    }

    public void onPlaceAutomaticallyClick(View v) {
        onPlaceAutomaticallyClick();
@@ -401,8 +403,10 @@ public class AddItemActivity extends BaseActivity
    @Override
    public void onBackPressed() {
        logCommand(LAUNCHER_ADD_EXTERNAL_ITEM_BACK);
        if (mSlideInView != null) {
            mSlideInView.close(/* animate= */ true);
        }
    }

    @Override
    public void onActivityResult(int requestCode, int resultCode, Intent data) {