also log details for neko rename events
Bug: 29878060 Change-Id: Icf10474cfed83d8196c04749b4fb0e25fa623b44
This commit is contained in:
@@ -312,6 +312,10 @@ public class Cat extends Drawable {
|
||||
logCatAction(context, "egg_neko_add");
|
||||
}
|
||||
|
||||
public void logRename(Context context) {
|
||||
logCatAction(context, "egg_neko_rename");
|
||||
}
|
||||
|
||||
public void logRemove(Context context) {
|
||||
logCatAction(context, "egg_neko_remove");
|
||||
}
|
||||
|
||||
@@ -138,7 +138,7 @@ public class NekoLand extends Activity implements PrefsListener {
|
||||
.setPositiveButton(android.R.string.ok, new OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
MetricsLogger.count(context, "egg_neko_rename_cat", 1);
|
||||
cat.logRename(context);
|
||||
cat.setName(text.getText().toString().trim());
|
||||
mPrefs.addCat(cat);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user