File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
app/src/main/java/org/schabi/newpipe/settings Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change 13
13
import org .schabi .newpipe .error .ErrorUtil ;
14
14
import org .schabi .newpipe .error .UserAction ;
15
15
import org .schabi .newpipe .util .DeviceUtils ;
16
- import org .schabi .newpipe .util .ReleaseVersionUtil ;
17
16
18
17
import java .util .Collections ;
19
18
import java .util .HashSet ;
@@ -144,16 +143,6 @@ protected void migrate(@NonNull final Context context) {
144
143
}
145
144
};
146
145
147
- public static final Migration MIGRATION_6_7 = new Migration (6 , 7 ) {
148
- @ Override
149
- protected void migrate (@ NonNull final Context context ) {
150
- final boolean isAutoUpdateCheckEnabled = sp .getBoolean ("update_app_key" , true );
151
- if (isAutoUpdateCheckEnabled && ReleaseVersionUtil .INSTANCE .isReleaseApk ()) {
152
- UpdateSettingsFragment .askForConsentToUpdateChecks (context );
153
- }
154
- }
155
- };
156
-
157
146
/**
158
147
* List of all implemented migrations.
159
148
* <p>
@@ -167,13 +156,12 @@ protected void migrate(@NonNull final Context context) {
167
156
MIGRATION_3_4 ,
168
157
MIGRATION_4_5 ,
169
158
MIGRATION_5_6 ,
170
- MIGRATION_6_7 ,
171
159
};
172
160
173
161
/**
174
162
* Version number for preferences. Must be incremented every time a migration is necessary.
175
163
*/
176
- private static final int VERSION = 7 ;
164
+ private static final int VERSION = 6 ;
177
165
178
166
179
167
public static void runMigrationsIfNeeded (@ NonNull final Context context ) {
You can’t perform that action at this time.
0 commit comments