[AndroidEnv] Simplifying max_duration settings in AndroidEnv.
[AndroidEnv] Simplifying max_duration settings in AndroidEnv.

We can consider further simplifying this, but the script in its current form is breaking in cases when either of these fields is missing from the task_config, so let's submit this now.

PiperOrigin-RevId: 355673333

deepmind/android_env