Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0d2517d authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Temporarily disable socket tagging.

Change-Id: Ib4a8babdbbe3ea05057dc930b67c2cac89ac5e42
parent 1a65b441
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@ import java.nio.charset.Charsets;
public final class NetworkManagementSocketTagger extends SocketTagger {

    private static final boolean LOGI = false;
    private static final boolean ENABLE_TAGGING = false;

    private static ThreadLocal<SocketTags> threadSocketTags = new ThreadLocal<SocketTags>() {
        @Override protected SocketTags initialValue() {
@@ -124,6 +125,8 @@ public final class NetworkManagementSocketTagger extends SocketTagger {
     *
     */
    private void internalModuleCtrl(String cmd) throws IOException {
        if (!ENABLE_TAGGING) return;

        final FileOutputStream procOut;
        // TODO: Use something like
        //  android.os.SystemProperties.getInt("persist.bandwidth.enable", 0)