Fix device transfer stall if screen is locked during transfer.

This commit is contained in:
Cody Henthorne
2021-03-17 16:46:25 -04:00
committed by GitHub
parent 751ba8d1c2
commit 5a84fa5a80
5 changed files with 45 additions and 6 deletions

View File

@@ -88,7 +88,7 @@ public class DeviceToDeviceTransferService extends Service implements ShutdownCa
@Override
public void onCreate() {
super.onCreate();
Log.e(TAG, "onCreate");
Log.v(TAG, "onCreate");
EventBus.getDefault().register(this);
}
@@ -100,7 +100,7 @@ public class DeviceToDeviceTransferService extends Service implements ShutdownCa
@Override
public void onDestroy() {
Log.e(TAG, "onDestroy");
Log.v(TAG, "onDestroy");
EventBus.getDefault().unregister(this);
@@ -219,6 +219,7 @@ public class DeviceToDeviceTransferService extends Service implements ShutdownCa
case UNAVAILABLE:
case FAILED:
case SERVICE_DISCONNECTED:
case SHUTDOWN:
Log.d(TAG, "Intentionally no notification text for: " + transferStatus.getTransferMode());
break;
default: