summaryrefslogtreecommitdiffstats
path: root/api/current.txt
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2012-01-03 16:38:46 -0800
committerSvetoslav Ganov <svetoslavganov@google.com>2012-01-03 17:05:38 -0800
commit3d0edd31d8082b7b8b2cdee5efda216179f677b5 (patch)
treeb8071361f497ce57dd5a9e1ff575b2ad3fea0da4 /api/current.txt
parentc2fc52dc9ce8728bcd1c2b4d82ee573fa7f5049b (diff)
downloadframeworks_base-3d0edd31d8082b7b8b2cdee5efda216179f677b5.zip
frameworks_base-3d0edd31d8082b7b8b2cdee5efda216179f677b5.tar.gz
frameworks_base-3d0edd31d8082b7b8b2cdee5efda216179f677b5.tar.bz2
AccessibilityService description not internationalized.
1. AccessibilityServiceInfo loading the description string on creation and using this value. Hence, changing the locale results in reporting incorrectly localized string. Added a new loadDescription method to return the localized version. 2. Deprecated the old method. bug:5807616 Change-Id: Id82bda3c6a90fa6681b035d20da0b8688ed68da3
Diffstat (limited to 'api/current.txt')
-rw-r--r--api/current.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/current.txt b/api/current.txt
index 9610853..13e0c48 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -1992,10 +1992,11 @@ package android.accessibilityservice {
method public static java.lang.String feedbackTypeToString(int);
method public static java.lang.String flagToString(int);
method public boolean getCanRetrieveWindowContent();
- method public java.lang.String getDescription();
+ method public deprecated java.lang.String getDescription();
method public java.lang.String getId();
method public android.content.pm.ResolveInfo getResolveInfo();
method public java.lang.String getSettingsActivityName();
+ method public java.lang.String loadDescription(android.content.pm.PackageManager);
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator CREATOR;
field public static final int DEFAULT = 1; // 0x1