Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13d02b59 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Point people towards ModernMediaScanner.

The platform media scanner has served faithfully for many years, but
it's become tedious to test and maintain, mainly due to the way it
weaves obscurely between managed and native code.

Bug: 128243527
Test: none
Change-Id: I44c5e9840acc0afde4aeaf9a44a21e0f8939b44b
parent 9c9ee953
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -116,7 +116,14 @@ import java.util.concurrent.atomic.AtomicBoolean;
 * The MediaScanner class is not thread-safe, so it should only be used in a single threaded manner.
 *
 * {@hide}
 *
 * @deprecated this media scanner has served faithfully for many years, but it's
 *             become tedious to test and maintain, mainly due to the way it
 *             weaves obscurely between managed and native code. It's been
 *             replaced by {@code ModernMediaScanner} in the
 *             {@code MediaProvider} package.
 */
@Deprecated
public class MediaScanner implements AutoCloseable {
    static {
        System.loadLibrary("media_jni");