CMSDK: Make sure we're binding the correct permission for enforcement.

Change-Id: Ie58b11cfa972f449bfc20b05f4b52b7cd28ab7d5
This commit is contained in:
Adnan Begovic 2015-05-13 01:39:34 -07:00
parent 4f0c2c38ae
commit 3f13414fde

View File

@ -368,7 +368,7 @@ public class CMStatusBarManagerService extends SystemService {
c.serviceInterface = CustomTileListenerService.SERVICE_INTERFACE; c.serviceInterface = CustomTileListenerService.SERVICE_INTERFACE;
//TODO: Implement this in the future //TODO: Implement this in the future
//c.secureSettingName = Settings.Secure.ENABLED_CUSTOM_TILE_LISTENERS; //c.secureSettingName = Settings.Secure.ENABLED_CUSTOM_TILE_LISTENERS;
c.bindPermission = android.Manifest.permission.BIND_CUSTOM_TILE_LISTENER_SERVICE; c.bindPermission = cyanogenmod.Manifest.permission.BIND_CUSTOM_TILE_LISTENER_SERVICE;
//TODO: Implement this in the future //TODO: Implement this in the future
//c.settingsAction = Settings.ACTION_CUSTOM_TILE_LISTENER_SETTINGS; //c.settingsAction = Settings.ACTION_CUSTOM_TILE_LISTENER_SETTINGS;
c.clientLabel = R.string.custom_tile_listener_binding_label; c.clientLabel = R.string.custom_tile_listener_binding_label;