summaryrefslogtreecommitdiff
path: root/src/com/android/se/Channel.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/se/Channel.java')
-rwxr-xr-x[-rw-r--r--]src/com/android/se/Channel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/se/Channel.java b/src/com/android/se/Channel.java
index d6df415..33327ed 100644..100755
--- a/src/com/android/se/Channel.java
+++ b/src/com/android/se/Channel.java
@@ -213,7 +213,7 @@ public class Channel implements IBinder.DeathRecipient {
cla = (byte) ((cla & 0xBC) | channelNumber);
} else if (channelNumber < 20) {
// b7 = 1 indicates the further interindustry class byte coding
- boolean isSm = (cla & 0x0C) != 0;
+ boolean isSm = (((cla & 0x40) == 0x00) && ((cla & 0x0C) != 0));
cla = (byte) ((cla & 0xB0) | 0x40 | (channelNumber - 4));
if (isSm) {
cla |= 0x20;