Loading src/java/com/android/internal/telephony/cat/AppInterface.java +3 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,9 @@ public interface AppInterface { public static final String CAT_SESSION_END_ACTION = "android.intent.action.stk.session_end"; // Permission required by STK command receiver public static final String STK_PERMISSION = "android.permission.RECEIVE_STK_COMMANDS"; /* * Callback function from app to telephony to pass a result code and user's * input back to the ICC. Loading src/java/com/android/internal/telephony/cat/CatService.java +2 −2 Original line number Diff line number Diff line Loading @@ -348,7 +348,7 @@ public class CatService extends Handler implements AppInterface { mCurrntCmd = cmdMsg; Intent intent = new Intent(AppInterface.CAT_CMD_ACTION); intent.putExtra("STK CMD", cmdMsg); mContext.sendBroadcast(intent); mContext.sendBroadcast(intent, AppInterface.STK_PERMISSION); } /** Loading @@ -360,7 +360,7 @@ public class CatService extends Handler implements AppInterface { mCurrntCmd = mMenuCmd; Intent intent = new Intent(AppInterface.CAT_SESSION_END_ACTION); mContext.sendBroadcast(intent); mContext.sendBroadcast(intent, AppInterface.STK_PERMISSION); } private void sendTerminalResponse(CommandDetails cmdDet, Loading Loading
src/java/com/android/internal/telephony/cat/AppInterface.java +3 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,9 @@ public interface AppInterface { public static final String CAT_SESSION_END_ACTION = "android.intent.action.stk.session_end"; // Permission required by STK command receiver public static final String STK_PERMISSION = "android.permission.RECEIVE_STK_COMMANDS"; /* * Callback function from app to telephony to pass a result code and user's * input back to the ICC. Loading
src/java/com/android/internal/telephony/cat/CatService.java +2 −2 Original line number Diff line number Diff line Loading @@ -348,7 +348,7 @@ public class CatService extends Handler implements AppInterface { mCurrntCmd = cmdMsg; Intent intent = new Intent(AppInterface.CAT_CMD_ACTION); intent.putExtra("STK CMD", cmdMsg); mContext.sendBroadcast(intent); mContext.sendBroadcast(intent, AppInterface.STK_PERMISSION); } /** Loading @@ -360,7 +360,7 @@ public class CatService extends Handler implements AppInterface { mCurrntCmd = mMenuCmd; Intent intent = new Intent(AppInterface.CAT_SESSION_END_ACTION); mContext.sendBroadcast(intent); mContext.sendBroadcast(intent, AppInterface.STK_PERMISSION); } private void sendTerminalResponse(CommandDetails cmdDet, Loading