Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add further media types to auto upload #797

Merged
merged 208 commits into from
Aug 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
208 commits
Select commit Hold shift + click to select a range
105ce09
add video fetching
AndyScherzinger Apr 3, 2017
e5e68ac
add videos to the list
AndyScherzinger Apr 3, 2017
c15c5da
remove logs
AndyScherzinger Apr 3, 2017
fbd703b
fix video thumbnails
AndyScherzinger Apr 3, 2017
6916ce5
simplified thumbnail generation
AndyScherzinger Apr 3, 2017
3147a2c
add icons to the grid headers depending on the type
AndyScherzinger Apr 3, 2017
2bd7611
fix codacy
AndyScherzinger Apr 3, 2017
8e3edb5
add folder type to persistent entity
AndyScherzinger Apr 4, 2017
1f0a12b
create folder icon
AndyScherzinger Apr 4, 2017
9899dbb
add item to the top (WiP)
AndyScherzinger Apr 4, 2017
d889e32
fixes after rebase for DB upgrade routine
AndyScherzinger Apr 20, 2017
a17e64d
custom folder icon
AndyScherzinger Apr 25, 2017
4e82f5d
also use star folder for action item
AndyScherzinger Apr 25, 2017
48d66b3
fixed layout not displaying app bar
AndyScherzinger Apr 27, 2017
662b08a
Add custom folder icon
mario May 3, 2017
14c2d13
Custom folder RV item
mario May 4, 2017
2b313b9
Fix all folders
mario May 4, 2017
378c46f
Enable auto upload for all
mario May 4, 2017
582f29b
Add migration procedures
mario May 4, 2017
de962ad
Clean up DB upgrade
mario May 5, 2017
08cc99b
Clean up in file content provider
mario May 5, 2017
20b05e7
more logging while migrating data.
AndyScherzinger May 5, 2017
b02d437
db v20 is also on master, v21 now has to be used so development doesn…
AndyScherzinger May 5, 2017
20681be
fix limit variable to prevent NPE
AndyScherzinger May 5, 2017
6496d72
Some work on a new job for AU
mario May 5, 2017
e40086d
Add counting magic
mario May 5, 2017
70637ba
Change to 1.8
mario May 5, 2017
1bdf7a8
Fix build
mario May 5, 2017
e78d36d
Fix issues
mario May 5, 2017
5701d3b
Attempt to fix build
mario May 5, 2017
0bae6fc
Clean up code
mario May 5, 2017
f0c771c
Document new auto upload job
mario May 5, 2017
878a8cb
Delete shutdown receiver
mario May 6, 2017
1b5f059
Try to fix update
mario May 10, 2017
e0cbbd0
Try to fix it
mario May 10, 2017
d18d618
Fix two smaller issues
mario May 10, 2017
441e5c7
Acquire wakelocks to make sure all is good
mario May 10, 2017
4efb17f
Work a bit on locking
mario May 10, 2017
8ec9266
Work a bit more on stuff
mario May 11, 2017
908ee01
Add onClick
mario May 15, 2017
3d43851
Revert "Maybe fix modified build"
mario May 15, 2017
de83a02
open folder sync preference for new, custom folder (work in progress)
AndyScherzinger May 15, 2017
b4ebfe0
folder open icon
AndyScherzinger May 24, 2017
29351f0
fix import
AndyScherzinger May 25, 2017
996e214
fix type
AndyScherzinger May 25, 2017
0c8e99d
fix PushUtils after rebase
AndyScherzinger May 26, 2017
a3985e7
fix file activity
AndyScherzinger May 27, 2017
e93cd27
implement correct local/remote folder picking in preference dialog
AndyScherzinger May 27, 2017
127506b
added todo where the list refresh should take place
AndyScherzinger May 27, 2017
245bebf
correctly persist newly created/configured custom folder and refresh …
AndyScherzinger May 27, 2017
cd4f6c5
fix db upgrade logic after rebase
AndyScherzinger May 29, 2017
ace7ad0
delete button (no function yet)
AndyScherzinger May 30, 2017
8282843
fix after rebase
AndyScherzinger May 30, 2017
4060527
implement delete action
AndyScherzinger May 30, 2017
78cdab0
set sub headline after local path has been chosen
AndyScherzinger May 30, 2017
5b1a830
hide delete button for non-custom folders
AndyScherzinger May 30, 2017
efb9c51
hide delete button for unpersisted custom folders
AndyScherzinger May 30, 2017
cdf4386
Fix the build
mario Jun 7, 2017
ba17dc4
fix index calculation due to new position 0 custom folder create item
AndyScherzinger Jun 7, 2017
1338f34
custom folder creation: use custom headline and hide enable-switch
AndyScherzinger Jun 7, 2017
aff8a86
enable/disable save button depending on local/remote folder paths pre…
AndyScherzinger Jun 7, 2017
b152e32
local folder picker mode implementation
AndyScherzinger Jun 9, 2017
a27d0c1
fix create item click for custom folder
AndyScherzinger Jun 9, 2017
1f2aa78
fix local folder chooser menu NPE
AndyScherzinger Jun 9, 2017
6862273
fix file display of custom folders
AndyScherzinger Jun 9, 2017
72d2374
properly display multiple configurations for a single folder (image/v…
AndyScherzinger Jun 9, 2017
6c21e68
remove unsused constant
AndyScherzinger Jun 9, 2017
9c6dab3
First commit
mario Jun 30, 2017
5b96a33
Change of hearts
mario Jun 30, 2017
32cd15d
Ignore existing files
mario Jun 30, 2017
a40833b
Fixes
mario Jun 30, 2017
88a68b3
Update query
mario Jun 30, 2017
9b50b0b
Updates
mario Jun 30, 2017
a69e763
Some locking magic
mario Jun 30, 2017
26c8e69
Add support for retry & custom folders
mario Jun 30, 2017
cb4017f
No manual retry
mario Jun 30, 2017
b1a5ae9
Add custom folder init
mario Jun 30, 2017
9419ec8
Fix
mario Jun 30, 2017
3180f4a
gradle:3.0.0 fixes
AndyScherzinger Jun 30, 2017
c012c15
Fix a bug
mario Jul 1, 2017
295e35f
Notify adapter that data changed
mario Jul 1, 2017
27059a9
Fix duplicates
mario Jul 1, 2017
812ad18
Fix rotation crash
mario Jul 1, 2017
8959a72
Revert gradle
mario Jul 1, 2017
447e6fd
Fix custom folders
mario Jul 1, 2017
5087ff4
Delete right button
mario Jul 1, 2017
8cabe1f
Try to workaround disappeared files bug
mario Jul 1, 2017
ba5ef73
Fix a crashing bug
mario Jul 1, 2017
edda5a7
codacy fixes
AndyScherzinger Jul 7, 2017
5bffb9a
extract check permissions to private helper method
AndyScherzinger Jul 7, 2017
db89c3a
fix merge media folder merge
AndyScherzinger Jul 7, 2017
8a39192
fix list updates
AndyScherzinger Jul 7, 2017
006b62c
Remove uploads menu
mario Jul 7, 2017
5227513
Remove new auto upload job
mario Jul 7, 2017
7ac07ab
Implement retry of manual uploads
mario Jul 7, 2017
a380b3b
Clean up some code
mario Jul 7, 2017
f8929a3
Show current account in uploads only
mario Jul 7, 2017
628073f
Fix crash
mario Jul 7, 2017
98480ee
Hopefully fix retries
mario Jul 8, 2017
595c8a7
Use overwrite when updating file
mario Jul 9, 2017
4adb793
Hack to speed up uploads on wifi
mario Jul 9, 2017
d658be5
Move things around
mario Jul 9, 2017
62d2397
Prevent saturation of retried jobs
mario Jul 9, 2017
bfcc1c5
Fix folder fetch
mario Jul 9, 2017
d7d6dcd
Try to fix 4G
mario Jul 9, 2017
1f85abb
"set up custom folder" as element in xml and not in adapter
tobiasKaminsky Jul 11, 2017
1386726
show "add folder" correctly if other folders are present
tobiasKaminsky Jul 11, 2017
542e1dc
- loading task not necessary
tobiasKaminsky Jul 11, 2017
9052abd
rename "foldersync" -> "syncedFolder(s)"
tobiasKaminsky Jul 11, 2017
5226330
Revert "Try to fix 4G"
mario Jul 11, 2017
9182b0a
Fix modified files
mario Jul 11, 2017
1931baa
Improve upload errors
mario Jul 11, 2017
83deeb2
fixes after rebase
AndyScherzinger Jul 13, 2017
160feb9
fix after rebase
AndyScherzinger Jul 16, 2017
3730883
scrollable toolbar implementation for auto upload
AndyScherzinger Jul 15, 2017
09f6037
further cleanup after rebase
AndyScherzinger Jul 18, 2017
7266b53
New stuff
mario Jul 20, 2017
95d75c5
Pause jobs if magic is changed
mario Jul 20, 2017
fac7c0e
Try to fix 4g
mario Jul 20, 2017
6d7565d
Fix
mario Jul 20, 2017
8848f99
fixes after rebase
AndyScherzinger Jul 23, 2017
1ca744b
Different retry method
mario Jul 23, 2017
157ceab
Bit of work on uploads
mario Jul 23, 2017
74fe115
Fix result stuff
mario Jul 23, 2017
05fe12b
More work
mario Jul 23, 2017
404aca1
fix lint error
AndyScherzinger Jul 23, 2017
7ca9548
make locl path only choosable for custom folders on creation
AndyScherzinger Jul 23, 2017
dcde2d6
Implement migration path
mario Jul 23, 2017
77618aa
Update gradle
mario Jul 23, 2017
dd9582b
Fix failure
mario Jul 24, 2017
853d0bf
Update library
mario Jul 26, 2017
2092a01
Revert "Remove uploads menu"
mario Jul 26, 2017
cb5ef79
Revert "Delete right button"
mario Jul 26, 2017
baf7d1e
Return uploads control
mario Jul 26, 2017
3338bea
Update lib version
mario Jul 26, 2017
158b12d
Fix
mario Jul 26, 2017
fc3e981
Fix sd card stuff
mario Jul 26, 2017
d099e7e
Fix up uploads menu
mario Jul 26, 2017
fb3e97b
Add expert mode
mario Jul 27, 2017
b64fc0a
Fix a typo
mario Jul 27, 2017
f66cda8
Prevent several rescans in a row
mario Jul 27, 2017
30656a1
Better handling of files on sd card
mario Jul 27, 2017
5474407
remove unused code, fix compile error
AndyScherzinger Jul 28, 2017
f05a64b
Revert "remove unused variable"
AndyScherzinger Jul 28, 2017
57896a8
remove unused code
AndyScherzinger Jul 28, 2017
1360e6c
First batch of magic
mario Jul 30, 2017
22b1fb0
Clean up job
mario Jul 30, 2017
a5a6476
Better handling
mario Jul 30, 2017
9b4b90c
Proper way to schedule
mario Jul 30, 2017
60d2de4
Simplify file visitor
mario Jul 30, 2017
1e472fc
Lower delay
mario Jul 30, 2017
9480c42
Revert chunked stuff
mario Jul 30, 2017
4d8cb93
Remove persistance
mario Jul 30, 2017
c3daf45
Update for N
mario Jul 30, 2017
7c6245a
Update methods
mario Jul 30, 2017
4c50bb9
Fix stuff
mario Jul 31, 2017
6a47a2f
Simplify
mario Jul 31, 2017
9766c24
Codacy stuff
mario Jul 31, 2017
3c79642
Stop trimming uploads
mario Jul 31, 2017
360f1ec
Fix retries
mario Jul 31, 2017
c1c3775
Network receivers & Pre-JellyBeanMR1 charging
mario Jul 31, 2017
8dfdf92
Clarify receivers
mario Jul 31, 2017
2af9039
Remove instant upload screen
mario Jul 31, 2017
1066512
Fix merge
mario Jul 31, 2017
aff05ef
Update from legacy
mario Jul 31, 2017
1cd5d8d
Remove obsolete methods
mario Aug 1, 2017
c68f02e
Put custom folders intto expert
mario Aug 1, 2017
934d8ec
Remove resources
mario Aug 2, 2017
64c58a0
Fix build
mario Aug 5, 2017
c7a19fb
Update gradle
mario Aug 6, 2017
a122f64
Add google repo
mario Aug 7, 2017
656d5c1
Fix bugs
mario Aug 7, 2017
5e97467
Fix review stuff
mario Aug 7, 2017
334a685
Optimize imports
mario Aug 7, 2017
21d1c56
fix Combining Ellipsize and Maxlines (lint)
AndyScherzinger Aug 7, 2017
26abeb8
lint: ignore nnio-0.2.jar
AndyScherzinger Aug 7, 2017
fbcfa02
fix lint errors
AndyScherzinger Aug 7, 2017
7f22be5
fix lint error
AndyScherzinger Aug 7, 2017
ab9325d
fix lint error moving constant to preferences
AndyScherzinger Aug 7, 2017
d7ed716
fix further lint errors
AndyScherzinger Aug 7, 2017
c3be2fe
fix string call
AndyScherzinger Aug 7, 2017
cb35ef8
update multidex version
AndyScherzinger Aug 7, 2017
13ecb58
remove first batch of unused resources
AndyScherzinger Aug 7, 2017
667dd10
remove further unused ressources (lint)
AndyScherzinger Aug 7, 2017
29ff68b
rename icon work that isn't a menu icon
AndyScherzinger Aug 7, 2017
2cb8785
lint: remove hardcoded strings
AndyScherzinger Aug 7, 2017
aeda198
CR: use enum instead of Integer
AndyScherzinger Aug 7, 2017
953ee85
file line length
AndyScherzinger Aug 7, 2017
51c17f0
codacy: remove unused code
AndyScherzinger Aug 7, 2017
4781c07
remove further unused resources
AndyScherzinger Aug 7, 2017
7e879f7
lint: remove unused resources
AndyScherzinger Aug 7, 2017
5d2b30d
removing unsed reources
AndyScherzinger Aug 7, 2017
d643d28
fix codacy warnings
AndyScherzinger Aug 7, 2017
2e947ea
fix some rtl warnings
AndyScherzinger Aug 7, 2017
b82b72f
add content description and rtl fixes
AndyScherzinger Aug 7, 2017
19ec306
remove unused layouts
AndyScherzinger Aug 7, 2017
6082cc9
Drone: update Lint results to reflect reduced error/warning count [sk…
Aug 7, 2017
91f7737
fix identation
AndyScherzinger Aug 8, 2017
bddce20
minor code formatting cleanups
AndyScherzinger Aug 8, 2017
f812d5b
fix RTL issue
AndyScherzinger Aug 8, 2017
2e4722c
update to gradle gradle-4.1 & fixing deprecated gradle API calls
AndyScherzinger Aug 8, 2017
0ef2739
remove further unused code
AndyScherzinger Aug 8, 2017
d10f981
fix folder migration
AndyScherzinger Aug 8, 2017
65e6e0a
replace constant: ../../../src/main/java/com/owncloud/android/ui/help…
tobiasKaminsky Aug 8, 2017
12fd76d
fix: ThemeUtils.java:257: AppCompatCheckBox.setSupportButtonTintList …
tobiasKaminsky Aug 8, 2017
8bd39d9
LoadingDialog.java:50: Avoid non-default constructors in fragments
tobiasKaminsky Aug 8, 2017
7f9f7e2
Merge 8bd39d943814659fc9467d90bdfe7e916424db82 into 81cc7eb5d7180bc67…
AndyScherzinger Aug 8, 2017
7a9335a
Drone: update Lint results to reflect reduced error/warning count [sk…
Aug 8, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
100 changes: 49 additions & 51 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ buildscript {
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.2'
classpath 'com.android.tools.build:gradle:3.0.0-alpha9'
classpath 'com.google.gms:google-services:3.0.0'
}
}
Expand All @@ -29,7 +30,7 @@ configurations.all {
}

ext {
supportLibraryVersion = '25.0.0'
supportLibraryVersion = '25.2.0'
googleLibraryVersion = '10.2.4'

travisBuild = System.getenv("TRAVIS") == "true"
Expand All @@ -44,6 +45,7 @@ repositories {
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
google()

flatDir {
dirs 'libs'
Expand All @@ -63,7 +65,7 @@ android {
}

compileSdkVersion 25
buildToolsVersion '25.0.0'
buildToolsVersion '25.0.2'

defaultConfig {
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
Expand All @@ -78,14 +80,18 @@ android {
// adapt structure from Eclipse to Gradle/Android Studio expectations;
// see http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Configuring-the-Structure

flavorDimensions "default"

productFlavors {
// used for f-droid
generic {
applicationId 'com.nextcloud.client'
dimension "default"
}

gplay {
applicationId 'com.nextcloud.client'
dimension "default"
}

modified {
Expand All @@ -94,6 +100,7 @@ android {
// domain name
// .client
applicationId 'com.custom.client'
dimension "default"
}
}

Expand All @@ -111,11 +118,6 @@ android {
preDexLibraries = preDexEnabled && !travisBuild
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}

packagingOptions {
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/LICENSE'
Expand Down Expand Up @@ -143,10 +145,10 @@ android {
xml.enabled = false
html.enabled = true
xml {
destination "$project.buildDir/reports/pmd/pmd.xml"
destination = file("$project.buildDir/reports/pmd/pmd.xml")
}
html {
destination "$project.buildDir/reports/pmd/pmd.html"
destination = file("$project.buildDir/reports/pmd/pmd.html")
}
}
}
Expand All @@ -165,67 +167,63 @@ android {
xml.enabled = false
html.enabled = true
html {
destination "$project.buildDir/reports/findbugs/findbugs.html"
destination = file("$project.buildDir/reports/findbugs/findbugs.html")
}
}
classpath = files()
}
check.dependsOn 'checkstyle', 'findbugs', 'pmd', 'lint'

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}

dependencies {
/// dependencies for app building
compile name: 'touch-image-view'
compile 'com.android.support:multidex:1.0.1'

compile 'com.github.nextcloud:android-library:1.0.22'
compile "com.android.support:support-v4:${supportLibraryVersion}"
compile "com.android.support:design:${supportLibraryVersion}"
compile 'com.jakewharton:disklrucache:2.0.2'
compile "com.android.support:appcompat-v7:${supportLibraryVersion}"
compile "com.android.support:cardview-v7:${supportLibraryVersion}"
compile 'com.github.tobiasKaminsky:android-floating-action-button:1.10.2'
compile 'com.google.code.findbugs:annotations:2.0.1'
compile group: 'commons-io', name: 'commons-io', version: '2.4'
compile 'com.github.evernote:android-job:v1.1.9'
compile 'com.jakewharton:butterknife:8.4.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
compile 'org.greenrobot:eventbus:3.0.0'
compile 'com.googlecode.ez-vcard:ez-vcard:0.10.2'

implementation name: 'touch-image-view'
implementation 'com.android.support:multidex:1.0.2'
implementation 'com.github.nextcloud:android-library:1.0.23'
implementation "com.android.support:support-v4:${supportLibraryVersion}"
implementation "com.android.support:design:${supportLibraryVersion}"
implementation 'com.jakewharton:disklrucache:2.0.2'
implementation "com.android.support:appcompat-v7:${supportLibraryVersion}"
implementation "com.android.support:cardview-v7:${supportLibraryVersion}"
implementation "com.android.support:exifinterface:${supportLibraryVersion}"
implementation 'com.github.tobiasKaminsky:android-floating-action-button:1.10.2'
implementation 'com.google.code.findbugs:annotations:2.0.1'
implementation 'commons-io:commons-io:2.5'
implementation 'com.github.evernote:android-job:v1.1.11'
implementation 'com.jakewharton:butterknife:8.5.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'
implementation 'org.greenrobot:eventbus:3.0.0'
implementation 'com.googlecode.ez-vcard:ez-vcard:0.10.2'
implementation 'org.lukhnos:nnio:0.2'
// uncomment for gplay, modified
// compile "com.google.firebase:firebase-messaging:${googleLibraryVersion}"
// compile "com.google.android.gms:play-services-base:${googleLibraryVersion}"

compile 'org.parceler:parceler-api:1.1.6'
// implementation "com.google.firebase:firebase-messaging:${googleLibraryVersion}"
// implementation "com.google.android.gms:play-services-base:${googleLibraryVersion}"
implementation 'org.parceler:parceler-api:1.1.6'
annotationProcessor 'org.parceler:parceler:1.1.6'

compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.caverock:androidsvg:1.2.1'

implementation 'com.github.bumptech.glide:glide:3.7.0'
implementation 'com.caverock:androidsvg:1.2.1'
/// dependencies for local unit tests
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:1.10.19'

testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:1.10.19'
/// dependencies for instrumented tests
// JUnit4 Rules
androidTestCompile 'com.android.support.test:rules:0.5'

androidTestImplementation 'com.android.support.test:rules:0.5'
// Android JUnit Runner
androidTestCompile 'com.android.support.test:runner:0.5'

androidTestImplementation 'com.android.support.test:runner:0.5'
// Android Annotation Support
androidTestCompile "com.android.support:support-annotations:${supportLibraryVersion}"

androidTestImplementation "com.android.support:support-annotations:${supportLibraryVersion}"
// Espresso core
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'

androidTestImplementation 'com.android.support.test.espresso:espresso-core:2.2.2'
// UIAutomator - for cross-app UI tests, and to grant screen is turned on in Espresso tests
//androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'
//androidTestImplementation 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'
// fix conflict in dependencies; see http://g.co/androidstudio/app-test-app-conflict for details
//androidTestCompile "com.android.support:support-annotations:${supportLibraryVersion}"

//androidTestImplementation "com.android.support:support-annotations:${supportLibraryVersion}"
implementation 'org.jetbrains:annotations:15.0'
}

configurations.all {
Expand Down
1 change: 1 addition & 0 deletions drawable_resources/ic_folder_star.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
android.enableAapt2=false
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Mar 15 00:10:20 CET 2017
#Fri May 05 19:09:31 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
1 change: 1 addition & 0 deletions lint.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
<lint>
<issue id="InvalidPackage">
<ignore path="**/freemarker-2.3.23.jar"/>
<ignore path="**/nnio-0.2.jar"/>
</issue>
</lint>
2 changes: 1 addition & 1 deletion scripts/lint/lint-results.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
DO NOT TOUCH; GENERATED BY DRONE
<span class="mdl-layout-title">Lint Report: 10 errors and 676 warnings</span>
<span class="mdl-layout-title">Lint Report: 3 errors and 653 warnings</span>
4 changes: 2 additions & 2 deletions src/gplay/java/com/owncloud/android/utils/PushUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ private static void deleteRegistrationForAccount(Account account) {
remoteOperationResult = unregisterAccountDeviceForProxyOperation.execute(mClient);

if (remoteOperationResult.isSuccess()) {
arbitraryDataProvider.deleteKeyForAccount(account, KEY_PUSH);
arbitraryDataProvider.deleteKeyForAccount(account.name, KEY_PUSH);
}
}
}
Expand Down Expand Up @@ -244,7 +244,7 @@ public static void pushRegistrationToServer() {
PushConfigurationState pushArbitraryData = new PushConfigurationState(token,
pushResponse.getDeviceIdentifier(), pushResponse.getSignature(),
pushResponse.getPublicKey(), false);
arbitraryDataProvider.storeOrUpdateKeyValue(account, KEY_PUSH,
arbitraryDataProvider.storeOrUpdateKeyValue(account.name, KEY_PUSH,
gson.toJson(pushArbitraryData));
}
}
Expand Down
42 changes: 8 additions & 34 deletions src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<activity android:name=".ui.activity.ParticipateActivity" />
<activity android:name=".ui.activity.ActivitiesListActivity"
android:configChanges="orientation|screenSize|keyboardHidden" />
<activity android:name=".ui.activity.FolderSyncActivity" />
<activity android:name=".ui.activity.SyncedFoldersActivity"/>
<activity android:name=".ui.activity.UploadFilesActivity" />
<activity android:name=".ui.activity.ExternalSiteWebView"
android:configChanges="orientation|screenSize|keyboardHidden" />
Expand Down Expand Up @@ -120,6 +120,11 @@
android:label="@string/app_name"
android:theme="@style/Theme.ownCloud.Fullscreen" />

<service
android:name=".jobs.NContentObserverJob"
android:permission="android.permission.BIND_JOB_SERVICE" >
</service>

<service
android:name=".authentication.AccountAuthenticatorService"
android:exported="true" >
Expand All @@ -131,7 +136,7 @@
android:name="android.accounts.AccountAuthenticator"
android:resource="@xml/authenticator" />
</service>
<service android:name=".services.observer.SyncedFolderObserverService"/>

<service
android:name=".syncadapter.FileSyncService"
android:exported="true" >
Expand Down Expand Up @@ -160,7 +165,7 @@
android:label="@string/search_users_and_groups_hint" />

<provider
android:name="org.nextcloud.providers.DocumentsStorageProvider"
android:name=".providers.DocumentsStorageProvider"
android:authorities="@string/document_provider_authority"
android:exported="true"
android:grantUriPermissions="true"
Expand Down Expand Up @@ -226,43 +231,12 @@
<activity android:name=".ui.activity.UploadListActivity" />
<activity android:name=".ui.activity.WhatsNewActivity"
android:theme="@style/Theme.ownCloud.noActionBar.Login" />

<receiver android:name=".files.services.ConnectivityActionReceiver"
android:enabled="true" android:label="ConnectivityActionReceiver">
<intent-filter>
<!--action android:name="android.net.conn.CONNECTIVITY_CHANGE"/-->
<action android:name="android.net.wifi.STATE_CHANGE"/>
<action android:name="android.intent.action.ACTION_POWER_CONNECTED"/>
<action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/>
</intent-filter>
</receiver>
<receiver android:name=".files.InstantUploadBroadcastReceiver">
<intent-filter>

<!-- unofficially supported by many Android phones but not by HTC devices: -->
<action android:name="com.android.camera.NEW_PICTURE" />
<!-- officially supported since Android 4.0 (SDK 14, works even for HTC devices): -->
<action android:name="android.hardware.action.NEW_PICTURE" />

<data android:mimeType="image/*" />
</intent-filter>
<intent-filter>
<action android:name="android.hardware.action.NEW_VIDEO" />

<data android:mimeType="video/*" />
</intent-filter>
</receiver>
<receiver android:name=".files.BootupBroadcastReceiver" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<receiver android:name=".services.ShutdownReceiver">
<intent-filter>
<action android:name="android.intent.action.ACTION_SHUTDOWN" />
<action android:name="android.intent.action.QUICKBOOT_POWEROFF" />
</intent-filter>
</receiver>


<service android:name=".services.observer.FileObserverService" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public abstract class SectionedRecyclerViewAdapter<VH extends RecyclerView.ViewH

private final ArrayMap<Integer, Integer> mHeaderLocationMap;
private GridLayoutManager mLayoutManager;
private ArrayMap<Integer, Integer> mSpanMap;
private boolean mShowHeadersForEmptySections;

public SectionedRecyclerViewAdapter() {
Expand Down
Loading