Fixed wrong annotations for android.content.ComponentName
ComponentName.getClassName() and ComponentName.getPackageName() cannot return null. Also it's not possible to create ComponentName with null packageName or className
This commit is contained in:
@@ -758,6 +758,15 @@
|
||||
<item name='android.content.ComponentName ComponentName(android.content.Context, java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='android.content.ComponentName ComponentName(android.content.Context, java.lang.String) 1'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='android.content.ComponentName ComponentName(java.lang.String, java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='android.content.ComponentName ComponentName(java.lang.String, java.lang.String) 1'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='android.content.ContentProviderOperation android.content.ContentProviderResult apply(android.content.ContentProvider, android.content.ContentProviderResult[], int)'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
@@ -1421,6 +1430,12 @@
|
||||
<item name='android.content.ComponentName java.lang.String flattenToString()'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='android.content.ComponentName java.lang.String getPackageName()'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='android.content.ComponentName java.lang.String getClassName()'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='android.content.ContentProvider android.net.Uri insert(android.net.Uri, android.content.ContentValues) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
|
||||
Reference in New Issue
Block a user