diff options
Diffstat (limited to 'src/com/android/providers/downloads/SystemFacade.java')
-rw-r--r-- | src/com/android/providers/downloads/SystemFacade.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/providers/downloads/SystemFacade.java b/src/com/android/providers/downloads/SystemFacade.java index 15fc31f9..83fc7a63 100644 --- a/src/com/android/providers/downloads/SystemFacade.java +++ b/src/com/android/providers/downloads/SystemFacade.java @@ -61,4 +61,9 @@ interface SystemFacade { * Returns true if the specified UID owns the specified package name. */ public boolean userOwnsPackage(int uid, String pckg) throws NameNotFoundException; + + /** + * Returns true if cleartext network traffic is permitted for the specified UID. + */ + public boolean isCleartextTrafficPermitted(int uid); } |