diff options
author | weijuncheng <weijuncheng@xiaomi.com> | 2018-10-30 14:07:53 +0800 |
---|---|---|
committer | juncheng wei <weijuncheng@xiaomi.com> | 2018-11-09 01:22:13 +0000 |
commit | 12030008093b5a699b856782596f35b021e199e1 (patch) | |
tree | 8c68d027f0452f3a551eebd2736023d9a8d747fa /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 568faa8ed90d965faf302ca60677a40a5b84bf86 (diff) |
Fix adb shell cmd activity get-config --proto --device fail
Root cause:
If the system features got from pm.getSystemAvailableFeatures() have some features with no name,
it may cause adb shell cmd activity get-config --proto --device fails, the second parameter
in the compator should also be judged with o2.name == null
Bug: 118662777
Test: run cts -m CtsActivityManagerDeviceTestCases
-t android.server.am.ActivityManagerGetConfigTests#testDeviceConfig
Change-Id: Iee22cdf2e69104d3d9480971655b0be66ff84e46
Signed-off-by: weijuncheng <weijuncheng@xiaomi.com>
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions