OSDN Git Service

Restarting launcher when on font scale change
authorSunny Goyal <sunnygoyal@google.com>
Fri, 11 Dec 2015 17:50:49 +0000 (09:50 -0800)
committerSunny Goyal <sunnygoyal@google.com>
Fri, 11 Dec 2015 18:55:20 +0000 (10:55 -0800)
commita50a419b824c10f11d12097215982c978f740e00
treeaa8d8568e219bb8892b5ce5716f9b8ae92b2ff56
parent49750ce75e7413ad3c4fe4be31a2e1d73312794b
Restarting launcher when on font scale change

Chaning the font scale affects the static device profile and may
affect various background threads and static constants. Killing
the process ensures that these states get invalidated properly.

Bug: 26131935
Change-Id: Idc262ee5d158019e7a2505f8fb9a6413c06bfdeb
src/com/android/launcher3/DeviceProfile.java
src/com/android/launcher3/LauncherAppState.java
src/com/android/launcher3/util/ConfigMonitor.java [new file with mode: 0644]