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

Commit f1aeec02 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Installer: Turn SecurityExpections into failures

FileInputStream(File) might throw a SecurityExpections.

Test: Built
Bug: 32554312
Change-Id: Ieae5c90e27f24dea275a2ab7d5dfcea027f92cff
parent 98edd2bb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -356,7 +356,7 @@ public class InstallInstalling extends Activity {
                }

                return session;
            } catch (IOException e) {
            } catch (IOException | SecurityException e) {
                Log.e(LOG_TAG, "Could not write package", e);

                session.close();