am 3c9614a0: Merge "Expose Context.getSystemServiceName()." into mnc-dev
* commit '3c9614a03a40c3590b38eed71f86c24d81c6d52a': Expose Context.getSystemServiceName().
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user