OSDN Git Service

frameworks/base: Adjust the index of LHR tones
authorKarthik Reddy Katta <a_katta@codeaurora.org>
Thu, 9 Jun 2016 06:43:17 +0000 (12:13 +0530)
committerLinux Build Service Account <lnxbuild@localhost>
Wed, 24 Aug 2016 14:14:29 +0000 (08:14 -0600)
Adjust the index of Local Hold Recall tone types
as per their sequence in tone_type array of ToneManager.

CRs-Fixed: 1029731
Change-Id: I21a35f7f88c33e13b28a612840ea30f8de4839c4

media/java/android/media/ToneGenerator.java

index 4661226..f2b2345 100644 (file)
@@ -729,6 +729,13 @@ public class ToneGenerator
      */
     public static final int TONE_CDMA_SIGNAL_OFF = 98;
 
+    /**
+     * HOLD_RECALL - 440Hz
+     *
+     * @hide #ToneGenerator(int, int)
+     */
+    public static final int TONE_HOLD_RECALL = 99;
+
     /** Maximum volume, for use with {@link #ToneGenerator(int,int)} */
     public static final int MAX_VOLUME = 100;
     /** Minimum volume setting, for use with {@link #ToneGenerator(int,int)} */