Skip to content

Commit 7cce853

Browse files
authored
Various app-check fixes. (#2911)
1 parent defe4b7 commit 7cce853

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
lines changed

appcheck/firebase-appcheck-debug-testing/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
<!-- See the License for the specific language governing permissions and -->
1414
<!-- limitations under the License. -->
1515

16-
<manifest package="com.google.firebase.appcheck.debug.testing">
16+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
17+
package="com.google.firebase.appcheck.debug.testing">
1718
<!--Although the *SdkVersion is captured in gradle build files, this is required for non gradle builds-->
1819
<!--<uses-sdk android:minSdkVersion="16"/>-->
1920
</manifest>

appcheck/firebase-appcheck-debug/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
<!-- See the License for the specific language governing permissions and -->
1414
<!-- limitations under the License. -->
1515

16-
<manifest package="com.google.firebase.appcheck.debug">
16+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
17+
package="com.google.firebase.appcheck.debug">
1718
<!--Although the *SdkVersion is captured in gradle build files, this is required for non gradle builds-->
1819
<!--<uses-sdk android:minSdkVersion="16"/>-->
1920
</manifest>

appcheck/firebase-appcheck-debug/src/main/java/com/google/firebase/appcheck/debug/internal/DebugAppCheckProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public DebugAppCheckProvider(@NonNull FirebaseApp firebaseApp, @Nullable String
6868
static Task<String> determineDebugSecret(
6969
@NonNull FirebaseApp firebaseApp, @NonNull ExecutorService executor) {
7070
TaskCompletionSource<String> taskCompletionSource = new TaskCompletionSource<>();
71-
executor.submit(
71+
executor.execute(
7272
() -> {
7373
StorageHelper storageHelper =
7474
new StorageHelper(

appcheck/firebase-appcheck-interop/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
<!-- See the License for the specific language governing permissions and -->
1414
<!-- limitations under the License. -->
1515

16-
<manifest package="com.google.firebase.appcheck.interop">
16+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
17+
package="com.google.firebase.appcheck.interop">
1718
<!--Although the *SdkVersion is captured in gradle build files, this is required for non gradle builds-->
1819
<!--<uses-sdk android:minSdkVersion="16"/>-->
1920
<application />

appcheck/firebase-appcheck-safetynet/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
<!-- See the License for the specific language governing permissions and -->
1414
<!-- limitations under the License. -->
1515

16-
<manifest package="com.google.firebase.appcheck.safetynet">
16+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
17+
package="com.google.firebase.appcheck.safetynet">
1718
<!--Although the *SdkVersion is captured in gradle build files, this is required for non gradle builds-->
1819
<!--<uses-sdk android:minSdkVersion="16"/>-->
1920
</manifest>

appcheck/firebase-appcheck-safetynet/src/main/java/com/google/firebase/appcheck/safetynet/internal/SafetyNetAppCheckProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public SafetyNetAppCheckProvider(@NonNull FirebaseApp firebaseApp) {
8888
private Task<SafetyNetClient> initSafetyNetClient(
8989
GoogleApiAvailability googleApiAvailability, ExecutorService executor) {
9090
TaskCompletionSource<SafetyNetClient> taskCompletionSource = new TaskCompletionSource<>();
91-
executor.submit(
91+
executor.execute(
9292
() -> {
9393
int connectionResult = googleApiAvailability.isGooglePlayServicesAvailable(context);
9494
if (connectionResult == ConnectionResult.SUCCESS) {

0 commit comments

Comments
 (0)