Commit graph

10723 commits

Author SHA1 Message Date
AndyScherzinger
379c461f33
Also use lambda for sorting 2018-06-06 14:33:05 +02:00
eho
51eab2457d
util: Use lambdas where applicable in the FileSortOrderByName/Size classes. 2018-06-06 14:27:51 +02:00
eho
754419090d
util: Made FileSortOrderByName and FileSortOrderBySize package private.
- Follows principle of least privilege.
2018-06-06 14:27:51 +02:00
Nextcloud bot
bb9a6a5364
[tx-robot] updated from transifex 2018-06-06 00:47:06 +00:00
Tobias Kaminsky
3fdd799086 daily dev 20180606 2018-06-06 00:32:09 +02:00
Andy Scherzinger
0b2c986c0f
Merge pull request #2648 from nextcloud/resumeDetailView
File detail view: store file/account when suspending fragments
2018-06-05 16:39:26 +02:00
tobiasKaminsky
60a0df7020
use correct exception
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-05 14:52:12 +02:00
Andy Scherzinger
4417123c5c
Merge pull request #2680 from nextcloud/accountTypeWithContext
Use context instead of static getAppContext
2018-06-05 13:43:44 +02:00
tobiasKaminsky
b4b1790ef6
Use context instead of static getAppContext 2018-06-05 13:19:17 +02:00
Andy Scherzinger
431386db85
Merge pull request #2550 from nextcloud/whiteTheming
White theming
2018-06-05 13:08:29 +02:00
AndyScherzinger
c5e5868eec
ignore restricted API lint error for tinting a spinner icon 2018-06-05 12:58:42 +02:00
AndyScherzinger
119b8a5943
fix zip icon tinting after rebase 2018-06-05 12:46:37 +02:00
tobiasKaminsky
7ae333635a
tint search view in upload activity
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-05 12:35:02 +02:00
tobiasKaminsky
df01428150
tint spinner
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-05 12:35:02 +02:00
tobiasKaminsky
ebb04db951
tint action bar icon
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-05 12:35:01 +02:00
tobiasKaminsky
1c6fec7192
tint remove file dialog buttons
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-05 12:35:01 +02:00
tobiasKaminsky
8b2d082d32
tint pin elements
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-05 12:35:00 +02:00
tobiasKaminsky
9bb708dd08
tint "report button"
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-05 12:35:00 +02:00
tobiasKaminsky
b13a3ae680
tint also upload file list
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-05 12:34:59 +02:00
tobiasKaminsky
c32e47f4ce
White theming
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-06-05 12:34:51 +02:00
Mario Đanić
b48a6e8d8e
Merge pull request #2626 from nextcloud/menuHelper
Shorten code and improve readability via a menu helper
2018-06-05 07:56:06 +02:00
Mario Đanić
c5bca087f2
Merge pull request #2631 from nextcloud/tintZip
tint zip icon same as folder icon
2018-06-05 07:55:00 +02:00
Mario Đanić
648b02ee8a
Merge pull request #2649 from nextcloud/finishPreferences
Explicitly finish preferences
2018-06-05 07:53:40 +02:00
Mario Đanić
f123c269f0
Merge pull request #2651 from nextcloud/resultOnStoppedAsync
Do not process result of async task if activity is stopped
2018-06-05 07:53:09 +02:00
Mario Đanić
2d4cb825f9
Merge pull request #2661 from nextcloud/rewordEmptyActivity
Reword empty activity message
2018-06-05 07:52:31 +02:00
Mario Đanić
e49b1706ff
Merge pull request #2683 from nextcloud/override-annotations
util: Added @Override annotation where applicable.
2018-06-05 07:49:46 +02:00
Tobias Kaminsky
b86d1adfb4 daily dev 20180605 2018-06-05 00:32:02 +02:00
eho
62fe30134c util: Added @Override annotation where applicable.
Using the @Override annotation is useful for two reasons :

It elicits a warning from the compiler if the annotated method doesn't actually override anything, as in the case of a misspelling.
It improves the readability of the source code by making it obvious that methods are overridden.
2018-06-04 16:10:08 +02:00
eho
b1e032cd6c ui:fragment: Use isEmpty() to check if list of activities is empty.
Using Collection.size() to test for emptiness works, but using Collection.isEmpty() makes the code more readable and can be more performant
2018-06-04 16:07:29 +02:00
AndyScherzinger
4c6ffea5e4
massively shorten code and improve readability via a menu helper 2018-06-04 15:21:59 +02:00
Andy Scherzinger
9385f5d2f2
Merge pull request #2666 from nextcloud/ignoreLint-setJavaScriptEnabled
lint: ignore setJavaScriptEnabled
2018-06-04 14:25:19 +02:00
nextcloud-android-bot
6720bed292 Drone: update Lint results to reflect reduced error/warning count [skip ci] 2018-06-04 11:22:50 +00:00
Andy Scherzinger
6923d41db3
Merge eb7e5f735d into 682c177866 2018-06-04 11:20:57 +00:00
AndyScherzinger
eb7e5f735d
lint: ignore setJavaScriptEnabled 2018-06-04 13:20:33 +02:00
Mario Đanić
682c177866
Merge pull request #2665 from nextcloud/fixTransifexMapping
fix transifex mappings: he->iw and id->in
2018-06-04 12:11:43 +02:00
nextcloud-android-bot
a54cc9c683
Drone: update Lint results to reflect reduced error/warning count [skip ci] 2018-06-02 22:23:21 +02:00
AndyScherzinger
afc32f1cf1
fix he->iw and id->in 2018-06-02 22:23:21 +02:00
Nextcloud bot
18755ba08c
[tx-robot] updated from transifex 2018-06-02 00:45:28 +00:00
Tobias Kaminsky
ed9df6879f daily dev 20180602 2018-06-02 00:31:55 +02:00
Nextcloud bot
f7f988bc15
[tx-robot] updated from transifex 2018-05-31 00:47:30 +00:00
tobiasKaminsky
6cf37f3a0d
reword empty activity
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-05-30 13:45:50 +02:00
tobiasKaminsky
8d7b16b3ca
do not process result of async task if activity is stopped
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-05-30 11:07:34 +02:00
Andy Scherzinger
8c5f564253
Merge pull request #2650 from nextcloud/explicitAllowGCM
Explicitly allow gcm on gplay
2018-05-30 10:32:22 +02:00
Andy Scherzinger
c9beb477d1
Merge pull request #2647 from nextcloud/fixSearch
Fix search events
2018-05-30 10:31:50 +02:00
tobiasKaminsky
c1b1bc8fab
explicitly allow gcm on gplay
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-05-30 09:25:43 +02:00
tobiasKaminsky
7f28bad63e
explicitly finish preferences
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-05-30 08:23:49 +02:00
tobiasKaminsky
e718f49dea
store file/account when suspending fragments
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-05-30 07:29:52 +02:00
tobiasKaminsky
cf8478b80d
as we use singleTop, we shall not start a new activity
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-05-30 06:34:11 +02:00
Nextcloud bot
d598c3afcf
[tx-robot] updated from transifex 2018-05-30 00:47:59 +00:00
Nextcloud bot
455a92849f
[tx-robot] updated from transifex 2018-05-29 11:28:08 +00:00