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

Commit e053d115 authored by lingyan.wang's avatar lingyan.wang Committed by Gerrit Code Review
Browse files

printspooler: Print view crash.

1.put a txt file into device.
2.Go to File Manager->long press the txt file->Print->Long press home key->Clear all
3.Go to File Manager->long press the txt file->Print

The result: Print view crash.

Change-Id: I46a71b8e1196f69b6b40f38b418a88d794918429
parent 0f21bc04
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -365,6 +365,12 @@ public class PrintActivity extends Activity implements RemotePrintDocument.Updat
        super.onPause();
    }

    @Override
    protected void onDestroy() {
        doFinish();
        super.onDestroy();
    }

    @Override
    public boolean onKeyDown(int keyCode, KeyEvent event) {
        if (keyCode == KeyEvent.KEYCODE_BACK) {