WifiConfigManager: Retrieve package name for shared uids

The package name retrieved using PackageManager.getNameForUid() contains
a concatenation of package name & uid. Retrieve the package name out of that
string for comparison during app removal.

Bug: 120623236
Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: Ia266297b8c702e3d72f2d816270f4c059a763c9a
2 files changed