smartdevicelink / sdl_ios

Get your app connected to the 🚙, make your users feel like a 🌟
www.smartdevicelink.com
BSD 3-Clause "New" or "Revised" License
169 stars 105 forks source link

Fix overwriting alert view images not being shown #2110

Closed joeljfischer closed 1 year ago

joeljfischer commented 1 year ago

Fixes #2109

Risk

This PR makes no API changes.

Testing Plan

Unit Tests

Updated the present alert operation tests to handle the new checks.

Core Tests

sdl_ios-9-18-01-AM.patch.zip

Core version / branch / commit hash / module tested against: Manticore (Core v8.1) HMI name / version / branch / commit hash / module tested against: Manticore (Generic_HMI v0.12.0

Summary

This PR changes some logic around how the present alert operation handles showing the alert icon image to fix an issue with showing overwriting images.

Changelog

Bug Fixes

CLA

codecov[bot] commented 1 year ago

Codecov Report

Merging #2110 (58cd0a0) into develop (9aec1f6) will increase coverage by 0.11%. The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop    #2110      +/-   ##
===========================================
+ Coverage    85.45%   85.57%   +0.11%     
===========================================
  Files          448      448              
  Lines        22795    22988     +193     
===========================================
+ Hits         19480    19672     +192     
- Misses        3315     3316       +1     
joeljfischer commented 1 year ago

sdl_ios-9-18-01-AM.patch.zip

Attached the patch I used to test. This fails on develop and succeeds on this branch.