35 lines
817 B
Java
35 lines
817 B
Java
|
package com.discord.utilities.analytics;
|
||
|
|
||
|
import com.PatchConfig;
|
||
|
|
||
|
import java.util.Map;
|
||
|
|
||
|
import lanchon.dexpatcher.annotation.DexEdit;
|
||
|
import lanchon.dexpatcher.annotation.DexWrap;
|
||
|
|
||
|
@DexEdit
|
||
|
public final class AnalyticSuperProperties {
|
||
|
|
||
|
// disable-mobileindicator patch
|
||
|
|
||
|
@SuppressWarnings("UnnecessaryReturnStatement")
|
||
|
@DexWrap
|
||
|
private final void setSuperProperties(Map map) {
|
||
|
if (!PatchConfig.DISABLE_MOBILE_INDICATOR_ENABLED) {
|
||
|
// Patch not enabled
|
||
|
setSuperProperties(map);
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@DexWrap
|
||
|
private final synchronized void updateSuperProperties(Map map) {
|
||
|
if (!PatchConfig.DISABLE_MOBILE_INDICATOR_ENABLED) {
|
||
|
// Patch not enabled
|
||
|
updateSuperProperties(map);
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|