You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
add Java APIs needed for WhatsApp MainActivity and ConversationActivity
This commit is contained in:
@@ -304,6 +304,12 @@ public class PopupMenu {
|
||||
// TODO Auto-generated method stub
|
||||
throw new UnsupportedOperationException("Unimplemented method 'hasVisibleItems'");
|
||||
}
|
||||
|
||||
@Override
|
||||
public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) {
|
||||
// TODO Auto-generated method stub
|
||||
throw new UnsupportedOperationException("Unimplemented method 'addSubMenu'");
|
||||
}
|
||||
}
|
||||
|
||||
private class SubMenuImpl extends MenuImpl implements SubMenu {
|
||||
@@ -317,6 +323,12 @@ public class PopupMenu {
|
||||
public MenuItem getItem() {
|
||||
return item;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void clearHeader() {
|
||||
// TODO Auto-generated method stub
|
||||
throw new UnsupportedOperationException("Unimplemented method 'clearHeader'");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -487,6 +499,12 @@ public class PopupMenu {
|
||||
// TODO Auto-generated method stub
|
||||
throw new UnsupportedOperationException("Unimplemented method 'setShowAsActionFlags'");
|
||||
}
|
||||
|
||||
@Override
|
||||
public MenuItem setAlphabeticShortcut(char alphaChar) {
|
||||
// TODO Auto-generated method stub
|
||||
throw new UnsupportedOperationException("Unimplemented method 'setAlphabeticShortcut'");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user