Fixed getUidsWithPolicy().
UID polices are stored as flag, but getUidsWithPolicy() was checking for
their exact values.
Test: m -j32 FrameworksServicesTests && adb install -r -g ${ANDROID_PRODUCT_OUT}/data/app/FrameworksServicesTests/FrameworksServicesTests.apk && adb shell am instrument -e class "com.android.server.NetworkPolicyManagerServiceTest" -w "com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner"
BUG: 28791717
Change-Id: I923b4f63636a32e42cadda5bbb59268267e899c0
3 files changed