Initial project commit

This commit is contained in:
2020-07-18 21:44:27 -04:00
parent 8a1141b373
commit fea891a268
127 changed files with 20838 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
package com.eveningoutpost.dexdrip.Models;
import com.eveningoutpost.dexdrip.UtilityModels.Pref;
/**
* Created by jamorham on 04/03/2018.
*/
// TODO future move noise trigger constants here
public class Noise {
private static final String TAG = "xDripNoise";
public static int getNoiseBlockLevel() {
int value = 200;
try {
value = Integer.parseInt(Pref.getString("noise_block_level", "200"));
} catch (NumberFormatException e) {
UserError.Log.e(TAG, "Cannot process noise block level: " + e);
}
return value;
}
}