Sync facilitators on transport ready
This avoids depending on the phone side to have the ICS / connection services up at the time the user wants to place a call on the remote device. Bug: 280604855 Test: atest Change-Id: I02fb643bb648cd3538d1ece0322f6aebf7286058
This commit is contained in:
@@ -130,6 +130,8 @@ public class CrossDeviceSyncController {
|
||||
callback.requestCrossDeviceSync(associationInfo);
|
||||
} else {
|
||||
Slog.w(TAG, "No callback to report new transport");
|
||||
syncMessageToDevice(associationInfo.getId(),
|
||||
createFacilitatorMessage());
|
||||
}
|
||||
} else {
|
||||
mBlocklist.add(associationInfo.getId());
|
||||
@@ -169,6 +171,8 @@ public class CrossDeviceSyncController {
|
||||
callback.requestCrossDeviceSync(associationInfo);
|
||||
} else {
|
||||
Slog.w(TAG, "No callback to report changed transport");
|
||||
syncMessageToDevice(associationInfo.getId(),
|
||||
createFacilitatorMessage());
|
||||
}
|
||||
} else {
|
||||
Slog.i(TAG, "Blocking existing association for context sync");
|
||||
|
||||
Reference in New Issue
Block a user