Commit 2fea2c6
committed
InstallStart: trust play store in work profile
When a work profile with play services gets created Play Store can't
install any apps
as the work profile may have a policy active to forbid unknown sources
as it is not
aware that play store is not a system app and gets blocked by that
policy.
Here we detect if the play store is genuine and is trying to install an
app
in a work profile. If that is the case we allow it to proceed, despite
not being a1 parent 399a194 commit 2fea2c6
File tree
1 file changed
+18
-1
lines changed- packages/PackageInstaller/src/com/android/packageinstaller
1 file changed
+18
-1
lines changedLines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
160 | 162 | | |
161 | 163 | | |
162 | 164 | | |
163 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
164 | 181 | | |
165 | 182 | | |
166 | 183 | | |
| |||
0 commit comments