opt
This commit is contained in:
@@ -86,11 +86,17 @@ class SnapshotSetDataDrawer extends BaseDrawer implements IMogoMarkerClickListen
|
||||
public void renderSnapshotData( MogoSnapshotSetData data,
|
||||
boolean machineVision ) {
|
||||
if ( mLastReceiveTime != 0 ) {
|
||||
mAnimationDuration = SystemClock.elapsedRealtime() - mLastReceiveTime;
|
||||
mAnimationDuration = System.currentTimeMillis() - mLastReceiveTime;
|
||||
if ( mAnimationDuration > 1000L ) {
|
||||
mAnimationDuration = 500L;
|
||||
}
|
||||
} else {
|
||||
mAnimationDuration = 500L;
|
||||
}
|
||||
mLastReceiveTime = SystemClock.elapsedRealtime();
|
||||
mLastReceiveTime = System.currentTimeMillis();
|
||||
if ( !MogoApisHandler.getInstance().getApis().getStatusManagerApi().isMainPageLaunched() ) {
|
||||
return;
|
||||
}
|
||||
if ( data == null || (
|
||||
( data.getAllList() == null || data.getAllList().isEmpty() ) &&
|
||||
( data.getNearList() == null || data.getNearList().isEmpty() ) ) ) {
|
||||
|
||||
Reference in New Issue
Block a user