Skip to content

Commit edd7b7e

Browse files
Merge pull request #387 from nextcloud/140rc2
140rc2
2 parents 7cab979 + 494526e commit edd7b7e

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

AndroidManifest.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
-->
2121
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2222
package="com.owncloud.android"
23-
android:versionCode="10040001"
24-
android:versionName="1.4.0 RC1">
23+
android:versionCode="10040002"
24+
android:versionName="1.4.0 RC2">
2525

2626
<uses-sdk
2727
android:minSdkVersion="14"

src/com/owncloud/android/ui/activity/FileDisplayActivity.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,12 @@ public void onClick(View v) {
243243
}
244244

245245
/**
246-
* For Android 5+.
246+
* For Android 7+.
247247
* Opens a pop up info for the new instant upload and disabled the old instant upload.
248248
*/
249249
private void upgradeNotificationForInstantUpload() {
250-
// check for Android 5+ if legacy instant upload is activated --> disable + show info
251-
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP &&
250+
// check for Android 7+ if legacy instant upload is activated --> disable + show info
251+
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N &&
252252
(PreferenceManager.instantPictureUploadEnabled(this) ||
253253
PreferenceManager.instantPictureUploadEnabled(this))) {
254254

src/com/owncloud/android/ui/activity/Preferences.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -368,8 +368,8 @@ public boolean onPreferenceChange(Preference preference, Object newValue) {
368368

369369
mPrefInstantUploadCategory = (PreferenceCategory) findPreference("instant_uploading_category");
370370

371-
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
372-
// Instant upload via preferences on pre Android Lollipop
371+
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.N) {
372+
// Instant upload via preferences on pre Android Nougat
373373
mPrefInstantUploadPath = findPreference("instant_upload_path");
374374
if (mPrefInstantUploadPath != null) {
375375

0 commit comments

Comments
 (0)