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

Commit 5234d559 authored by David Brazdil's avatar David Brazdil
Browse files

Update hidden API toast message

Change the toast message shown by an Activity when VMRuntime reports
that the app has used a private API.
(a) fix a typo: compatiblity -> compatibility
(b) change guidance from "please consult log" to "go to <url> for
    more info" where devs can learn how to proceed if their app does
    have compatibility issues.

Bug: 64382372
Test: make, visual
Change-Id: Idbe32a724438bb7b0826d0b4e11ef505015cb321
parent 909e9d3e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -7077,8 +7077,8 @@ public class Activity extends ContextThemeWrapper

                String appName = getApplicationInfo().loadLabel(getPackageManager())
                        .toString();
                String warning = "Detected problems with API compatiblity\n"
                                 + "(please consult log for detail)";
                String warning = "Detected problems with API compatibility\n"
                                 + "(visit g.co/dev/appcompat for more info)";
                if (isAppDebuggable) {
                    new AlertDialog.Builder(this)
                        .setTitle(appName)