From 5234d559b47ed034ed0abc104a3597b5169b18db Mon Sep 17 00:00:00 2001 From: David Brazdil Date: Wed, 14 Feb 2018 22:36:34 +0000 Subject: [PATCH] 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 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 --- core/java/android/app/Activity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java index da324fc1b0928..025609e4deaf5 100644 --- a/core/java/android/app/Activity.java +++ b/core/java/android/app/Activity.java @@ -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)