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

Skip to content
Commit 435a65b4 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Parse package before enabling unknown sources

So that when we return from the settings app we do not have distinguish
between file and content-uri based install anymore

Test: Manually went through the following workflows:
      - Install from file
	- Unknown sources is already enabled
	- Unknown sources is not enabled yet
          - Return 0 from settings
            - unknown sources was enabled
            - unknown sources was not enabled
          - Return -1 from settings
            - unknown sources was enabled
            - unknown sources was not enabled
      - Install from content URI
        - Unknown sources is already enabled
        - Unknown sources is not enabled yet
          - Return 0 from settings
            - unknown sources was enabled
            - unknown sources was not enabled
          - Return -1 from settings
            - unknown sources was enabled
            - unknown sources was not enabled
Fixes: 31328285
Change-Id: I1d23f2ba9a835f7bffc59108565b286aeb675411
parent 7d7bfe74
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment