Skip to content

Commit

Permalink
fix wrong use of constants
Browse files Browse the repository at this point in the history
  • Loading branch information
marcnause committed Dec 22, 2024
1 parent df39058 commit 0c00b9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ abstract class AbstractSensorActivity extends AppCompatActivity {
private static final String TAG = AbstractSensorActivity.class.getSimpleName();

private static final String KEY_PLAY = TAG + "_play";
private static final String KEY_RUN_INDEFINITELY = TAG + "_runIndefinitely";
private static final String KEY_RUN_INDEFINITELY = TAG + "_run_indefinitely";
private static final String KEY_TIME_GAP = TAG + "_time_gap";
private static final String KEY_FLAG = TAG + "_flag";
private static final String KEY_START_TIME = TAG + "_start_time";
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/io/pslab/sensors/SensorAPDS9960.java
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ protected void onSaveInstanceState(@NonNull Bundle outState) {
outState.putString(KEY_VALUE_GREEN, tvSensorAPDS9960Green.getText().toString());
outState.putString(KEY_VALUE_BLUE, tvSensorAPDS9960Blue.getText().toString());
outState.putString(KEY_VALUE_CLEAR, tvSensorAPDS9960Clear.getText().toString());
outState.putString(KEY_ENTRIES_PROXIMITY, tvSensorAPDS9960Proximity.getText().toString());
outState.putString(KEY_VALUE_PROXIMITY, tvSensorAPDS9960Proximity.getText().toString());
outState.putString(KEY_VALUE_GESTURE, tvSensorAPDS9960Gesture.getText().toString());

outState.putParcelableArrayList(KEY_ENTRIES_LUX, entriesLux);
Expand Down

0 comments on commit 0c00b9b

Please sign in to comment.