Commit 7335cfd
committed
ActivityThread: Avoid creating duplicate handlers and reuse mH
sMainThreadHandler is used for notification of changes in
SharedPreferences and refers to a new instance of Handler instead
of the existing instance, mH, of the ActivityThread. Fix to reuse
existing handlers associated with main looper.
Change-Id: I794a5802a9eacdb188bd0619db5e70e3ae89a07d1 parent 9885362 commit 7335cfd
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4728 | 4728 | | |
4729 | 4729 | | |
4730 | 4730 | | |
4731 | | - | |
4732 | | - | |
4733 | | - | |
4734 | 4731 | | |
4735 | 4732 | | |
4736 | 4733 | | |
4737 | 4734 | | |
| 4735 | + | |
| 4736 | + | |
| 4737 | + | |
| 4738 | + | |
4738 | 4739 | | |
4739 | 4740 | | |
4740 | 4741 | | |
| |||
0 commit comments