Finalized GPS=>GNSS changes with documents
Bug: 27098594 Change-Id: I24529e60d8eb9b48b644cf01e5efc684e6f04839
This commit is contained in:
@@ -1959,11 +1959,11 @@ public class LocationManager {
|
||||
* @hide
|
||||
*/
|
||||
@TestApi
|
||||
public int getGpsYearOfHardware() {
|
||||
public int getGnssYearOfHardware() {
|
||||
try {
|
||||
return mService.getGpsYearOfHardware();
|
||||
return mService.getGnssYearOfHardware();
|
||||
} catch (RemoteException e) {
|
||||
Log.e(TAG, "RemoteException in getGpsSystemInfo: ", e);
|
||||
Log.e(TAG, "RemoteException in getGnssSystemInfo: ", e);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user