Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

cut and limit auto generated Log tag length to 23 chars long #1721

@ghost

Description

Getting some lint errors because of auto generated log tags in generated subclasses because of long class names.

Would be nice to cut longer names to max 23 chars to comply with android lint.

Here's an example:

if (context_ instanceof ActionBarActivity) {
            activity = ((ActionBarActivity) context_);
        } else {
            Log.w("ActivityActionBarHelper_", (("Due to Context class "+ context_.getClass().getSimpleName())+", the @RootContext ActionBarActivity won't be populated"));
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions