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

Commit c94609b7 authored by Daniel Zheng's avatar Daniel Zheng
Browse files

TIM formatting

fix formatting to 4 spaces instead of 2

Flag: EXEMPT refactor
Test: th
Change-Id: Ib1b0dce80bb83744d5a4d53739f05a831c07a7f5
parent 91822653
Loading
Loading
Loading
Loading
+13 −16
Original line number Diff line number Diff line
@@ -44,7 +44,6 @@ import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;


public final class TradeInModeService extends SystemService {
    private static final String TAG = "TradeInModeService";

@@ -339,8 +338,7 @@ public final class TradeInModeService extends SystemService {

    private boolean isFrpActive() {
        try {
            PersistentDataBlockManager pdb =
                    mContext.getSystemService(PersistentDataBlockManager.class);
            PersistentDataBlockManager pdb = mContext.getSystemService(PersistentDataBlockManager.class);
            if (pdb == null) {
                return false;
            }
@@ -351,9 +349,9 @@ public final class TradeInModeService extends SystemService {
        }
    }

    // This returns true if the device has progressed far enough into Setup Wizard that it no
    // longer makes sense to enable trade-in mode. As a last stop, we check the SUW completion
    // bits.
    // This returns true if the device has progressed far enough into Setup Wizard
    // that it no longer makes sense to enable trade-in mode. As a last stop, we
    // check the SUW completion bits.
    private boolean isDeviceSetup() {
        final ContentResolver cr = mContext.getContentResolver();
        try {
@@ -395,7 +393,6 @@ public final class TradeInModeService extends SystemService {
        cr.registerContentObserver(deviceProvisioned, false, observer);
    }


    private void watchForNetworkChange() {
        mConnectivityManager = mContext.getSystemService(ConnectivityManager.class);
        NetworkRequest networkRequest = new NetworkRequest.Builder()