Merge "Use the new per UID app op APIs for legacy permissions." into mnc-dev