am a0cad2f5: Merge change 27078 into eclair
Merge commit 'a0cad2f5d19d95cfe496ebb82f3227dd4ed7c169' into eclair-plus-aosp * commit 'a0cad2f5d19d95cfe496ebb82f3227dd4ed7c169': Fix generic build boot sequence.
This commit is contained in:
committed by
Android Git Automerger
commit
6c52fdb684
@@ -109,7 +109,13 @@ class TelephonyRegistry extends ITelephonyRegistry.Stub {
|
||||
// handler before they get to app code.
|
||||
|
||||
TelephonyRegistry(Context context) {
|
||||
CellLocation.getEmpty().fillInNotifierBundle(mCellLocation);
|
||||
CellLocation location = CellLocation.getEmpty();
|
||||
|
||||
// Note that location can be null for non-phone builds like
|
||||
// like the generic one.
|
||||
if (location != null) {
|
||||
location.fillInNotifierBundle(mCellLocation);
|
||||
}
|
||||
mContext = context;
|
||||
mBatteryStats = BatteryStatsService.getService();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user