aboutsummaryrefslogtreecommitdiffstats
path: root/cm/lib/main/java/org
diff options
context:
space:
mode:
authorAdnan Begovic <adnan@cyngn.com>2015-05-05 17:37:05 -0700
committerAdnan Begovic <adnan@cyngn.com>2015-05-12 17:40:49 -0700
commit37fc76fe96174402cdfbf02cf228639083c26bf7 (patch)
treeee77e9ce89f57e6e9f2f75a78f944d2336b92efd /cm/lib/main/java/org
parent8206b1352b28f06b451d7db58879b28bead547c4 (diff)
downloadvendor_cmsdk-37fc76fe96174402cdfbf02cf228639083c26bf7.zip
vendor_cmsdk-37fc76fe96174402cdfbf02cf228639083c26bf7.tar.gz
vendor_cmsdk-37fc76fe96174402cdfbf02cf228639083c26bf7.tar.bz2
CMSDK: Create cyanogenmod platform resource package.
org.cyanogenmod.platform-res provides resources that, if public, are globally accessible. This allows us to declare public and internal permissions as well as reference permissions declared by the android framework core Change-Id: Ia7d541f4b403585f7479ecd87895987b8471005b
Diffstat (limited to 'cm/lib/main/java/org')
-rw-r--r--cm/lib/main/java/org/cyanogenmod/platform/internal/CMStatusBarManagerService.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/cm/lib/main/java/org/cyanogenmod/platform/internal/CMStatusBarManagerService.java b/cm/lib/main/java/org/cyanogenmod/platform/internal/CMStatusBarManagerService.java
index 433238a..6d9693c 100644
--- a/cm/lib/main/java/org/cyanogenmod/platform/internal/CMStatusBarManagerService.java
+++ b/cm/lib/main/java/org/cyanogenmod/platform/internal/CMStatusBarManagerService.java
@@ -45,7 +45,7 @@ import org.cyanogenmod.internal.statusbar.IStatusBarCustomTileHolder;
import java.util.ArrayList;
-import com.android.internal.R;
+import org.cyanogenmod.platform.internal.R;
/**
* Internal service which manages interactions with system ui elements
@@ -338,13 +338,13 @@ public class CMStatusBarManagerService extends SystemService {
private void enforceCustomTilePublish() {
mContext.enforceCallingOrSelfPermission(
- android.Manifest.permission.PUBLISH_CUSTOM_TILE,
+ cyanogenmod.Manifest.permission.PUBLISH_CUSTOM_TILE,
"StatusBarManagerService");
}
private void enforceBindCustomTileListener() {
mContext.enforceCallingOrSelfPermission(
- android.Manifest.permission.BIND_CUSTOM_TILE_LISTENER_SERVICE,
+ cyanogenmod.Manifest.permission.BIND_CUSTOM_TILE_LISTENER_SERVICE,
"StatusBarManagerService");
}