|
@@ -1200,18 +1200,18 @@ public class InputView extends LinearLayout implements View.OnClickListener, Tex
|
|
|
protected void assembleActions() {
|
|
|
mInputMoreActionList.clear();
|
|
|
InputMoreActionUnit actionUnit;
|
|
|
- if (!mSendPhotoDisable) {
|
|
|
- actionUnit = new InputMoreActionUnit() {
|
|
|
- @Override
|
|
|
- public void onAction(String chatInfoId, int chatType) {
|
|
|
- startSendPhoto();
|
|
|
- }
|
|
|
- };
|
|
|
- actionUnit.setIconResId(R.drawable.ic_more_picture);
|
|
|
- actionUnit.setName(getString(R.string.pic));
|
|
|
- actionUnit.setPriority(1000);
|
|
|
- mInputMoreActionList.add(actionUnit);
|
|
|
- }
|
|
|
+// if (!mSendPhotoDisable) {
|
|
|
+// actionUnit = new InputMoreActionUnit() {
|
|
|
+// @Override
|
|
|
+// public void onAction(String chatInfoId, int chatType) {
|
|
|
+// startSendPhoto();
|
|
|
+// }
|
|
|
+// };
|
|
|
+// actionUnit.setIconResId(R.drawable.ic_more_picture);
|
|
|
+// actionUnit.setName(getString(R.string.pic));
|
|
|
+// actionUnit.setPriority(1000);
|
|
|
+// mInputMoreActionList.add(actionUnit);
|
|
|
+// }
|
|
|
|
|
|
if (!mCaptureDisable) {
|
|
|
actionUnit = new InputMoreActionUnit() {
|
|
@@ -1256,12 +1256,12 @@ public class InputView extends LinearLayout implements View.OnClickListener, Tex
|
|
|
|
|
|
List<InputMoreActionUnit> extensionList = getExtensionInputMoreList();
|
|
|
mInputMoreActionList.addAll(extensionList);
|
|
|
- Collections.sort(mInputMoreActionList, new Comparator<InputMoreActionUnit>() {
|
|
|
- @Override
|
|
|
- public int compare(InputMoreActionUnit o1, InputMoreActionUnit o2) {
|
|
|
- return o2.getPriority() - o1.getPriority();
|
|
|
- }
|
|
|
- });
|
|
|
+// Collections.sort(mInputMoreActionList, new Comparator<InputMoreActionUnit>() {
|
|
|
+// @Override
|
|
|
+// public int compare(InputMoreActionUnit o1, InputMoreActionUnit o2) {
|
|
|
+// return o2.getPriority() - o1.getPriority();
|
|
|
+// }
|
|
|
+// });
|
|
|
}
|
|
|
|
|
|
private String getString(int stringID) {
|