summaryrefslogtreecommitdiffstats
path: root/tools/layoutlib
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2015-07-09 20:19:41 -0700
committerSvetoslav <svetoslavganov@google.com>2015-07-09 20:22:23 -0700
commit2bb3842a06af972888b83088a81258b237ee7bd9 (patch)
tree7504f557656427a58c9f68a52b009eb281306222 /tools/layoutlib
parentfede4258fa1bf880c2b88ebea3c886003662fc74 (diff)
downloadframeworks_base-2bb3842a06af972888b83088a81258b237ee7bd9.zip
frameworks_base-2bb3842a06af972888b83088a81258b237ee7bd9.tar.gz
frameworks_base-2bb3842a06af972888b83088a81258b237ee7bd9.tar.bz2
Fix build
Change-Id: I1b56c07aa5b85662f25158156d2c0eff115e9544
Diffstat (limited to 'tools/layoutlib')
-rw-r--r--tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
index 401f0bb..db67568 100644
--- a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
+++ b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePackageManager.java
@@ -52,7 +52,6 @@ import android.net.Uri;
import android.os.Handler;
import android.os.UserHandle;
import android.os.storage.VolumeInfo;
-
import java.util.List;
/**
@@ -167,6 +166,11 @@ public class BridgePackageManager extends PackageManager {
return 0;
}
+ @Overide
+ public boolean isPermissionRevokedByPolicy(String permName, String pkgName) {
+ return false;
+ }
+
@Override
public boolean addPermission(PermissionInfo info) {
return false;