Skip to content

Commit ef2974e

Browse files
committed
Updating saved game sample to work with C++ SDK v1.3.
There has been a member name change in gpg::SnapshotManager::OpenResponse. Bug:b/18355964 Change-Id: Icfc1809996fa8dd6da5db7b0d4f2c7f2a4b14c1b Tested: In N5
1 parent 0335427 commit ef2974e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

samples-android/CollectAllTheStarsNative/jni/CollectAllTheStarsNativeActivity.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Engine::ResolveConflicts(gpg::SnapshotManager::OpenResponse const &openResponse,
194194
//
195195
gpg::SnapshotManager &manager = service_->Snapshots();
196196
gpg::SnapshotManager::OpenResponse responseBase =
197-
manager.OpenBlocking(openResponse.conflict_base.FileName(),
197+
manager.OpenBlocking(openResponse.conflict_original.FileName(),
198198
gpg::SnapshotConflictPolicy::MANUAL);
199199
gpg::SnapshotManager::ReadResponse responseReadBase =
200200
manager.ReadBlocking(responseBase.data);
@@ -208,7 +208,7 @@ Engine::ResolveConflicts(gpg::SnapshotManager::OpenResponse const &openResponse,
208208
}
209209

210210
gpg::SnapshotManager::OpenResponse responseRemote =
211-
manager.OpenBlocking(openResponse.conflict_remote.FileName(),
211+
manager.OpenBlocking(openResponse.conflict_unmerged.FileName(),
212212
gpg::SnapshotConflictPolicy::MANUAL);
213213
gpg::SnapshotManager::ReadResponse responseReadRemote =
214214
manager.ReadBlocking(responseRemote.data);

0 commit comments

Comments
 (0)