Merge "Hide APIs that shouldn't have been public" into nyc-mr1-dev

This commit is contained in:
Dave Langemak
2016-07-07 15:38:11 +00:00
committed by Android (Google) Code Review
4 changed files with 7 additions and 20 deletions

View File

@@ -696,7 +696,8 @@ public final class ShortcutInfo implements Parcelable {
private PersistableBundle mExtras;
/**
* Old style constructor. STOPSHIP hide it before launch.
* Old style constructor.
* @hide
*/
@Deprecated
public Builder(Context context) {
@@ -704,7 +705,8 @@ public final class ShortcutInfo implements Parcelable {
}
/**
* Used with the old style constructor, kept for unit tests. STOPSHIP hide it before launch.
* Used with the old style constructor, kept for unit tests.
* @hide
*/
@NonNull
@Deprecated
@@ -1004,7 +1006,7 @@ public final class ShortcutInfo implements Parcelable {
return mTitle;
}
/** TODO Javadoc */
/** @hide */
public int getShortLabelResourceId() {
return mTitleResId;
}
@@ -1017,7 +1019,7 @@ public final class ShortcutInfo implements Parcelable {
return mText;
}
/** TODO Javadoc */
/** @hide */
public int getLongLabelResourceId() {
return mTextResId;
}
@@ -1030,7 +1032,7 @@ public final class ShortcutInfo implements Parcelable {
return mDisabledMessage;
}
/** TODO Javadoc */
/** @hide */
public int getDisabledMessageResourceId() {
return mDisabledMessageResId;
}