java.lang.SecurityException: COLUMN_LOCAL_FILENAME is deprecated; use ContentResolver.openFileDescriptor() instead

GitHub | pnelson | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 2

    GitHub comment 427#246079128

    GitHub | 6 months ago | pnelson
    java.lang.SecurityException: COLUMN_LOCAL_FILENAME is deprecated; use ContentResolver.openFileDescriptor() instead
  2. 0

    DownloadManager COLUMN_LOCAL_FILENAME deprecated

    Stack Overflow | 7 months ago | techtinkerer
    java.lang.SecurityException: COLUMN_LOCAL_FILENAME is deprecated; use ContentResolver.openFileDescriptor() instead 08-04 11:20:59.765 7010 7290 W System.err:

    Root Cause Analysis

    1. java.lang.SecurityException

      COLUMN_LOCAL_FILENAME is deprecated; use ContentResolver.openFileDescriptor() instead

      at android.app.DownloadManager$CursorTranslator.getString()
    2. Android Platform
      DownloadManager$CursorTranslator.getString
      1. android.app.DownloadManager$CursorTranslator.getString(DownloadManager.java:1499)
      1 frame
    3. com.cyanogenmod.updater
      DownloadCompleteIntentService.onHandleIntent
      1. com.cyanogenmod.updater.service.DownloadCompleteIntentService.fetchDownloadPartialPath(DownloadCompleteIntentService.java:121)
      2. com.cyanogenmod.updater.service.DownloadCompleteIntentService.onHandleIntent(DownloadCompleteIntentService.java:66)
      2 frames
    4. Android Platform
      HandlerThread.run
      1. android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:67)
      2. android.os.Handler.dispatchMessage(Handler.java:102)
      3. android.os.Looper.loop(Looper.java:154)
      4. android.os.HandlerThread.run(HandlerThread.java:61)
      4 frames