diff options
4 files changed, 6 insertions, 5 deletions
diff --git a/core/java/android/bluetooth/BluetoothDeviceProfileState.java b/core/java/android/bluetooth/BluetoothDeviceProfileState.java index 98557094b917..f4693c21c01d 100644 --- a/core/java/android/bluetooth/BluetoothDeviceProfileState.java +++ b/core/java/android/bluetooth/BluetoothDeviceProfileState.java @@ -679,7 +679,6 @@ public final class BluetoothDeviceProfileState extends HierarchicalStateMachine          @Override          protected boolean processMessage(Message message) {              log("IncomingA2dp State->Processing Message: " + message.what); -            Message deferMsg = new Message();              switch(message.what) {                  case CONNECT_HFP_OUTGOING:                      deferMessage(message); diff --git a/core/java/android/os/Looper.java b/core/java/android/os/Looper.java index 8204e3c82da2..ccf642c877e1 100644 --- a/core/java/android/os/Looper.java +++ b/core/java/android/os/Looper.java @@ -141,7 +141,8 @@ public class Looper {                      Log.wtf("Looper", "Thread identity changed from 0x"                              + Long.toHexString(ident) + " to 0x"                              + Long.toHexString(newIdent) + " while dispatching to " -                            + msg.target + " " + msg.callback + " what=" + msg.what); +                            + msg.target.getClass().getName() + " " +                            + msg.callback + " what=" + msg.what);                  }                  msg.recycle(); diff --git a/services/java/com/android/server/am/ActivityManagerService.java b/services/java/com/android/server/am/ActivityManagerService.java index 267c76a19919..50fffd004723 100644 --- a/services/java/com/android/server/am/ActivityManagerService.java +++ b/services/java/com/android/server/am/ActivityManagerService.java @@ -6996,8 +6996,9 @@ public final class ActivityManagerService extends ActivityManagerNative          addErrorToDropBox("wtf", r, null, null, tag, null, null, crashInfo); -        if (Settings.Secure.getInt(mContext.getContentResolver(), -                Settings.Secure.WTF_IS_FATAL, 0) != 0) { +        if (r != null && r.pid != Process.myPid() && +                Settings.Secure.getInt(mContext.getContentResolver(), +                        Settings.Secure.WTF_IS_FATAL, 0) != 0) {              crashApplication(r, crashInfo);              return true;          } else { diff --git a/services/java/com/android/server/location/GpsLocationProvider.java b/services/java/com/android/server/location/GpsLocationProvider.java index 356186279fd7..63ce0bd25057 100755 --- a/services/java/com/android/server/location/GpsLocationProvider.java +++ b/services/java/com/android/server/location/GpsLocationProvider.java @@ -203,7 +203,7 @@ public class GpsLocationProvider implements LocationProviderInterface {      // flags to trigger NTP or XTRA data download when network becomes available      // initialized to true so we do NTP and XTRA when the network comes up after booting      private boolean mInjectNtpTimePending = true; -    private boolean mDownloadXtraDataPending = false; +    private boolean mDownloadXtraDataPending = true;      // true if GPS is navigating      private boolean mNavigating;  |