smartdevicelink / sdl_core

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

Obtain appID if url is sent to prop policies #3883

Closed Jack-Byrne closed 2 years ago

Jack-Byrne commented 2 years ago

Fixes #3881

This PR is ready for review.

Risk

This PR makes no API changes.

Testing Plan

ATF policy test scripts.

Summary

Normally in proprietary policies a url is not included in the system request. In the policy handler GetNextUpdateUrl() will find an app id to send the ptu to if an app id is not provided. This method is not called when a url is provided by the hmi. A call to ChoosePTUApplication() was added to handle the missing app id.

CLA