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

Commit 4ed4e636 authored by Paramananda Pradhan's avatar Paramananda Pradhan
Browse files

frameworks/base: Fix comments in RingtoneManager

    - Removed Deprecated annotation from some of the APIs which
      are re-enable for DRM support.

Change-Id: Ib9a94db490d0738d5e6c81fc8920b384d20bec14
parent be13ba63
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -115,7 +115,6 @@ public class RingtoneManager {

    /**
     * Given to the ringtone picker as a boolean. Whether to include DRM ringtones.
     * @deprecated DRM ringtones are no longer supported
     */
    public static final String EXTRA_RINGTONE_INCLUDE_DRM =
            "android.intent.extra.ringtone.INCLUDE_DRM";
@@ -331,8 +330,6 @@ public class RingtoneManager {
     * 
     * @return Whether DRM ringtones will be included.
     * @see #setIncludeDrm(boolean)
     * Obsolete - always returns false
     * @deprecated DRM ringtones are no longer supported
     */
    public boolean getIncludeDrm() {
        return mIncludeDrm;
@@ -342,8 +339,6 @@ public class RingtoneManager {
     * Sets whether to include DRM ringtones.
     * 
     * @param includeDrm Whether to include DRM ringtones.
     * Obsolete - no longer has any effect
     * @deprecated DRM ringtones are no longer supported
     */
    public void setIncludeDrm(boolean includeDrm) {
        mIncludeDrm = includeDrm;