diff --git a/parts/src/org/lineageos/settings/popupcamera/PopupCameraService.java b/parts/src/org/lineageos/settings/popupcamera/PopupCameraService.java index 4e69c7d..bc0ec52 100644 --- a/parts/src/org/lineageos/settings/popupcamera/PopupCameraService.java +++ b/parts/src/org/lineageos/settings/popupcamera/PopupCameraService.java @@ -140,10 +140,11 @@ public class PopupCameraService extends Service implements Handler.Callback { if (status == Constants.MOTOR_STATUS_POPUP_OK || status == Constants.MOTOR_STATUS_TAKEBACK_JAMMED) { mMotor.takebackMotor(1); + Thread.sleep(1200); } mMotorStatusCallback = new MotorStatusCallback(); mMotor.setMotorCallback(mMotorStatusCallback); - } catch (RemoteException e) { + } catch (InterruptedException | RemoteException e) { // Do nothing } }