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

Commit 53f0694f authored by Chris Wren's avatar Chris Wren Committed by Android (Google) Code Review
Browse files

Merge "also log details for neko rename events" into nyc-mr1-dev

parents c1182a81 1bdc770e
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);
                    }