forked from distok/cutthecord
Compare commits
No commits in common. "e1e88773ec296fa0a50864b33a71eee029df8bb5" and "c17cb44eaa92eebf887e121e5a7b41d36b47dcb0" have entirely different histories.
e1e88773ec
...
c17cb44eaa
5 changed files with 14 additions and 1349 deletions
|
@ -1,2 +0,0 @@
|
|||
#!/bin/bash
|
||||
mv smali/com/airbnb smali_classes2/com/
|
File diff suppressed because it is too large
Load diff
|
@ -23,6 +23,19 @@ public class CmdCtc {
|
|||
m.invoke(StoreStream.getUserSettings(), enabled);
|
||||
} catch (Exception e) {
|
||||
System.out.println("Failed to call StoreStream.getUserSettings().setLeakChannels");
|
||||
|
||||
System.out.println("Declared");
|
||||
for (Method m : StoreStream.getUserSettings().getClass().getDeclaredMethods()) {
|
||||
System.out.println(m.getName()+" "+ m.toString());
|
||||
}
|
||||
|
||||
System.out.println();
|
||||
System.out.println("Methods");
|
||||
for (Method m : StoreStream.getUserSettings().getClass().getMethods()) {
|
||||
System.out.println(m.getName()+" "+ m.toString());
|
||||
}
|
||||
|
||||
e.printStackTrace();
|
||||
return "Failed to call StoreStream.getUserSettings().setLeakChannels";
|
||||
}
|
||||
return "CTC: Successfully set channelleak state."; // TODO use notification
|
||||
|
|
|
@ -13,7 +13,7 @@ public class CmdSpoilerImg implements RawMsgHandler {
|
|||
try {
|
||||
// Added by Supplemental patch
|
||||
//noinspection JavaReflectionMemberAccess
|
||||
final Method m = StoreStream.getUserSettings().getClass().getDeclaredMethod("setImageSpoiler", boolean.class);
|
||||
final Method m = StoreStream.getUserSettings().getClass().getDeclaredMethod("setImageSpoiler", Boolean.class);
|
||||
m.invoke(StoreStream.getUserSettings(), true);
|
||||
} catch (Exception e) {
|
||||
System.out.println("Failed to call StoreStream.getUserSettings().setImageSpoiler(true)");
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
<diffs>
|
||||
<diff file="res/values/strings.xml">
|
||||
<replace sel="resources/string[@name='com.crashlytics.android.build_id']/text()">00000000-0000-0000-0000-000000000000</replace>
|
||||
</diff>
|
||||
</diffs>
|
Loading…
Reference in a new issue