Loading services/core/java/com/android/server/adb/AdbDebuggingManager.java +8 −11 Original line number Diff line number Diff line Loading @@ -344,19 +344,16 @@ public class AdbDebuggingManager { public void run() { Slog.d(TAG, "Entering thread"); while (true) { try { synchronized (this) { if (mStopped) { Slog.d(TAG, "Exiting thread"); return; } try { openSocketLocked(); } catch (Exception e) { /* Don't loop too fast if adbd dies, before init restarts it */ SystemClock.sleep(1000); } } try { listenToSocket(); } catch (Exception e) { /* Don't loop too fast if adbd dies, before init restarts it */ Loading Loading
services/core/java/com/android/server/adb/AdbDebuggingManager.java +8 −11 Original line number Diff line number Diff line Loading @@ -344,19 +344,16 @@ public class AdbDebuggingManager { public void run() { Slog.d(TAG, "Entering thread"); while (true) { try { synchronized (this) { if (mStopped) { Slog.d(TAG, "Exiting thread"); return; } try { openSocketLocked(); } catch (Exception e) { /* Don't loop too fast if adbd dies, before init restarts it */ SystemClock.sleep(1000); } } try { listenToSocket(); } catch (Exception e) { /* Don't loop too fast if adbd dies, before init restarts it */ Loading