Merge "Correct an ApplicationSharedMemory unit test" into main