Android getMaxAddressLineIndex returns 0 for line 1 : <p>For some reason the implementation of getMaxAddressLineIndex has recently changed. Now this method returns 0 for line 1. </p>

<p>I have an existing code, which used to work:  <code>i&lt;address.getMaxAddressLineIndex(</code>). However, it is broken somehow. </p>

<p><a href="https://i.stack.imgur.com/HbEEp.png" rel="noreferrer"><img src="https://i.stack.imgur.com/HbEEp.png" alt="enter image description here"></a></p>

<p>I don't know if it is due to the new Google Api or something else. </p>

<p>Can someone please confirm me here what is going on?</p>
