13 Commits

Author SHA1 Message Date
Adrian Ulrich
0e1b9a327b simplify sd scanner code 2016-07-03 15:59:03 +02:00
Xiao Bao Clark
0736bc54b0 Ignore files with size 0
Attempt to fix a problem on 4.1.1 where non-file backed playlists
passed to "MediaScannerConnection.scanFile()" are deleted
2016-06-19 15:15:58 +10:00
Xiao Bao Clark
42c85f59e2 Remove SDScanner MainActivity 2016-06-12 13:41:43 +10:00
Xiao Bao Clark
f9f8962064 Convert SDScanner MainActivity to fragment 2016-06-12 13:38:14 +10:00
Xiao Bao Clark
534f09e645 Add SDScanner sources
From https://github.com/jerickson314/sdscanner.git, commit 4f7a0aa
2016-06-12 13:22:30 +10:00
Adrian Ulrich
4671261f1c Squashed merge of the material-polish branch 2015-12-28 14:18:48 +01:00
Xiao Bao Clark
4df8ce0942 Revert "Attempt to fix #113"
This reverts commit 7835436a3553f36e6457f8900ac9a5763b2bfbec.

Commit 7835436a attempted to fix the rare DSLV crash described in #113
by passing all touch events to the gesture detector. This includes
touches that occur when the drag is disabled or the list view wants to
intercept the event, and so is marginally undesirable. Also a factor is
that the DSLV code is taken from a third-party project, and so should be
kept as consistent as possible with upstream.

The attempt appears to not have worked, so a more direct workaround was
implemented in commit 4556d50ed, making 7835436a redundant. This commit
reverts 7835436a.
2015-10-09 07:58:53 +11:00
Xiao Bao Clark
4556d50eda DragSortController: Check for null MotionEvent arguments (#202)
This fixes a rare crash on Samsung Galaxy S6 devices. The null arguments
appear to be caused by the GestureDetector not receiving an ACTION_DOWN
event before receiving an ACTION_MOVE event.

As we are unable to reproduce it, this commit work around the issue. It
might cause some scrolling issues in the cases that cause the issue, but
better than crashing.
2015-09-26 10:13:16 +10:00
Amin Bandali
7835436a35 Attempt to fix #113
Modifies the onTouch method of DragSortController
an attempt to fix the crash when scrolling in the queue
2015-02-21 08:55:06 -05:00
Adrian Ulrich
51c24054ab Import DSLV
From c3cfccee21
2014-10-17 11:40:09 +02:00
Adrian Ulrich
b0c0044026 rename package name in order to avoid name clashes with 'old' version 2012-09-23 14:28:57 +02:00
Christopher Eby
0965430b64 Fix some deprecation warnings 2012-03-24 02:25:39 -05:00
Christopher Eby
ea19c4f8d6 Swipey tabs 2012-01-23 12:45:36 -06:00