diff options
author | Hans Boehm <hboehm@google.com> | 2015-09-22 17:09:01 -0700 |
---|---|---|
committer | Hans Boehm <hboehm@google.com> | 2015-10-11 06:08:35 +0000 |
commit | 9192d5c751f2aaf1d18bb9b2f715905ffd9d5925 (patch) | |
tree | 336391a5ca8016ea6ac8cfc0dfe359b249b3b195 /src/com/android/calculator2/BoundedRational.java | |
parent | b7bd34886fb39401b6e38ad97634655a0d025902 (diff) | |
download | android_packages_apps_ExactCalculator-9192d5c751f2aaf1d18bb9b2f715905ffd9d5925.tar.gz android_packages_apps_ExactCalculator-9192d5c751f2aaf1d18bb9b2f715905ffd9d5925.tar.bz2 android_packages_apps_ExactCalculator-9192d5c751f2aaf1d18bb9b2f715905ffd9d5925.zip |
Cleanup of timeout handling and message
Bug: 21470513
Prevent timeout message from disappearing on rotation.
Have long timeout setting survive rotation. Following Justin's
suggestion, associate it with a given expression and reset when
expression is cleared.
This does mean that when you rotate a device displaying an expensive-
-to-compute result, the device will initially display the formula for
several seconds, before it redisplays the result. Previously you
had to reenable the long timeout. Neither is 100% ideal.
Change-Id: Ibf8e151dd37ebadf1e86adee4718e8fa8f66b975
(cherry picked from commit 5e6a0ca2fcccb9ed16a465cf2a7e30ee5f7e0e67)
Diffstat (limited to 'src/com/android/calculator2/BoundedRational.java')
0 files changed, 0 insertions, 0 deletions