am 75819a9c: Merge "Resolve LocationManager + ActivityManager conflict" into jb-mr1.1-dev
* commit '75819a9cddd646af72a6071311d8e5b3cd6b8c43': Resolve LocationManager + ActivityManager conflict
This commit is contained in:
@@ -506,7 +506,7 @@ public class LocationManagerService extends ILocationManager.Stub implements Run
|
||||
}
|
||||
} else {
|
||||
Intent statusChanged = new Intent();
|
||||
statusChanged.putExtras(extras);
|
||||
statusChanged.putExtras(new Bundle(extras));
|
||||
statusChanged.putExtra(LocationManager.KEY_STATUS_CHANGED, status);
|
||||
try {
|
||||
synchronized (this) {
|
||||
@@ -541,7 +541,7 @@ public class LocationManagerService extends ILocationManager.Stub implements Run
|
||||
}
|
||||
} else {
|
||||
Intent locationChanged = new Intent();
|
||||
locationChanged.putExtra(LocationManager.KEY_LOCATION_CHANGED, location);
|
||||
locationChanged.putExtra(LocationManager.KEY_LOCATION_CHANGED, new Location(location));
|
||||
try {
|
||||
synchronized (this) {
|
||||
// synchronize to ensure incrementPendingBroadcastsLocked()
|
||||
|
||||
Reference in New Issue
Block a user