Skip to content

Instantly share code, notes, and snippets.

@xc-racer99
Created October 5, 2015 19:45
Show Gist options
  • Save xc-racer99/35b7a1288a85875496d4 to your computer and use it in GitHub Desktop.
Save xc-racer99/35b7a1288a85875496d4 to your computer and use it in GitHub Desktop.
Patch for Samsung CDMA SMS
From c2c4e65f74afa26704bec55e91e5839933f68e8f Mon Sep 17 00:00:00 2001
From: jt1134 <jt1134@gmail.com>
Date: Thu, 22 Nov 2012 23:48:05 -0600
Subject: [PATCH] add bools to overlay for Samsung CDMA SMS decoding hacks
Necessary for fascinatemtd
Change-Id: I57f0e7661658a91a6469677c58055b13bee470ae
---
core/res/res/values/custom_config.xml | 3 +++
core/res/res/values/custom_symbols.xml | 3 +++
2 files changed, 6 insertions(+)
diff --git a/core/res/res/values/custom_config.xml b/core/res/res/values/custom_config.xml
index c4a1d69..1591aec 100644
--- a/core/res/res/values/custom_config.xml
+++ b/core/res/res/values/custom_config.xml
@@ -74,4 +74,7 @@
<bool name="config_button_brightness_support">false</bool>
<integer name="config_button_brightness_default">128</integer>
+ <!-- If this value is true, we handle Samsung CDMA's message ID method -->
+ <bool name="config_smsSamsungCdmaAlternateMessageIDEncoding">false</bool>
+
</resources>
diff --git a/core/res/res/values/custom_symbols.xml b/core/res/res/values/custom_symbols.xml
index 2e4521d..421a759 100644
--- a/core/res/res/values/custom_symbols.xml
+++ b/core/res/res/values/custom_symbols.xml
@@ -71,4 +71,7 @@
<java-symbol type="bool" name="config_button_brightness_support" />
<java-symbol type="integer" name="config_button_brightness_default" />
+ <!-- Samsung CDMA hack -->
+ <java-symbol type="bool" name="config_smsSamsungCdmaAlternateMessageIDEncoding" />
+
</resources>
--
2.1.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment