Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d01d3582 authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Update language to comply with Android's inclusive language guidance

See https://source.android.com/setup/contribute/respectful-code for reference

Test: Presubmit
Bug: 161896447
Change-Id: Ifb223f3a2c5fc624d9be2d4f567c55410a0193f1
parent ade0160e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -144,7 +144,7 @@ public class AppSmsManager {
     * Handle an incoming SMS_DELIVER_ACTION intent if it is an app-only SMS.
     */
    public boolean handleSmsReceivedIntent(Intent intent) {
        // Sanity check the action.
        // Correctness check the action.
        if (intent.getAction() != Intents.SMS_DELIVER_ACTION) {
            Log.wtf(LOG_TAG, "Got intent with incorrect action: " + intent.getAction());
            return false;
+1 −1
Original line number Diff line number Diff line
@@ -285,7 +285,7 @@ public class CarrierSignalAgent extends Handler {

    /**
     * Broadcast the intents explicitly.
     * Some sanity check will be applied before broadcasting.
     * Some correctness checks will be applied before broadcasting.
     * - for non-wakeup(runtime) receivers, make sure the intent is not declared in their manifests
     * and apply FLAG_EXCLUDE_STOPPED_PACKAGES to avoid wake-up
     * - for wakeup(manifest) receivers, make sure there are matched receivers with registered
+1 −1
Original line number Diff line number Diff line
@@ -790,7 +790,7 @@ public class GsmCdmaCallTracker extends CallTracker {
        if (ar.exception == null) {
            polledCalls = (List)ar.result;
        } else if (isCommandExceptionRadioNotAvailable(ar.exception)) {
            // just a dummy empty ArrayList to cause the loop
            // just a placeholder empty ArrayList to cause the loop
            // to hang up all the calls
            polledCalls = new ArrayList();
        } else {
+1 −1
Original line number Diff line number Diff line
@@ -3986,7 +3986,7 @@ public class GsmCdmaPhone extends Phone {
    @Override
    public IccCard getIccCard() {
        // This function doesn't return null for backwards compatability purposes.
        // To differentiate between cases where SIM is absent vs. unknown we return a dummy
        // To differentiate between cases where SIM is absent vs. unknown we return a placeholder
        // IccCard with the sim state set.
        IccCard card = getUiccProfile();
        if (card != null) {
+2 −2
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ public final class MccTable {
        @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.Q,
                publicAlternatives = "There is no alternative for {@code MccTable.MccEntry.mIso}, "
                        + "but it was included in hidden APIs due to a static analysis false "
                        + "positive and has been made greylist-max-q. Please file a bug if you "
                        + "positive and has been made max Q. Please file a bug if you "
                        + "still require this API.")
        public final String mIso;
        final int mSmallestDigitsMnc;
@@ -253,7 +253,7 @@ public final class MccTable {
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.Q,
            publicAlternatives = "There is no alternative for {@code MccTable"
                    + ".smallestDigitsMccForMnc}, but it was included in hidden APIs due to a "
                    + "static analysis false positive and has been made greylist-max-q. Please "
                    + "static analysis false positive and has been made max Q. Please "
                    + "file a bug if you still require this API.")
    public static int smallestDigitsMccForMnc(int mcc) {
        MccEntry entry = entryForMcc(mcc);
Loading