test_gps might not initialize AGpsRilInterface, which could lead to segfault in some cases
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libhybris |
New
|
Undecided
|
Unassigned |
Bug Description
AGpsInterface has been declared since AOSP v2.3 in https:/
In Ubuntu platform-api, we do initialize all of them whenever available, but libhybris test utility test_gps only initialize it when '-r' is specified in command line arguments to turn on agps support. This lead to a segmentation fault on some devices when some system daemons in Android container tries to react with gps HAL when bootstrapped by test_gps.
In summary, test_gps should initialize all extensions as platform-api does.