Recently, I read the codes of android native app OneTimeInitializer. There are such codes make me confused.
public class OneTimeInitializerService extends IntentService {
// class name is too long
private static final String TAG = OneTimeInitializerService.class.getSimpleName()
.substring(0, 22);
//...
}
Why it says "class name is too long" and calls "substring(0, 22)"? Does the tag of logcat should not be too long?