The screen gets locked during a phone call even though the app's idle timer is disabled

Number:rdar://49802814 Date Originated:11.04.2019
Status:Open Resolved:
Product:iOS + SDK Product Version:12.2 (16E227)
Classification:Bug Reproducible:Always
Lock Screen

When the [UIApplication sharedApplication].isIdleTimerDisabled is set to true and a call is accepted while using the app, the screen gets locked anyway.

Steps to Reproduce:
1. Set the Auto Lock time in Settings to 30 seconds.
2. Run an App that has the isIdleTimerDisabled in UIApplication set to true.
3. Call the phone and accept the call.
4. Wait at least 30 seconds.
5. The phone is locked.

Expected Results:
The screen doesn't get locked while the call is ongoing.

Actual Results:
The screen gets locked and the flow of the App is disrupted.

12.2 (16E227)

iPhone SE, iPhone 6, iPhone 6+, iPhone 7, iPhone 7+, iPhone 8, iPhone 8+, iPhone X, iPhone Xs, iPhone Xs Max, iPhone Xr


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!