diff options
author | Issei Suzuki <issei@google.com> | 2020-07-24 17:48:53 +0200 |
---|---|---|
committer | Issei Suzuki <issei@google.com> | 2020-07-31 16:57:26 +0200 |
commit | 99b11551754ae10aa73c30c6c94d6980e293ae92 (patch) | |
tree | 3143fd0f2434cc30cb33623b6cdcc77a87cc52cc /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | cbf9c819fa9e7ed59eba5f30022bb7c0eb2aec1c (diff) |
Disable overriding task transit animation.
Activities can override transition animation when starting or finishing
activity by calling Activity#overridePendingAppTransition. This change
restricts it in a way such that an activity can do it only when the
transition happens within a same task.
Note that this change is guarded by a property, so by default,
activities can still override any transition animation. In order to
restrict it, the following property must be set:
persist.wm.disable_custom_task_animation
Bug: 162066454
Test: atest ActivityTransitionTests
Change-Id: I235adf73af75883d8e943b6f85d841a729f5bb6b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions