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

Commit 4f0ec345 authored by lingyan.wang's avatar lingyan.wang Committed by Steve Kondik
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 2a5da8b3
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -370,6 +370,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) {