Compare commits

..

3 commits

Author SHA1 Message Date
e1e88773ec notrack fixup 2021-08-21 18:12:56 +01:00
015c90eb70 cmd cleanup 2021-08-21 18:12:42 +01:00
cdfa005d35 Split notrack and port 2021-08-21 18:00:17 +01:00
5 changed files with 1349 additions and 14 deletions

View file

@ -0,0 +1,2 @@
#!/bin/bash
mv smali/com/airbnb smali_classes2/com/

File diff suppressed because it is too large Load diff

View file

@ -23,19 +23,6 @@ public class CmdCtc {
m.invoke(StoreStream.getUserSettings(), enabled); m.invoke(StoreStream.getUserSettings(), enabled);
} catch (Exception e) { } catch (Exception e) {
System.out.println("Failed to call StoreStream.getUserSettings().setLeakChannels"); 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 "Failed to call StoreStream.getUserSettings().setLeakChannels";
} }
return "CTC: Successfully set channelleak state."; // TODO use notification return "CTC: Successfully set channelleak state."; // TODO use notification

View file

@ -13,7 +13,7 @@ public class CmdSpoilerImg implements RawMsgHandler {
try { try {
// Added by Supplemental patch // Added by Supplemental patch
//noinspection JavaReflectionMemberAccess //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); m.invoke(StoreStream.getUserSettings(), true);
} catch (Exception e) { } catch (Exception e) {
System.out.println("Failed to call StoreStream.getUserSettings().setImageSpoiler(true)"); System.out.println("Failed to call StoreStream.getUserSettings().setImageSpoiler(true)");

View file

@ -0,0 +1,5 @@
<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>