Merge "Fixes name of intent launch flag for Action Extender" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
e3f3cb1048
@@ -5031,13 +5031,13 @@ package android.app {
|
||||
method public android.app.Notification.Action.Builder extend(android.app.Notification.Action.Builder);
|
||||
method public java.lang.CharSequence getCancelLabel();
|
||||
method public java.lang.CharSequence getConfirmLabel();
|
||||
method public boolean getHintContentIntentLaunchesActivity();
|
||||
method public boolean getHintLaunchesActivity();
|
||||
method public java.lang.CharSequence getInProgressLabel();
|
||||
method public boolean isAvailableOffline();
|
||||
method public android.app.Notification.Action.WearableExtender setAvailableOffline(boolean);
|
||||
method public android.app.Notification.Action.WearableExtender setCancelLabel(java.lang.CharSequence);
|
||||
method public android.app.Notification.Action.WearableExtender setConfirmLabel(java.lang.CharSequence);
|
||||
method public android.app.Notification.Action.WearableExtender setHintContentIntentLaunchesActivity(boolean);
|
||||
method public android.app.Notification.Action.WearableExtender setHintLaunchesActivity(boolean);
|
||||
method public android.app.Notification.Action.WearableExtender setInProgressLabel(java.lang.CharSequence);
|
||||
}
|
||||
|
||||
|
||||
@@ -5165,13 +5165,13 @@ package android.app {
|
||||
method public android.app.Notification.Action.Builder extend(android.app.Notification.Action.Builder);
|
||||
method public java.lang.CharSequence getCancelLabel();
|
||||
method public java.lang.CharSequence getConfirmLabel();
|
||||
method public boolean getHintContentIntentLaunchesActivity();
|
||||
method public boolean getHintLaunchesActivity();
|
||||
method public java.lang.CharSequence getInProgressLabel();
|
||||
method public boolean isAvailableOffline();
|
||||
method public android.app.Notification.Action.WearableExtender setAvailableOffline(boolean);
|
||||
method public android.app.Notification.Action.WearableExtender setCancelLabel(java.lang.CharSequence);
|
||||
method public android.app.Notification.Action.WearableExtender setConfirmLabel(java.lang.CharSequence);
|
||||
method public android.app.Notification.Action.WearableExtender setHintContentIntentLaunchesActivity(boolean);
|
||||
method public android.app.Notification.Action.WearableExtender setHintLaunchesActivity(boolean);
|
||||
method public android.app.Notification.Action.WearableExtender setInProgressLabel(java.lang.CharSequence);
|
||||
}
|
||||
|
||||
|
||||
@@ -5031,13 +5031,13 @@ package android.app {
|
||||
method public android.app.Notification.Action.Builder extend(android.app.Notification.Action.Builder);
|
||||
method public java.lang.CharSequence getCancelLabel();
|
||||
method public java.lang.CharSequence getConfirmLabel();
|
||||
method public boolean getHintContentIntentLaunchesActivity();
|
||||
method public boolean getHintLaunchesActivity();
|
||||
method public java.lang.CharSequence getInProgressLabel();
|
||||
method public boolean isAvailableOffline();
|
||||
method public android.app.Notification.Action.WearableExtender setAvailableOffline(boolean);
|
||||
method public android.app.Notification.Action.WearableExtender setCancelLabel(java.lang.CharSequence);
|
||||
method public android.app.Notification.Action.WearableExtender setConfirmLabel(java.lang.CharSequence);
|
||||
method public android.app.Notification.Action.WearableExtender setHintContentIntentLaunchesActivity(boolean);
|
||||
method public android.app.Notification.Action.WearableExtender setHintLaunchesActivity(boolean);
|
||||
method public android.app.Notification.Action.WearableExtender setInProgressLabel(java.lang.CharSequence);
|
||||
}
|
||||
|
||||
|
||||
@@ -1419,7 +1419,7 @@ public class Notification implements Parcelable
|
||||
* an activity and transitions should be generated, false otherwise.
|
||||
* @return this object for method chaining
|
||||
*/
|
||||
public WearableExtender setHintContentIntentLaunchesActivity(
|
||||
public WearableExtender setHintLaunchesActivity(
|
||||
boolean hintLaunchesActivity) {
|
||||
setFlag(FLAG_HINT_LAUNCHES_ACTIVITY, hintLaunchesActivity);
|
||||
return this;
|
||||
@@ -1432,7 +1432,7 @@ public class Notification implements Parcelable
|
||||
* should be generated, false otherwise. The default value is {@code false} if this was
|
||||
* never set.
|
||||
*/
|
||||
public boolean getHintContentIntentLaunchesActivity() {
|
||||
public boolean getHintLaunchesActivity() {
|
||||
return (mFlags & FLAG_HINT_LAUNCHES_ACTIVITY) != 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user