Skip to content

Instantly share code, notes, and snippets.

@shakalaca
Created December 17, 2011 11:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shakalaca/1489990 to your computer and use it in GitHub Desktop.
Save shakalaca/1489990 to your computer and use it in GitHub Desktop.
su-binary patch for ics 4.0.3 (sdk 15)
--- activity.cpp.old 2011-12-17 19:24:35.339670212 +0800
+++ activity.cpp 2011-12-17 19:18:13.427670430 +0800
@@ -75,6 +75,10 @@
// added in eclair rev 7
data.writeInt32(0);
}
+ if (sdk_version >= 15) {
+ // added in IceCreamSandwich 4.0.3
+ data.writeInt32(0); /* Selector */
+ }
{ /* Extras */
data.writeInt32(-1); /* dummy, will hold length */
int oldPos = data.dataPosition();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment