summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupHelpers.cpp
diff options
context:
space:
mode:
author bkchoi <bkchoi@google.com> 2023-12-19 19:06:37 +0000
committer bkchoi <bkchoi@google.com> 2023-12-20 19:34:19 +0000
commitd68c74c6bae3913b2b9c3fe29138cdabf5a5d6e9 (patch)
treecca0c9f37982281d4ea7137cdb1a01be95d5f6db /libs/androidfw/BackupHelpers.cpp
parentff50b586a4b987d30f11922032cd113811189ccc (diff)
Set the correct platform type in AudioSystem#getPlatformType().
Due to a recent change, AudioService#isPlatformAutomotive() was returning false on Automotive devices when TELEPHONEY_SERVICE is enabled. It casued a regression in some CTS. Change the order that decides the platform type in AudioSystem#getPlatformType() to set the platfrom type correctly. Fixes: 313554195 Test: atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testAudioRestriction Change-Id: I1e1937ea5135262bd7941f084bda1679c8753ac7
Diffstat (limited to 'libs/androidfw/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions