diff options
| author | Eugene Susla <eugenesusla@google.com> | 2017-11-14 17:41:03 -0800 |
|---|---|---|
| committer | Eugene Susla <eugenesusla@google.com> | 2018-01-23 15:03:09 -0800 |
| commit | 8f07ee15cb678a86e1b8f0584a5c9ae29c8f46b8 (patch) | |
| tree | a0064e970873fc2c0a2f269644d9bde2f43e5cda /core/java | |
| parent | f80ebafa34b3531f73b8d42942f625e334433a6d (diff) | |
Fix magnification button toggle off
Fixes: b/69307379
Test: Ensure attached bug no longer reproduces.
Ensure magnification using a11y button otherwise works as expected
Change-Id: Ie4e966eb8cfcc9d3f37ae7252b951381ef1fb7c7
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/os/Handler.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/os/Handler.java b/core/java/android/os/Handler.java index 5c5e351d2eeb..fc88e9006639 100644 --- a/core/java/android/os/Handler.java +++ b/core/java/android/os/Handler.java @@ -202,7 +202,8 @@ public class Handler { mLooper = Looper.myLooper(); if (mLooper == null) { throw new RuntimeException( - "Can't create handler inside thread that has not called Looper.prepare()"); + "Can't create handler inside thread " + Thread.currentThread() + + " that has not called Looper.prepare()"); } mQueue = mLooper.mQueue; mCallback = callback; |
