commit | 209cf04353ceb67d9ba95ffbdfd36af0515bb2ba | [log] [tgz] |
---|---|---|
author | satok <satok@google.com> | Wed Aug 31 20:16:17 2011 +0900 |
committer | satok <satok@google.com> | Wed Aug 31 20:16:17 2011 +0900 |
tree | 9b559af4e3555a738a51b6f06e9b9772cc4b2338 | |
parent | 8da2a004b883dc4526bddb3198476414b2f3819c [diff] |
Fix the display name in the input method panel on tablet Bug: 5103300 Change-Id: I20cec2bb822be6f15abfe4a21053c8eb8d48b9cc
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/InputMethodsPanel.java b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/InputMethodsPanel.java index 1e417ac..5911378 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/InputMethodsPanel.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/InputMethodsPanel.java
@@ -428,7 +428,7 @@ private CharSequence getIMIName(InputMethodInfo imi) { if (imi == null) return null; - return mPackageManager.getApplicationLabel(imi.getServiceInfo().applicationInfo); + return imi.loadLabel(mPackageManager); } private CharSequence getSubtypeName(InputMethodInfo imi, InputMethodSubtype subtype) {