@Override protected void onPause() { super.onPause(); ServiceManager.getInstance().pauseService(true); Log.e(TAG, "stopUpdateTimer"); DJIDrone.getDjiMC().stopUpdateTimer(); // Stop the update timer for MC to update info }
@Override protected void onResume() { super.onResume(); ServiceManager.getInstance().pauseService(false); Log.e(TAG, "startUpdateTimer"); DJIDrone.getDjiMC().startUpdateTimer(1000); // Start the update timer for MC to update info }