Skip to content

Commit

Permalink
Merge branch 'bugfix/slider_param_update' into 'master'
Browse files Browse the repository at this point in the history
Fixed issue of continuous slider update and improved overall param update processing.

See merge request app-frameworks/esp-rainmaker-android!65
  • Loading branch information
adwait-esp committed Jun 14, 2023
2 parents 4bc87b7 + 502e5e0 commit 8788db9
Show file tree
Hide file tree
Showing 5 changed files with 380 additions and 296 deletions.
8 changes: 8 additions & 0 deletions app/src/main/java/com/espressif/ui/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -408,4 +408,12 @@ public static String getActionParamsString(ArrayList<Param> params) {
}
return paramText.toString();
}

public static long getThrottleDelay() {
if (BuildConfig.continuosUpdateInterval > AppConstants.MIN_THROTTLE_DELAY
&& BuildConfig.continuosUpdateInterval < AppConstants.MAX_THROTTLE_DELAY) {
return BuildConfig.continuosUpdateInterval;
}
return AppConstants.MID_THROTTLE_DELAY;
}
}
223 changes: 0 additions & 223 deletions app/src/main/java/com/espressif/ui/activities/ParamAdapterManager.java

This file was deleted.

Loading

0 comments on commit 8788db9

Please sign in to comment.