summaryrefslogtreecommitdiff
path: root/core/src/main/java
AgeCommit message (Collapse)Author
2019-05-18Enable autodownload over EthernetJoe Stein
2019-05-17Moved notification setup to new classByteHamster
2019-05-17Added logging in cases where service did not know how to handle intentByteHamster
2019-05-17Do not try to display notification two timesByteHamster
The Thread is interrupted which leads to an empty notification
2019-05-17Cherry-Pick: Add a generic java8-like Optional classorionlee
For use with RxJava2 where null was to be returned (RxJava2 requires non-null). Cherry-picked from PR #2954
2019-05-17Revert "Merge pull request #2954 from ↵ByteHamster
orionlee/bugfix_phantom_notification_rework_2716" This reverts commit 643173de14ade8acfa5e6b92464482c7402e172e, reversing changes made to f2d103736d20bca481817808ee73b240fc2f7be4.
2019-05-08Do not deadlockByteHamster
The Android internal media player blocks its `start()` call until the seek listener completes. The seek listener is called on the main thread even though `start()` is called on the executor. This makes the main thread wait for the lock and the executor (which has the lock) wait for the main thread to finish the call to the listener.
2019-05-08Fixed NPEByteHamster
2019-05-07Do not deadlock on seek when using SonicByteHamster
Callbacks are called on the thread that created the MediaPlayer. For Sonic, this is the executor. For ExoPlayer, this is the main thread. When calling executor.submit, every thread waiting for the runnable to complete gets blocked. Because the callback is called in the thread that created the player, we can simply remove the call to executor.submit and still be sure that a background thread is used.
2019-05-07Do not block when using Sonic+Sleep timerByteHamster
2019-05-03Added names for threadsByteHamster
So it is easier to identify problems in bug reports
2019-04-27Fixed sleep timer ANR (Closes #3139)ByteHamster
2019-04-19Merge pull request #2957 from orionlee/bugfix_app_anr_in_auto_feed_update_2956H. Lehmann
Prevent app crash during some automatic feed update
2019-04-16Fixed NetworkOnMainThreadExceptionByteHamster
2019-04-14No locks are needed if everything is executed on main threadByteHamster
2019-04-11Merge pull request #3097 from ByteHamster/exoplayer-main-threadH. Lehmann
Executing all ExoPlayer methods on main thread
2019-04-11Clarified that it is using caller thread. not main threadByteHamster
2019-04-10Do not hold state in fragmentsByteHamster
2019-04-07Fix Sonic playbackByteHamster
2019-04-07Merge branch 'develop' into exoplayer-main-threadByteHamster
2019-04-07Executing all ExoPlayer methods on main threadByteHamster
2019-04-06fix rebase conflicts - remove the incorrect @NonNull from rxjavaorionlee
2019-04-06#2966 RxJava2 null - case the underlying method may return null, butorionlee
should never happen in the code path, e.g., return the current FeedItem in ItemFragment UI. Mark underlying method as @Nullable, and let observer's existing onError() to handle null case Rx observer : underlying sources marked as @Nullable ItemFragment.load : .loadInBackground MediaplayerActivity.checkFavorite : DBReader.getFeedItem ItemDescriptionFragment.onViewCreated : DBReader.getFeedItem ItemlistFragment.loadItems : .loadData
2019-04-06#2966 RxJava2 null - explicit mark underlying Rx sources as NonNullorionlee
to be on the safe side, for cases that the consuming observers checks null unnecessarily. Rx observer : underlying sources marked as NonNull OnlineFeedViewActivity.startFeedDownload : Downloader.getResult AllEpisodesFragment.loadItems : AllEpisodesFragment.loadData PlaybackHistoryFragment.loadItems : DBReader.getPlaybackHistory QueueFragment.loadItems : DBReader.getQueue SearchFragment.search : .performSearch
2019-04-06#2966 RxJava2 null - explicit mark underlying Rx sources as NonNullorionlee
to be on the safe side, for cases that the consuming observers already assumes the result is not null. Rx observer : underlying sources marked as NonNull OnlineFeedViewActivity.listener member : DBReader.getFeedList StatisticsActivity.loadStatistics : DBReader.getStatistics CustomMRControllerDialog.updateViews : CustomMRControllerDialog.fetchArt CompletedDownloadsFragment.loadItems : DBReader.getDownloadedItems DownloadLogFragment.loadItems : DBReader.getDownloadedItems ItemDescriptionFragment.onViewCreated : .loadData, Timeline.processShownotes SubscriptionFragment.loadSubscriptions : DBReader.getNavDrawerData SubscriptionFragment.onContextItemSelected (x2) : DBWriter.markFeedSeen, DBWriter.markFeedRead PreferenceController.export : ExportWorker.output member
2019-04-06Merge pull request #3083 from orionlee/bulk_remove_from_queue_1145H. Lehmann
Bulk remove from queue
2019-04-04Merge pull request #2954 from orionlee/bugfix_phantom_notification_rework_2716H. Lehmann
Fix phantom service notification
2019-04-03bulk edit - refactor - reorder method parameter for ↵orionlee
DBWriter.removeQueueItem(Context, FeedItem, boolean) to be consistent with the rest of the API.
2019-04-03Respect 'keep updated' for new items counterByteHamster
2019-04-03Review changesByteHamster
2019-04-02bulk remove from queue - backend - implement the new APIorionlee
2019-04-02bulk remove from queue - backend - refactor existing logic to support bulk ↵orionlee
remove
2019-04-02bulk remove from queue - frontend logic, with a stub backend.orionlee
2019-04-02Use ApOkHttpUrlLoader for all imagesByteHamster
Probably got broken during my Glide update. When using append or prepend, Glide uses the next one in the chain if ApOkHttpUrlLoader blocks
2019-04-02Add preference to allow mobile updates of imagesByteHamster
2019-03-31Validate that the item state is only changed when neededBorjan Tchakaloff
Follow-up to commit 8172d87477dd593745d4776417ef3dd7884d17fb (#3067) that adds test coverage for the resolved issue. Also, fix that commit by making the update condition more explicit: the FeedItem state is only changed when a state switch is necessary. In other words, an item marked as *new* that gets downloaded should lose the *new* mark and gain the *unplayed* mark instead.
2019-03-31Merge pull request #3073 from deandreamatias/fix-button-shadow-3040H. Lehmann
Fix #3040 Video playback control button shadow
2019-03-30Merge pull request #3068 from bibz/developMartin Fietz
Do not reset item "played" flag on media download
2019-03-29Change the icons in interface #3040Matias de Andrea
2019-03-27Merge pull request #3066 from ↵H. Lehmann
orionlee/bugfix_statistics_played_duration_inflated_2162 bugfix - statistics - inflated actual played duration
2019-03-25Do not reset item "played" flag on media downloadBorjan Tchakaloff
If an item has already been played, downloading its media will not reset that "played" flag. Fixes: #3067
2019-03-24#2162 bugfix - statistics - inflated actual played durationorionlee
2019-03-08Fix #3054: use UTF-8 to encode password and username for gpodder authMatthieu De Beule
2019-03-05remove the commented stopService() call (to avoid future confusion)orionlee
2019-03-05remove the stopService() per review (which might unnecessarilyorionlee
stop the playback when unsupported media buttons are pressed.)
2019-03-04remove dead codesorionlee
2019-03-04coding style fix per revieworionlee
2019-03-03Another atempt at fixing the regexNathan Mascitelli
2019-03-02Fix regexNathan Mascitelli
2019-03-02Adjust regext to ignore X:Y timecodesNathan Mascitelli