Merge "Docs: update the example code in Looper"

This commit is contained in:
Jing Ji
2020-10-26 18:10:26 +00:00
committed by Android (Google) Code Review

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
* }