Loading packages/SystemUI/src/com/android/systemui/usb/UsbDebuggingActivity.java +5 −1 Original line number Original line Diff line number Diff line Loading @@ -30,6 +30,7 @@ import android.hardware.usb.UsbManager; import android.os.Bundle; import android.os.Bundle; import android.os.IBinder; import android.os.IBinder; import android.os.ServiceManager; import android.os.ServiceManager; import android.os.SystemProperties; import android.util.Log; import android.util.Log; import android.view.LayoutInflater; import android.view.LayoutInflater; import android.view.View; import android.view.View; Loading @@ -54,7 +55,10 @@ public class UsbDebuggingActivity extends AlertActivity public void onCreate(Bundle icicle) { public void onCreate(Bundle icicle) { super.onCreate(icicle); super.onCreate(icicle); if (SystemProperties.getInt("service.adb.tcp.port", 0) == 0) { mDisconnectedReceiver = new UsbDisconnectedReceiver(this); mDisconnectedReceiver = new UsbDisconnectedReceiver(this); } Intent intent = getIntent(); Intent intent = getIntent(); String fingerprints = intent.getStringExtra("fingerprints"); String fingerprints = intent.getStringExtra("fingerprints"); mKey = intent.getStringExtra("key"); mKey = intent.getStringExtra("key"); Loading Loading
packages/SystemUI/src/com/android/systemui/usb/UsbDebuggingActivity.java +5 −1 Original line number Original line Diff line number Diff line Loading @@ -30,6 +30,7 @@ import android.hardware.usb.UsbManager; import android.os.Bundle; import android.os.Bundle; import android.os.IBinder; import android.os.IBinder; import android.os.ServiceManager; import android.os.ServiceManager; import android.os.SystemProperties; import android.util.Log; import android.util.Log; import android.view.LayoutInflater; import android.view.LayoutInflater; import android.view.View; import android.view.View; Loading @@ -54,7 +55,10 @@ public class UsbDebuggingActivity extends AlertActivity public void onCreate(Bundle icicle) { public void onCreate(Bundle icicle) { super.onCreate(icicle); super.onCreate(icicle); if (SystemProperties.getInt("service.adb.tcp.port", 0) == 0) { mDisconnectedReceiver = new UsbDisconnectedReceiver(this); mDisconnectedReceiver = new UsbDisconnectedReceiver(this); } Intent intent = getIntent(); Intent intent = getIntent(); String fingerprints = intent.getStringExtra("fingerprints"); String fingerprints = intent.getStringExtra("fingerprints"); mKey = intent.getStringExtra("key"); mKey = intent.getStringExtra("key"); Loading