Add boolean to differentiate icons from workprofile

Bug:145825382
Test:Manual
Change-Id: I95e0cfe48b4a397eb54455374f11c7ea14c028f6
This commit is contained in:
Samuel Fufa
2019-12-10 13:23:51 -08:00
parent 70f998471c
commit 78e7e5fcaa
6 changed files with 30 additions and 14 deletions

View File

@@ -175,8 +175,8 @@ public abstract class BaseDraggingActivity extends BaseActivity
AppLaunchTracker.INSTANCE.get(this).onStartApp(intent.getComponent(), user,
sourceContainer);
}
getUserEventDispatcher().logAppLaunch(v, intent);
getStatsLogManager().logAppLaunch(v, intent);
getUserEventDispatcher().logAppLaunch(v, intent, user);
getStatsLogManager().logAppLaunch(v, intent, user);
return true;
} catch (NullPointerException|ActivityNotFoundException|SecurityException e) {
Toast.makeText(this, R.string.activity_not_found, Toast.LENGTH_SHORT).show();