NewPipe/app/src/main/res
kapodamy e6d9d8e26d code cleanup
* migrate few annotations to androidx
* mission recovery: better error handling (except StreamExtractor.getErrorMessage() method always returns an error)
* post-processing: more detailed progress

[file specific changes]

DownloadMission.java
* remove redundant/boilerplate code (again)
* make few variables volatile
* better file "length" approximation
* use "done" variable to count the amount of bytes downloaded (simplify percent calc in UI code)

Postprocessing.java
* if case of error use "ERROR_POSTPROCESSING" instead of "ERROR_UNKNOWN_EXCEPTION"
* simplify source stream init

DownloadManager.java
* move all "service message sending" code to DownloadMission
* remove not implemented method "notifyUserPendingDownloads()" also his unused strings

DownloadManagerService.java
* use START_STICKY instead of START_NOT_STICKY
* simplify addMissionEventListener()/removeMissionEventListener() methods (always are called from the main thread)

Deleter.java
* better method definition

MissionAdapter.java
* better method definition
* code cleanup
* the UI is now refreshed every 750ms
* simplify download progress calculation
* indicates if the download is actually recovering
* smooth download speed measure
* show estimated remain time

MainFragment.java:
* check if viewPager is null (issued by "Apply changes" feature of Android Studio)
2019-11-26 10:46:31 -03:00
..
anim Fix and improve service switching (introduced colors) 2018-01-30 05:07:40 -02:00
animator
drawable Implement playback state management 2019-04-13 13:34:36 +03:00
drawable-hdpi New MP4 muxer + Queue changes + Storage fixes 2019-06-03 18:09:43 -03:00
drawable-ldrtl-hdpi
drawable-ldrtl-mdpi vector -> png 2018-11-26 01:18:02 +05:30
drawable-ldrtl-xhdpi delete list and grid icons 2019-01-22 18:53:29 -03:00
drawable-ldrtl-xxhdpi
drawable-ldrtl-xxxhdpi
drawable-mdpi New MP4 muxer + Queue changes + Storage fixes 2019-06-03 18:09:43 -03:00
drawable-nodpi add theming to mediaccc 2019-01-29 15:39:18 +01:00
drawable-v23 remove splash for older android 2019-02-05 18:24:34 +01:00
drawable-xhdpi New MP4 muxer + Queue changes + Storage fixes 2019-06-03 18:09:43 -03:00
drawable-xxhdpi New MP4 muxer + Queue changes + Storage fixes 2019-06-03 18:09:43 -03:00
drawable-xxxhdpi New MP4 muxer + Queue changes + Storage fixes 2019-06-03 18:09:43 -03:00
layout Merge pull request #2685 from Redirion/androidx3 2019-10-07 01:51:20 +02:00
layout-land Migrate to AndroidX 2019-10-04 14:59:08 +02:00
layout-large-land Migrate to AndroidX 2019-10-04 14:59:08 +02:00
layout-v21 add content description for toggle service button 2019-09-22 11:59:50 +02:00
menu update download_menu.xml 2019-08-10 15:56:59 -03:00
mipmap-anydpi-v26
mipmap-hdpi
mipmap-mdpi
mipmap-xhdpi
mipmap-xxhdpi
mipmap-xxxhdpi
values code cleanup 2019-11-26 10:46:31 -03:00
values-ar code cleanup 2019-11-26 10:46:31 -03:00
values-az Removed incorrect explanations of the M4A and WebM audio formats 2018-08-12 23:46:21 -03:00
values-b+ast Merge remote-tracking branch 'Weblate/dev' into dev 2019-11-03 13:01:55 +01:00
values-b+zh+HANS+CN Translated using Weblate (Chinese (Simplified)) 2019-11-19 15:04:47 +01:00
values-be code cleanup 2019-11-26 10:46:31 -03:00
values-bg Merge branch 'origin/dev' into Weblate. 2019-10-11 16:00:20 +02:00
values-bn-rBD Translated using Weblate (Bengali (Bangladesh)) 2019-09-25 14:14:38 +02:00
values-ca Fix broken video count text translations 2019-10-10 22:56:20 -03:00
values-cmn code cleanup 2019-11-26 10:46:31 -03:00
values-cs code cleanup 2019-11-26 10:46:31 -03:00
values-da code cleanup 2019-11-26 10:46:31 -03:00
values-de code cleanup 2019-11-26 10:46:31 -03:00
values-el code cleanup 2019-11-26 10:46:31 -03:00
values-eo Translated using Weblate (Esperanto) 2019-11-14 01:03:22 +01:00
values-es code cleanup 2019-11-26 10:46:31 -03:00
values-et code cleanup 2019-11-26 10:46:31 -03:00
values-eu code cleanup 2019-11-26 10:46:31 -03:00
values-fa Translated using Weblate (Persian) 2019-10-18 20:52:50 +02:00
values-fi Translated using Weblate (Finnish) 2019-11-16 23:06:01 +01:00
values-fil Translated using Weblate (Filipino) 2019-10-08 14:57:29 +02:00
values-fr code cleanup 2019-11-26 10:46:31 -03:00
values-gl Clean up string resources 2019-08-12 17:35:36 +02:00
values-he code cleanup 2019-11-26 10:46:31 -03:00
values-hi Translated using Weblate (Hindi) 2019-11-14 01:03:25 +01:00
values-hr code cleanup 2019-11-26 10:46:31 -03:00
values-hu Fix broken video count text translations 2019-10-10 22:56:20 -03:00
values-hy
values-id code cleanup 2019-11-26 10:46:31 -03:00
values-it code cleanup 2019-11-26 10:46:31 -03:00
values-ja code cleanup 2019-11-26 10:46:31 -03:00
values-ko code cleanup 2019-11-26 10:46:31 -03:00
values-ku Removed incorrect explanations of the M4A and WebM audio formats 2018-08-12 23:46:21 -03:00
values-land Show streams states for local lists 2019-04-15 22:18:24 +03:00
values-lt Clean up string resources 2019-08-12 17:35:36 +02:00
values-mk Translated using Weblate (Macedonian) 2019-11-10 00:04:25 +01:00
values-ms code cleanup 2019-11-26 10:46:31 -03:00
values-nb-rNO code cleanup 2019-11-26 10:46:31 -03:00
values-ne Merge branch 'weblate' into release_v0.17.0 2019-08-01 01:44:25 +02:00
values-nl code cleanup 2019-11-26 10:46:31 -03:00
values-nl-rBE code cleanup 2019-11-26 10:46:31 -03:00
values-pa code cleanup 2019-11-26 10:46:31 -03:00
values-pl code cleanup 2019-11-26 10:46:31 -03:00
values-pr Added translation using Weblate (Pirate) 2019-10-15 17:13:04 +02:00
values-pt code cleanup 2019-11-26 10:46:31 -03:00
values-pt-rBR code cleanup 2019-11-26 10:46:31 -03:00
values-ro Translated using Weblate (Romanian) 2019-10-08 14:57:30 +02:00
values-ru code cleanup 2019-11-26 10:46:31 -03:00
values-sk code cleanup 2019-11-26 10:46:31 -03:00
values-sl Merge branch 'dev' into removeextra 2019-06-26 15:42:47 +02:00
values-sq Webm muxer fixes and strings.xml changes 2019-06-03 18:24:49 -03:00
values-sr Merge branch 'weblate' into dev 2019-08-12 17:25:10 +02:00
values-sv Translated using Weblate (Swedish) 2019-11-16 23:06:00 +01:00
values-sw600dp
values-sw600dp-land
values-ta Clean up string resources 2019-08-12 17:35:36 +02:00
values-te Translated using Weblate (Telugu) 2019-08-29 21:23:31 +02:00
values-th Fix broken video count text translations 2019-10-10 22:56:20 -03:00
values-tr code cleanup 2019-11-26 10:46:31 -03:00
values-uk code cleanup 2019-11-26 10:46:31 -03:00
values-ur Translated using Weblate (Urdu) 2019-10-22 03:31:42 +02:00
values-v21 add theming to mediaccc 2019-01-29 15:39:18 +01:00
values-vi code cleanup 2019-11-26 10:46:31 -03:00
values-w820dp
values-zh-rCN Clean up string resources 2019-08-12 17:35:36 +02:00
values-zh-rHK Translated using Weblate (Chinese (Hong Kong)) 2019-10-11 16:00:17 +02:00
values-zh-rTW code cleanup 2019-11-26 10:46:31 -03:00
xml Show parsed relative times instead of whatever the service gives us 2019-11-17 23:58:55 -03:00
values-iw Fix Hebrew translation on some devices 2019-10-12 12:21:01 +03:00