summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Atneya Nair <atneya@google.com> 2023-04-20 18:49:53 -0700
committer Atneya Nair <atneya@google.com> 2023-04-25 15:06:19 -0700
commitc2ce3fc785b47d14f593d5b628272f74e97f220a (patch)
tree87a15c390028b718765a5d8ccf09a89eaed7ecc2 /libs/androidfw/ApkParsing.cpp
parent55dcabecd764bf3a3d9cb601a821e33db58a6948 (diff)
Unify STManager behavior with no ST module
- Ensure all STManager methods throw IllegalState if they are called when there is no STModule - Retain getModuleProperties return null instead, as this behavior is used to determine if the STModule exists - Minor cleanup to throw NPE if null is passed to several methods. - AssertionError if fake HAL doesn't exist, since this should never happen. Bug: 272147641 Fixes: 279102299 Test: SoundTriggerManagerTest Change-Id: Icf4a6a172b5bf706267586eb952960bae649b74c
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions