Fix double logging for wallpaper settings icon activation
Bug: 137957099 Change-Id: Id95fa026c1e6f177ffbb03e99cc18ef03e9a37b5
This commit is contained in:
1 parent
f6858198b9
commit
f26c7930de
6 files changed
+32
-5
No files matched your search
@@ -187,8 +187,9 @@ public abstract class BaseDraggingActivity extends BaseActivity
|
||||
sourceContainer);
|
||||
}
|
||||
getUserEventDispatcher().logAppLaunch(v, intent, user);
|
||||
getStatsLogManager().log(LAUNCHER_APP_LAUNCH_TAP, item == null ? null
|
||||
: item.buildProto());
|
||||
if (item != null) {
|
||||
getStatsLogManager().log(LAUNCHER_APP_LAUNCH_TAP, item.buildProto());
|
||||
}
|
||||
return true;
|
||||
} catch (NullPointerException|ActivityNotFoundException|SecurityException e) {
|
||||
Toast.makeText(this, R.string.activity_not_found, Toast.LENGTH_SHORT).show();
|
||||
|
||||
Reference in new issue
Block a user