File tree 3 files changed +0
-100
lines changed
androidTest/java/com/chiller3/bcr
main/java/com/chiller3/bcr
3 files changed +0
-100
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -28,9 +28,6 @@ class Preferences(private val context: Context) {
28
28
const val PREF_ADD_RULE = " add_rule"
29
29
const val PREF_RULE_PREFIX = " rule_"
30
30
31
- // Legacy preferences
32
- internal const val PREF_INITIALLY_PAUSED = " initially_paused"
33
-
34
31
// Not associated with a UI preference
35
32
private const val PREF_DEBUG_MODE = " debug_mode"
36
33
private const val PREF_RECORD_RULE_PREFIX = " record_rule_"
@@ -222,22 +219,6 @@ class Preferences(private val context: Context) {
222
219
get() = prefs.getBoolean(PREF_RECORD_RULES_HELP_SHOWN , false )
223
220
set(shown) = prefs.edit { putBoolean(PREF_RECORD_RULES_HELP_SHOWN , shown) }
224
221
225
- /* *
226
- * Migrate old "initially paused" setting to the new record rules.
227
- *
228
- * Will be removed in version 1.47.
229
- */
230
- fun migrateInitiallyPaused () {
231
- if (prefs.contains(PREF_INITIALLY_PAUSED )) {
232
- val oldValue = ! prefs.getBoolean(PREF_INITIALLY_PAUSED , false )
233
- recordRules = listOf (
234
- RecordRule .UnknownCalls (oldValue),
235
- RecordRule .AllCalls (oldValue),
236
- )
237
- prefs.edit { remove(PREF_INITIALLY_PAUSED ) }
238
- }
239
- }
240
-
241
222
/* *
242
223
* The saved output format.
243
224
*
Original file line number Diff line number Diff line change @@ -10,9 +10,6 @@ class RecorderApplication : Application() {
10
10
override fun onCreate () {
11
11
super .onCreate()
12
12
13
- val props = Preferences (this )
14
- props.migrateInitiallyPaused()
15
-
16
13
// Enable Material You colors
17
14
DynamicColors .applyToActivitiesIfAvailable(this )
18
15
You can’t perform that action at this time.
0 commit comments