[TIMOB-17347] When checking if the Android package manager is running, added error check and then convert buffer to string before checking if the system_server has started.
Merge pull request #5915 from cb1kenobi/timob-17347

[TIMOB-17347] When checking if the Android package manager is running, a...