Skip to content

Commit

Permalink
metadata fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
moljac committed Nov 4, 2024
1 parent 8441a03 commit 5ab1c9c
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ Java.Lang.Object ITargetConfigBuilder.SetTargetName (string name)
{
return SetTargetName (name);
}

Java.Lang.Object IUseCaseEventConfigBuilder.SetUseCaseEventCallback (IEventCallback p0)
{
return SetUseCaseEventCallback (p0);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ Java.Lang.Object ITargetConfigBuilder.SetTargetName (string name)
{
return SetTargetName (name);
}

Java.Lang.Object IUseCaseEventConfigBuilder.SetUseCaseEventCallback (IEventCallback p0)
{
return SetUseCaseEventCallback (p0);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ Java.Lang.Object ITargetConfigBuilder.SetTargetName (string name)
{
return SetTargetName (name);
}

Java.Lang.Object IUseCaseEventConfigBuilder.SetUseCaseEventCallback (IEventCallback p0)
{
return SetUseCaseEventCallback (p0);
}
}
}
}
13 changes: 13 additions & 0 deletions source/androidx.camera/camera-core/Transforms/Metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,17 @@
Java.Lang.Object
</attr>

<attr
path="/api/package[@name='androidx.camera.core.impl']/class[@name='QuirkSettingsLoader']/method[@name='apply' and count(parameter)=1 and parameter[1][@type='android.content.Context']]/parameter[1]"
name="managedType"
>
Java.Lang.Object
</attr>
<attr
path="/api/package[@name='androidx.camera.core.impl']/class[@name='QuirkSettingsLoader']/method[@name='apply' and count(parameter)=1 and parameter[1][@type='android.content.Context']]"
name="managedReturn"
>
Java.Lang.Object
</attr>

</metadata>
6 changes: 5 additions & 1 deletion source/androidx.core/core/Transforms/Metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@
name="no-alternatives"
>
true
</attr>
</attr>

<remove-node
path="/api/package[@name='androidx.core.os']/class[@name='ProfilingRequestBuilder']/method[@name='getThis' and count(parameter)=0]"
/>

</metadata>
7 changes: 7 additions & 0 deletions source/androidx.work/work-runtime/Transforms/Metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -200,4 +200,11 @@
Java.Lang.Object
</attr>

<attr
path="/api/package[@name='androidx.work']/class[@name='DefaultWorkerFactory']/method[@name='createWorker' and count(parameter)=3 and parameter[1][@type='android.content.Context'] and parameter[2][@type='java.lang.String'] and parameter[3][@type='androidx.work.WorkerParameters']]"
name="managedReturn"
>
AndroidX.Work.ListenableWorker
</attr>

</metadata>

0 comments on commit 5ab1c9c

Please sign in to comment.