add support LegacyLauncher, and some cleanup in systemui