Merge "Update language to comply with Android's inclusive language guidance"
This commit is contained in:
@@ -503,14 +503,14 @@ public class BugreportProgressService extends Service {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (msg.what != MSG_SERVICE_COMMAND) {
|
if (msg.what != MSG_SERVICE_COMMAND) {
|
||||||
// Sanity check.
|
// Confidence check.
|
||||||
Log.e(TAG, "Invalid message type: " + msg.what);
|
Log.e(TAG, "Invalid message type: " + msg.what);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// At this point it's handling onStartCommand(), with the intent passed as an Extra.
|
// At this point it's handling onStartCommand(), with the intent passed as an Extra.
|
||||||
if (!(msg.obj instanceof Intent)) {
|
if (!(msg.obj instanceof Intent)) {
|
||||||
// Sanity check.
|
// Confidence check.
|
||||||
Log.wtf(TAG, "handleMessage(): invalid msg.obj type: " + msg.obj);
|
Log.wtf(TAG, "handleMessage(): invalid msg.obj type: " + msg.obj);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -561,7 +561,7 @@ public class BugreportReceiverTest {
|
|||||||
// Clear properties
|
// Clear properties
|
||||||
mContext.getSharedPreferences(PREFS_BUGREPORT, Context.MODE_PRIVATE)
|
mContext.getSharedPreferences(PREFS_BUGREPORT, Context.MODE_PRIVATE)
|
||||||
.edit().clear().commit();
|
.edit().clear().commit();
|
||||||
// Sanity check...
|
// Confidence check...
|
||||||
assertEquals("Did not reset properties", STATE_UNKNOWN,
|
assertEquals("Did not reset properties", STATE_UNKNOWN,
|
||||||
getWarningState(mContext, STATE_UNKNOWN));
|
getWarningState(mContext, STATE_UNKNOWN));
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user