Docs: update the example code in Looper

Bug: 171488435
Test: m -j offline-sdk-docs
Change-Id: I995ae3a9d96f2b44384220201127d3b2d3a768be
This commit is contained in:
Jing Ji
2020-10-24 22:16:14 -07:00
parent 7f7a8d7bbb
commit 2456c281f3

View File

@@ -44,7 +44,7 @@ import android.util.proto.ProtoOutputStream;
* public void run() {
* Looper.prepare();
*
* mHandler = new Handler() {
* mHandler = new Handler(Looper.myLooper()) {
* public void handleMessage(Message msg) {
* // process incoming messages here
* }