Renamed FLAG_ACTIVITY_LAUNCH_TO_SIDE to FLAG_ACTIVITY_LAUNCH_ADJACENT
Per feedback from API council. Bug: 26508215 Change-Id: Ic2f142a6df023bcb75ee2f91abafa9e0c35fd3bd
This commit is contained in:
@@ -16,7 +16,7 @@ public class MoveTaskToSideActivity extends Activity implements View.OnClickList
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(this, LaunchingToSideActivity.class);
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_LAUNCH_TO_SIDE);
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_LAUNCH_ADJACENT);
|
||||
startActivity(intent);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user