fix code formatting
This commit is contained in:
parent
5d75fd645d
commit
eff2f154b5
@ -58,13 +58,13 @@ class UpdateManager {
|
||||
}
|
||||
|
||||
private static void onUpgrade(final int oldVersionCode, final int newVersionCode) {
|
||||
if(oldVersionCode < 1050004) {
|
||||
if (oldVersionCode < 1050004) {
|
||||
if(MediaPlayer.isPrestoLibraryInstalled(context) && Build.VERSION.SDK_INT >= 16) {
|
||||
UserPreferences.enableSonic();
|
||||
}
|
||||
}
|
||||
|
||||
if(oldVersionCode < 1070196) {
|
||||
if (oldVersionCode < 1070196) {
|
||||
// migrate episode cleanup value (unit changed from days to hours)
|
||||
int oldValueInDays = UserPreferences.getEpisodeCleanupValue();
|
||||
if (oldValueInDays > 0) {
|
||||
|
@ -17,4 +17,4 @@ public class APCleanupAlgorithmTest {
|
||||
Date resActual = algo.calcMostRecentDateForDeletion(curDateForTest);
|
||||
assertEquals("cutoff for retaining most recent 1 day", resExpected, resActual);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user