summaryrefslogtreecommitdiff
path: root/app/src/main/java/de/danoeh/antennapod/dialog/SleepTimerDialog.java
AgeCommit message (Collapse)Author
2021-02-15Removed method that does the same as loadMediaInfo anywayByteHamster
2021-02-15Removed return parameter of loadMediaInfoByteHamster
We return true anyways. The call for actually loading is asynchronous, so returning anything here does not make sense. Reduces likelihood of loader being interrupted to just load the same item again when the state changes.
2021-01-01feat: add five, ten and twenty minutes sleep timer extend buttons (#4803)Max Wittig
2020-12-14Remove unused import statements to reduce dependenciesHerbert Reiter
2020-09-08close keyboard when sleep time has been selectedasdoi
2020-05-20Sleep timer adjustmentsByteHamster
- Close button instead of OK - Save settings on-the-fly
2020-05-03Replaced some Toasts with SnackbarsByteHamster
2020-03-26Removed unused code from PlaybackControllerByteHamster
2020-02-01Updated sleep timer UIByteHamster
2019-11-06Removed MaterialDialog dependencyByteHamster
The AlertDialogs from Androidx are material, too.
2019-04-12Upgraded EventBus to v3ByteHamster
Also made sure that register/unregister are called in onStart/onStop instead of onResume/onPause (prevents possible MultiWindow problems where updates are not received because activity is not fucused).
2018-10-21Remove redundant type castsegsavage
2018-01-14Add final modifiersMartin Fietz
2018-01-07Cleanup order/remove unused includesDirk Mueller
This is the result of Android Studio's include cleanup Macro. This removes some no longer used includes, simplifying the code a bit. The rest is grouping and resorting alphabetically.
2016-12-04Turn auto enable sleep timer on/off immediatelyMartin Fietz
2016-10-09Add dialog option to auto-enable sleep timerMartin Fietz
2016-10-09Extract sleep timer preferences into dedicated classMartin Fietz
2016-03-22code cleaning:Domingos Lopes
- lambda expressions, method references, - multi catches, - remove unnecessary keywords (public keyword on interface method signatures, static on interfaces or enums, final on private method signatures), - == false expressions, - diamond type (<>) expressions, - replace StringBuffer with StringBuilder for local variables used by a single thread, - replace Arrays.asList with Collections.singletonList whenever applicable, - inline variable returns (whenever the variable name's meaning is not important to understand the code), - replace some chains of if/else if/... with switch/case, - break append(a + b) into append(a).append(b) for StringBuilder objects, - unused import statements, - reduce log TAGs to 23 characters, - MaterialDialog callback deprecated, - ActionBarActivity for AppCompatActivity,
2016-03-14Avoid unneeded boxingAndrew Gaul
Found via FindBugs.
2015-11-08Sleep timer dialogMartin Fietz
2015-09-05Sleep Timer dialog remembers settingsMartin Fietz
2015-09-05Add options to sleep timer dialogMartin Fietz