am 3e655688: am 521f4f3a: Merge change I3d6cf8aa into eclair

Merge commit '3e655688728e352e51dc9718490589f1bfb8622d' into eclair-mr2-plus-aosp

* commit '3e655688728e352e51dc9718490589f1bfb8622d':
  Fix for bug 2158794. Hide MediaPlayer.invoke() and MediaPlayer.newRequest(), and Fix bad links in ToneGenerator documentation.
This commit is contained in:
gwang@google.com
2009-10-06 15:53:10 -07:00
committed by Android Git Automerger
3 changed files with 4 additions and 28 deletions

View File

@@ -77986,21 +77986,6 @@
visibility="public" visibility="public"
> >
</method> </method>
<method name="invoke"
return="int"
abstract="false"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="not deprecated"
visibility="public"
>
<parameter name="request" type="android.os.Parcel">
</parameter>
<parameter name="reply" type="android.os.Parcel">
</parameter>
</method>
<method name="isLooping" <method name="isLooping"
return="boolean" return="boolean"
abstract="false" abstract="false"
@@ -78023,17 +78008,6 @@
visibility="public" visibility="public"
> >
</method> </method>
<method name="newRequest"
return="android.os.Parcel"
abstract="false"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="not deprecated"
visibility="public"
>
</method>
<method name="pause" <method name="pause"
return="void" return="void"
abstract="false" abstract="false"

View File

@@ -522,6 +522,7 @@ public class MediaPlayer
* *
* @return A parcel suitable to hold a request for the native * @return A parcel suitable to hold a request for the native
* player. * player.
* {@hide}
*/ */
public Parcel newRequest() { public Parcel newRequest() {
Parcel parcel = Parcel.obtain(); Parcel parcel = Parcel.obtain();
@@ -543,6 +544,7 @@ public class MediaPlayer
* native player. * native player.
* *
* @return The status code see utils/Errors.h * @return The status code see utils/Errors.h
* {@hide}
*/ */
public int invoke(Parcel request, Parcel reply) { public int invoke(Parcel request, Parcel reply) {
int retcode = native_invoke(request, reply); int retcode = native_invoke(request, reply);

View File

@@ -852,10 +852,10 @@ public class ToneGenerator
/** /**
* This method starts the playback of a tone of the specified type for the specified duration. * This method starts the playback of a tone of the specified type for the specified duration.
* @param toneType The type of tone generated @see #startTone(int). * @param toneType The type of tone generated @see {@link #startTone(int)}.
* @param durationMs The tone duration in milliseconds. If the tone is limited in time by definition, * @param durationMs The tone duration in milliseconds. If the tone is limited in time by definition,
* the actual duration will be the minimum of durationMs and the defined tone duration. Setting durationMs to -1, * the actual duration will be the minimum of durationMs and the defined tone duration. Setting durationMs to -1,
* is equivalent to calling #startTone(int). * is equivalent to calling {@link #startTone(int)}.
*/ */
public native boolean startTone(int toneType, int durationMs); public native boolean startTone(int toneType, int durationMs);