commit | a4a631ea6f1b35d3229fc83439fc88f40b964dcc | [log] [tgz] |
---|---|---|
author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | Thu Mar 07 11:17:34 2019 +0000 |
committer | Przemyslaw Szczepaniak <pszczepaniak@google.com> | Wed Mar 27 11:37:01 2019 +0000 |
tree | cfd92ad7473058e3b1d0e1906c1777502558a53b | |
parent | f81337ade404cbe3b3ff56f2fcd33564588c0b8e [diff] |
Add getLocationFlags getter to PackageManagerNative. This information is required for enforcing NNAPI Vendor Extensions restrictions in libneuralnetworks.so library. What it does is already possible using ApplicationInfo, but in native code there's no equivalent to platform private (non-exposed public), because of that I had to create getLocationFlags as an explicit API. Bug: 120483623 Test: CtsNNAPITestCases Change-Id: I0b3a5a4f3559b2d1d44088c8fa1d5bb5605c83cb