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

Commit 68cf9f53 authored by Maurice Lam's avatar Maurice Lam Committed by android-build-merger
Browse files

Merge "Load internal resources using name rather than ID" into oc-dr1-dev am: 43e249ff

am: f4d873fd

Change-Id: If4b688989d8f7c0da73e32a98a9ebba619c53397
parents 2a45221f f4d873fd
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1166,8 +1166,9 @@ public class AccessPoint implements Comparable<AccessPoint> {

            if (nc != null) {
                if (nc.hasCapability(nc.NET_CAPABILITY_CAPTIVE_PORTAL)) {
                    return context.getString(
                        com.android.internal.R.string.network_available_sign_in);
                    int id = context.getResources()
                            .getIdentifier("network_available_sign_in", "string", "android");
                    return context.getString(id);
                } else if (!nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)) {
                    return context.getString(R.string.wifi_connected_no_internet);
                }