Hide APIs that shouldn't have been public

Change-Id: I40f1c8e9c6fe991e782bf3dd772f305df641b267
This commit is contained in:
Makoto Onuki
2016-07-06 16:05:03 -07:00
parent da68f0614c
commit 598aca4672
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;
}