Fix two issues I found when adding CTS

1. staticMetadata qualified ID is not set proprely.
2. The schema visibility should be set in the child schema, instead
of parent.

Flag: android.app.appfunctions.flags.enable_app_function_manager
Bug: 360864791
Test: atest FrameworksAppFunctionsTests

Change-Id: Ic94d6d5acf3a3ee7fede10b61f2dbe82813b468d
6 files changed