Removing back-button alpha animation code
Back button is only animation in 2-button UI which is not supported anymore Bug: 246006580 Test: Presubmit Change-Id: I7385b07272e44c1f9f0488c158e1b4ee67060120
This commit is contained in:
1 parent
b64894b095
commit
1eb1124d82
8 files changed
+21
-185
No files matched your search
@@ -97,11 +97,6 @@ public class UiThreadHelper {
|
||||
.sendToTarget();
|
||||
}
|
||||
|
||||
public static void setBackButtonAlphaAsync(Context context, AsyncCommand command, float alpha,
|
||||
boolean animate) {
|
||||
runAsyncCommand(context, command, Float.floatToIntBits(alpha), animate ? 1 : 0);
|
||||
}
|
||||
|
||||
public static void runAsyncCommand(Context context, AsyncCommand command, int arg1, int arg2) {
|
||||
Message.obtain(HANDLER.get(context), MSG_RUN_COMMAND, arg1, arg2, command).sendToTarget();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user