summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2011-09-29 15:58:41 -0700
committerMarco Nelissen <marcone@google.com>2011-09-29 15:58:41 -0700
commitb741c604861ddbafcacaa452e31bd19337a19705 (patch)
tree9e2a1593dba623c7a4ac269ed468c17f54331ed0
parentee1d541ec89e1d2724a382c90276586e2c28b278 (diff)
downloadframeworks_base-b741c604861ddbafcacaa452e31bd19337a19705.zip
frameworks_base-b741c604861ddbafcacaa452e31bd19337a19705.tar.gz
frameworks_base-b741c604861ddbafcacaa452e31bd19337a19705.tar.bz2
Remove Ringtone.setWakeMode, it's not needed.
This partially reverts commit e47e8520fa48bd014287eda94ea39927de73d6bc. (the other part of that change was already removed as part of a different change) Change-Id: Ica7c196ab1f74f96237e64d07580832f0d50022f
-rw-r--r--media/java/android/media/Ringtone.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/media/java/android/media/Ringtone.java b/media/java/android/media/Ringtone.java
index 8bb5233..f16ba36 100644
--- a/media/java/android/media/Ringtone.java
+++ b/media/java/android/media/Ringtone.java
@@ -207,21 +207,6 @@ public class Ringtone {
openMediaPlayer();
}
- /** @hide */
- public void setWakeMode(Context context, int mode) {
- if (mAudio == null) {
- try {
- openMediaPlayer();
- } catch (Exception ex) {
- Log.e(TAG, "setWakeMode() caught ", ex);
- mAudio = null;
- }
- }
- if (mAudio != null) {
- mAudio.setWakeMode(context, mode);
- }
- }
-
/**
* Plays the ringtone.
*/