Stop using private APIs in tests.
Not sure it's much better, but at least this is public. Bug: 6202480 Change-Id: If6cda78fbd32cfb068e0b2fcb637914939b044b3main
parent
2752287c42
commit
6ae5e45118
|
@ -212,7 +212,7 @@ public class InputTestsBase extends ServiceTestCase<LatinIME> {
|
|||
// any subsequent post in this queue. However the queue itself is still fully functional!
|
||||
// If we have a way of resetting "queue.mQuiting" then we can continue using it as normal,
|
||||
// coming back to this method to run the messages.
|
||||
MessageQueue queue = looper.getQueue();
|
||||
MessageQueue queue = Looper.myQueue();
|
||||
try {
|
||||
// However there is no way of doing it externally, and mQuiting is private.
|
||||
// So... get out the big guns.
|
||||
|
|
Loading…
Reference in New Issue