WindowManagerPolicyThread.java revision ac3587d7ced544091264a35249dbd3f9531a3cab
1package com.android.internal.view;
2
3import android.os.Looper;
4
5/**
6 * Static storage of the thread running the window manager policy, to
7 * share with others.
8 */
9public class WindowManagerPolicyThread {
10    static Thread mThread;
11    static Looper mLooper;
12
13    public static void set(Thread thread, Looper looper) {
14        mThread = thread;
15        mLooper = looper;
16    }
17
18    public static Thread getThread() {
19        return mThread;
20    }
21
22    public static Looper getLooper() {
23        return mLooper;
24    }
25}
26