commit | 9de217a8f62a96952ec2dcfb0989cf4f7b38c920 | [log] [tgz] |
---|---|---|
author | Hai Zhang <zhanghai@google.com> | Sun Oct 18 03:59:06 2020 -0700 |
committer | Hai Zhang <zhanghai@google.com> | Sun Oct 18 04:07:05 2020 -0700 |
tree | b9a767b4d0bda96ef662283c1f1d026ab8f55195 | |
parent | f4ecc16f06663a3719afe39deb599d29ac4f2698 [diff] |
Temporary fix for PermissionInfo.FLAG_INSTALLED returned in PackageInfo. The old BasePermission implementation shared the same instance of ParsedPermission with ParsedPackage, and mutated this input by conditionally adding FLAG_INSTALLED. This is certainly not the greatest design but we need to keep it working for now, before we figure out a better solution. Fixes: 171052955 Test: manual Change-Id: Ia2c00a3b4467820e5cb1ce0c3d4ef81566926989