smartdevicelink / sdl_core

SmartDeviceLink In-Vehicle Software and Sample HMI
BSD 3-Clause "New" or "Revised" License
240 stars 245 forks source link

Check if app id exists in cloud_app_id_map_ #3870

Closed Jack-Byrne closed 2 years ago

Jack-Byrne commented 2 years ago

Fixes #3869

This PR is ready for review.

Risk

This PR makes no API changes.

Testing Plan

Connect two cloud apps that have auth_token defined in their policy table entries. Verify both apps receive their designated auth tokens in the start service ack.

Summary

Checks the connection handler's cloud app id map to make sure it does not overwrite the connection id. GetCloudAppID was unable to locate the policy app id after this connection id was reset. Auth token was unable to be located if the policy app id was missing.

CLA