When the user inputs some characters using keyboard, Android will call the text changed listeners (beforeTextChanged(), onTextChanged(), afterTextChanged()). If we want to limit the total length of the characters, we need to truncate the characters and then reset text which will invoke the text changed listeners again. This flag is to indicate the text changed listeners are invoked by truncating characters.