File tree Expand file tree Collapse file tree
app/src/main/java/org/schabi/newpipe/player/helper Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,11 +87,11 @@ public static void resetFormat() {
8787 }
8888
8989 @ NonNull
90- public static String getTimeString (final int milliSeconds ) {
91- final int seconds = (milliSeconds % 60000 ) / 1000 ;
92- final int minutes = (milliSeconds % 3600000 ) / 60000 ;
93- final int hours = (milliSeconds % 86400000 ) / 3600000 ;
94- final int days = (milliSeconds % (86400000 * 7 )) / 86400000 ;
90+ public static String getTimeString (final long milliSeconds ) {
91+ final long seconds = (milliSeconds % 60000 ) / 1000 ;
92+ final long minutes = (milliSeconds % 3600000 ) / 60000 ;
93+ final long hours = (milliSeconds % 86400000 ) / 3600000 ;
94+ final long days = (milliSeconds % (86400000 * 7 )) / 86400000 ;
9595
9696 final Formatters formatters = FORMATTERS_PROVIDER .formatters ();
9797 if (days > 0 ) {
You can’t perform that action at this time.
0 commit comments