Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1bdc770e authored by Chris Wren's avatar Chris Wren
Browse files

also log details for neko rename events

Bug: 29878060
Change-Id: Icf10474cfed83d8196c04749b4fb0e25fa623b44
parent 37953131
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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");
    }
+1 −1
Original line number Diff line number Diff line
@@ -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);
                    }