Loading android/app/src/com/android/bluetooth/avrcp/AvrcpControllerService.java +4 −5 Original line number Original line Diff line number Diff line Loading @@ -82,14 +82,13 @@ public class AvrcpControllerService extends ProfileService { } } protected boolean cleanup() { protected boolean cleanup() { if (mHandler != null) { mHandler.removeCallbacksAndMessages(null); mHandler.removeCallbacksAndMessages(null); Looper looper = mHandler.getLooper(); Looper looper = mHandler.getLooper(); if (looper != null) { if (looper != null) looper.quit(); looper.quit(); } } clearAvrcpControllerService(); clearAvrcpControllerService(); cleanupNative(); cleanupNative(); return true; return true; Loading Loading
android/app/src/com/android/bluetooth/avrcp/AvrcpControllerService.java +4 −5 Original line number Original line Diff line number Diff line Loading @@ -82,14 +82,13 @@ public class AvrcpControllerService extends ProfileService { } } protected boolean cleanup() { protected boolean cleanup() { if (mHandler != null) { mHandler.removeCallbacksAndMessages(null); mHandler.removeCallbacksAndMessages(null); Looper looper = mHandler.getLooper(); Looper looper = mHandler.getLooper(); if (looper != null) { if (looper != null) looper.quit(); looper.quit(); } } clearAvrcpControllerService(); clearAvrcpControllerService(); cleanupNative(); cleanupNative(); return true; return true; Loading