mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 18:06:48 +00:00
Unifying activity tracker callback
> Using a common class for both Launcher and RecentsActivity > Removing static refenrece to LauncherModel and using a common pattern for tracking activities Bug: 141376165 Bug: 137568159 Change-Id: Ic1897abe6913ec78e25725118eedf5b468d5ec70
This commit is contained in:
@@ -56,8 +56,7 @@ public class TestInformationHandler implements ResourceBasedOverride {
|
||||
mDeviceProfile = InvariantDeviceProfile.INSTANCE.
|
||||
get(context).getDeviceProfile(context);
|
||||
mLauncherAppState = LauncherAppState.getInstanceNoCreate();
|
||||
mLauncher = mLauncherAppState != null ?
|
||||
(Launcher) mLauncherAppState.getModel().getCallback() : null;
|
||||
mLauncher = Launcher.ACTIVITY_TRACKER.getCreatedActivity();
|
||||
}
|
||||
|
||||
public Bundle call(String method) {
|
||||
|
||||
Reference in New Issue
Block a user