Merge "Show Task Surface if it will not be organized" into sc-v2-dev
This commit is contained in:
@@ -1210,6 +1210,12 @@ class Task extends TaskFragment {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (newParent != null) {
|
if (newParent != null) {
|
||||||
|
// Surface of Task that will not be organized should be shown by default.
|
||||||
|
// See Task#showSurfaceOnCreation
|
||||||
|
if (!mCreatedByOrganizer && !canBeOrganized()) {
|
||||||
|
getSyncTransaction().show(mSurfaceControl);
|
||||||
|
}
|
||||||
|
|
||||||
// TODO: Ensure that this is actually necessary here
|
// TODO: Ensure that this is actually necessary here
|
||||||
// Notify the voice session if required
|
// Notify the voice session if required
|
||||||
if (voiceSession != null) {
|
if (voiceSession != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user