Merge "Removing duplicate string in Recents." into oc-dev
am: c16142239f
Change-Id: I7274af1f1b6670478b3bb2a848e39a42ddff639b
This commit is contained in:
@@ -26,6 +26,6 @@
|
|||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:drawableTop="@drawable/recents_info_light"
|
android:drawableTop="@drawable/recents_info_light"
|
||||||
android:drawablePadding="8dp"
|
android:drawablePadding="8dp"
|
||||||
android:text="@string/recents_incompatible_app_message"
|
android:text="@string/dock_non_resizeble_failed_to_dock_text"
|
||||||
android:textColor="@android:color/white" />
|
android:textColor="@android:color/white" />
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
@@ -789,8 +789,6 @@
|
|||||||
<string name="recents_launch_disabled_message"><xliff:g id="app" example="Calendar">%s</xliff:g> is disabled in safe-mode.</string>
|
<string name="recents_launch_disabled_message"><xliff:g id="app" example="Calendar">%s</xliff:g> is disabled in safe-mode.</string>
|
||||||
<!-- Recents: Stack action button string. [CHAR LIMIT=NONE] -->
|
<!-- Recents: Stack action button string. [CHAR LIMIT=NONE] -->
|
||||||
<string name="recents_stack_action_button_label">Clear all</string>
|
<string name="recents_stack_action_button_label">Clear all</string>
|
||||||
<!-- Recents: Incompatible task message. [CHAR LIMIT=NONE] -->
|
|
||||||
<string name="recents_incompatible_app_message">App doesn\'t support split screen</string>
|
|
||||||
<!-- Recents: Hint text that shows on the drop targets to start multiwindow. [CHAR LIMIT=NONE] -->
|
<!-- Recents: Hint text that shows on the drop targets to start multiwindow. [CHAR LIMIT=NONE] -->
|
||||||
<string name="recents_drag_hint_message">Drag here to use split screen</string>
|
<string name="recents_drag_hint_message">Drag here to use split screen</string>
|
||||||
|
|
||||||
|
|||||||
@@ -474,7 +474,7 @@ public class Recents extends SystemUI
|
|||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
EventBus.getDefault().send(new ShowUserToastEvent(
|
EventBus.getDefault().send(new ShowUserToastEvent(
|
||||||
R.string.recents_incompatible_app_message, Toast.LENGTH_SHORT));
|
R.string.dock_non_resizeble_failed_to_dock_text, Toast.LENGTH_SHORT));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -610,8 +610,8 @@ public class TaskView extends FixedSizeFrameLayout implements Task.TaskCallbacks
|
|||||||
if (mIncompatibleAppToastView == null) {
|
if (mIncompatibleAppToastView == null) {
|
||||||
mIncompatibleAppToastView = Utilities.findViewStubById(this,
|
mIncompatibleAppToastView = Utilities.findViewStubById(this,
|
||||||
R.id.incompatible_app_toast_stub).inflate();
|
R.id.incompatible_app_toast_stub).inflate();
|
||||||
TextView msg = (TextView) findViewById(com.android.internal.R.id.message);
|
TextView msg = findViewById(com.android.internal.R.id.message);
|
||||||
msg.setText(R.string.recents_incompatible_app_message);
|
msg.setText(R.string.dock_non_resizeble_failed_to_dock_text);
|
||||||
}
|
}
|
||||||
mIncompatibleAppToastView.setVisibility(View.VISIBLE);
|
mIncompatibleAppToastView.setVisibility(View.VISIBLE);
|
||||||
} else if (mIncompatibleAppToastView != null) {
|
} else if (mIncompatibleAppToastView != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user