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

Skip to content
Commit 02d8a7c5 authored by Przemyslaw Szczepaniak's avatar Przemyslaw Szczepaniak
Browse files

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
Merged-In: I0b3a5a4f3559b2d1d44088c8fa1d5bb5605c83cb
(cherry picked from commit a4a631ea)
parent 13078345
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment