summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author satok <satok@google.com> 2011-08-31 20:16:17 +0900
committer satok <satok@google.com> 2011-08-31 20:16:17 +0900
commit209cf04353ceb67d9ba95ffbdfd36af0515bb2ba (patch)
tree9b559af4e3555a738a51b6f06e9b9772cc4b2338
parent8da2a004b883dc4526bddb3198476414b2f3819c (diff)
Fix the display name in the input method panel on tablet
Bug: 5103300 Change-Id: I20cec2bb822be6f15abfe4a21053c8eb8d48b9cc
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/tablet/InputMethodsPanel.java2
1 files changed, 1 insertions, 1 deletions
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 1e417acdd41c..5911378ea25b 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 @@ public class InputMethodsPanel extends LinearLayout implements StatusBarPanel,
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) {