From 37fc76fe96174402cdfbf02cf228639083c26bf7 Mon Sep 17 00:00:00 2001 From: Adnan Begovic Date: Tue, 5 May 2015 17:37:05 -0700 Subject: 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 --- .../cyanogenmod/platform/internal/CMStatusBarManagerService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cm/lib/main/java/org') 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"); } -- cgit v1.1