Merge "Expose Context.getSystemServiceName()." into mnc-dev

This commit is contained in:
Jeff Brown
2015-06-11 02:37:28 +00:00
committed by Android (Google) Code Review
3 changed files with 2 additions and 2 deletions

View File

@@ -7721,6 +7721,7 @@ package android.content {
method public final java.lang.String getString(int, java.lang.Object...);
method public abstract java.lang.Object getSystemService(java.lang.String);
method public final T getSystemService(java.lang.Class<T>);
method public abstract java.lang.String getSystemServiceName(java.lang.Class<?>);
method public final java.lang.CharSequence getText(int);
method public abstract android.content.res.Resources.Theme getTheme();
method public abstract deprecated android.graphics.drawable.Drawable getWallpaper();

View File

@@ -7944,6 +7944,7 @@ package android.content {
method public final java.lang.String getString(int, java.lang.Object...);
method public abstract java.lang.Object getSystemService(java.lang.String);
method public final T getSystemService(java.lang.Class<T>);
method public abstract java.lang.String getSystemServiceName(java.lang.Class<?>);
method public final java.lang.CharSequence getText(int);
method public abstract android.content.res.Resources.Theme getTheme();
method public abstract deprecated android.graphics.drawable.Drawable getWallpaper();

View File

@@ -2443,8 +2443,6 @@ public abstract class Context {
*
* @param serviceClass The class of the desired service.
* @return The service name or null if the class is not a supported system service.
*
* @hide
*/
public abstract String getSystemServiceName(Class<?> serviceClass);