Fixing incomplete RemoteAction clone
Bug: 77631078 Test: atest CtsAndroidAppTestCases:android.app.cts.RemoteActionTest Change-Id: Ifd6617baf67993141e2ee85def8fb84c88cbe3e7
This commit is contained in:
@@ -122,6 +122,7 @@ public final class RemoteAction implements Parcelable {
|
||||
public RemoteAction clone() {
|
||||
RemoteAction action = new RemoteAction(mIcon, mTitle, mContentDescription, mActionIntent);
|
||||
action.setEnabled(mEnabled);
|
||||
action.setShouldShowIcon(mShouldShowIcon);
|
||||
return action;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user