54285f2cbfb6e307d594ca264f7230b4e1e3cdce
NinePatch.mPaint may be null and most methods in this class handle that case properly. However, the constructor which derives a new NinePatch from an existing instance assumes that mPaint is non-null. This results in an unexpected NullPointerException, for example when attempting to call NinePatchDrawable.mutate() on an instance that was created from a resource. Small unrelated fix in same file: Remove unused private mRect member.
Added info about mcc and mnc, plus other changes per http://b/1918247; rewrote "How Android find best match" section per rgreenwalt's comments and added flowchart.
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%