mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-17 02:52:12 +01:00
androidgcs: dropped dependency on JUnit
Can't figure out how to get the build to find JUnit.
This commit is contained in:
parent
919202875e
commit
b0b1d9b681
@ -36,7 +36,6 @@ import java.util.Observable;
|
||||
import java.util.Observer;
|
||||
import java.util.Set;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.openpilot.androidgcs.fragments.ObjectManagerFragment;
|
||||
import org.openpilot.androidgcs.telemetry.OPTelemetryService;
|
||||
import org.openpilot.androidgcs.telemetry.OPTelemetryService.LocalBinder;
|
||||
@ -206,7 +205,6 @@ public abstract class ObjectManagerActivity extends Activity {
|
||||
|
||||
if (telemetryStatsConnected) {
|
||||
UAVObject stats = objMngr.getObject("GCSTelemetryStats");
|
||||
Assert.assertNotNull(stats); // Should not be null if we connected
|
||||
|
||||
stats.removeUpdatedObserver(telemetryObserver);
|
||||
telemetryStatsConnected = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user