diff options
| author | Mady Mellor <madym@google.com> | 2019-06-25 14:31:19 -0700 |
|---|---|---|
| committer | Mady Mellor <madym@google.com> | 2019-06-25 21:59:57 +0000 |
| commit | dce1bf367d276442febc4d7b596ae173b6b5edd1 (patch) | |
| tree | 9f25a7b91d17aec20b29c86a6f1b149f55c1565b /tools/aapt2/java/JavaClassGenerator.cpp | |
| parent | 0b8cb86fc80552e65c8341bcde6feb4bd86859e8 (diff) | |
Add check for the device having "feature face" before requesting the service
Personally, I think it'd be better for the service to return null rather
than throwing an error if it doesn't exisit but according to b/135475155
throwing is WAI.
Test: try running any test that might use ExandableNotificationRow on a
device without face service and see that an exception isn't thrown
Bug: 135475155
Merged-In: I6cf7f3d39f411dc88d5fd75da0adb2c612acf880
Change-Id: I6cf7f3d39f411dc88d5fd75da0adb2c612acf880
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions
