Use shortcut disabled message if available.
Bug: 30681210 Change-Id: Ibb5fd58e5fc9557b63730bc1e3c3977133769466
This commit is contained in:
1 parent
960a7fe15e
commit
4efffc5ba6
3 files changed
+17
No files matched your search
@@ -114,6 +114,10 @@ public class ShortcutInfoCompat {
|
||||
return mShortcutInfo.getRank();
|
||||
}
|
||||
|
||||
public CharSequence getDisabledMessage() {
|
||||
return mShortcutInfo.getDisabledMessage();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return mShortcutInfo.toString();
|
||||
|
||||
Reference in new issue
Block a user