Repository: flutter
Issue: Warning log: Google certificate not found
Labels: p: maps,P3,team-android,triaged-android,from: manual-qa

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Steps to reproduce

1. Get latest version of Wonderous app (This is the log when this issue was created - commit a04d8bbb71c2a1a00e393218de6e44dc2ad0559a (HEAD -> main, origin/main, origin/HEAD)

Merge: https://github.com/flutter/flutter/commit/8a29d67fa4eb7947b01c5eba330f1fd52a23da47 509487f
Author: Shawn [shawn@gskinner.com](mailto:shawn@gskinner.com)
Date: Mon Oct 2 14:02:12 2023 -0600
Merge pull request https://github.com/flutter/flutter/issues/124 from yangsfang/yangsfang-patch-1
Fix throttler calling an action twice
)

2. Run Wonderous in Android Studio (target: Pixel 6 + Android 13)
3. Navigate to the Great Wall (Navigate to: /wonder/greatWall?t=0)
4. Check the log:
```
W/DynamiteModule( 9098): Local module descriptor class for com.google.android.gms.googlecertificates not found.
I/DynamiteModule( 9098): Considering local module com.google.android.gms.googlecertificates:0 and remote module com.google.android.gms.googlecertificates:7
I/DynamiteModule( 9098): Selected remote version of com.google.android.gms.googlecertificates, version >= 7
W/MobStoreFlagStore( 9098): Unable to update local snapshot for com.google.android.libraries.consentverifier#com.gskinner.flutter.wonders, may result in stale flags.
W/MobStoreFlagStore( 9098): java.util.concurrent.ExecutionException: java.lang.SecurityException: GoogleCertificatesRslt: not allowed: pkg=com.gskinner.flutter.wonders, sha256=[6e404f6c0fb48a010fea31245b32fa23f9f0be40c2c3a2611f4714165d92c436], atk=false, ver=233515044.true (go/gsrlt)
W/MobStoreFlagStore( 9098): 	at m.arn.s(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):21)
W/MobStoreFlagStore( 9098): 	at m.arn.get(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):5)
W/MobStoreFlagStore( 9098): 	at m.ats.a(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):2)
W/MobStoreFlagStore( 9098): 	at m.asx.h(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):7)
W/MobStoreFlagStore( 9098): 	at m.aal.c(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):1)
W/MobStoreFlagStore( 9098): 	at m.aao.run(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):5)
W/MobStoreFlagStore( 9098): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:487)
W/MobStoreFlagStore( 9098): 	at java.util.concurrent.FutureTask.run(FutureTask.java:264)
W/MobStoreFlagStore( 9098): 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
W/MobStoreFlagStore( 9098): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
W/MobStoreFlagStore( 9098): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
W/MobStoreFlagStore( 9098): 	at java.lang.Thread.run(Thread.java:1012)
W/MobStoreFlagStore( 9098): Caused by: java.lang.SecurityException: GoogleCertificatesRslt: not allowed: pkg=com.gskinner.flutter.wonders, sha256=[6e404f6c0fb48a010fea31245b32fa23f9f0be40c2c3a2611f4714165d92c436], atk=false, ver=233515044.true (go/gsrlt)
W/MobStoreFlagStore( 9098): 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3011)
W/MobStoreFlagStore( 9098): 	at android.os.Parcel.createException(Parcel.java:2995)
W/MobStoreFlagStore( 9098): 	at android.os.Parcel.readException(Parcel.java:2978)
W/MobStoreFlagStore( 9098): 	at android.os.Parcel.readException(Parcel.java:2920)
W/MobStoreFlagStore( 9098): 	at m.fh.c(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):11)
W/MobStoreFlagStore( 9098): 	at m.sk.a(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):39)
W/MobStoreFlagStore( 9098): 	at m.jt.e(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):11)
W/MobStoreFlagStore( 9098): 	at m.kr.t(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):10)
W/MobStoreFlagStore( 9098): 	at m.kr.u(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):22)
W/MobStoreFlagStore( 9098): 	at m.kr.e(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):16)
W/MobStoreFlagStore( 9098): 	at m.kv.handleMessage(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):774)
W/MobStoreFlagStore( 9098): 	at android.os.Handler.dispatchMessage(Handler.java:102)
W/MobStoreFlagStore( 9098): 	at android.os.Looper.loopOnce(Looper.java:201)
W/MobStoreFlagStore( 9098): 	at android.os.Looper.loop(Looper.java:288)
W/MobStoreFlagStore( 9098): 	at android.os.HandlerThread.run(HandlerThread.java:67)
```

### Expected results

None warning should be logged

### Actual results

Warning logs due to com.google.android.gms.googlecertificates not found are logged.

### Code sample

<details><summary>Code sample</summary>

```Wonderous
git clone  https://github.com/gskinnerTeam/flutter-wonderous-app.git
```

</details>


### Screenshots or Video

<details>
<summary>Screenshots / Video demonstration</summary>

![navigate to great wall](https://github.com/flutter/flutter/assets/11681325/18afb405-6717-4750-b4a0-6e7a42275998)

</details>


### Logs

<details><summary>Logs</summary>

```console
W/DynamiteModule( 9098): Local module descriptor class for com.google.android.gms.googlecertificates not found.
I/DynamiteModule( 9098): Considering local module com.google.android.gms.googlecertificates:0 and remote module com.google.android.gms.googlecertificates:7
I/DynamiteModule( 9098): Selected remote version of com.google.android.gms.googlecertificates, version >= 7
W/MobStoreFlagStore( 9098): Unable to update local snapshot for com.google.android.libraries.consentverifier#com.gskinner.flutter.wonders, may result in stale flags.
W/MobStoreFlagStore( 9098): java.util.concurrent.ExecutionException: java.lang.SecurityException: GoogleCertificatesRslt: not allowed: pkg=com.gskinner.flutter.wonders, sha256=[6e404f6c0fb48a010fea31245b32fa23f9f0be40c2c3a2611f4714165d92c436], atk=false, ver=233515044.true (go/gsrlt)
W/MobStoreFlagStore( 9098): 	at m.arn.s(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):21)
W/MobStoreFlagStore( 9098): 	at m.arn.get(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):5)
W/MobStoreFlagStore( 9098): 	at m.ats.a(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):2)
W/MobStoreFlagStore( 9098): 	at m.asx.h(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):7)
W/MobStoreFlagStore( 9098): 	at m.aal.c(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):1)
W/MobStoreFlagStore( 9098): 	at m.aao.run(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):5)
W/MobStoreFlagStore( 9098): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:487)
W/MobStoreFlagStore( 9098): 	at java.util.concurrent.FutureTask.run(FutureTask.java:264)
W/MobStoreFlagStore( 9098): 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
W/MobStoreFlagStore( 9098): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
W/MobStoreFlagStore( 9098): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
W/MobStoreFlagStore( 9098): 	at java.lang.Thread.run(Thread.java:1012)
W/MobStoreFlagStore( 9098): Caused by: java.lang.SecurityException: GoogleCertificatesRslt: not allowed: pkg=com.gskinner.flutter.wonders, sha256=[6e404f6c0fb48a010fea31245b32fa23f9f0be40c2c3a2611f4714165d92c436], atk=false, ver=233515044.true (go/gsrlt)
W/MobStoreFlagStore( 9098): 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3011)
W/MobStoreFlagStore( 9098): 	at android.os.Parcel.createException(Parcel.java:2995)
W/MobStoreFlagStore( 9098): 	at android.os.Parcel.readException(Parcel.java:2978)
W/MobStoreFlagStore( 9098): 	at android.os.Parcel.readException(Parcel.java:2920)
W/MobStoreFlagStore( 9098): 	at m.fh.c(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):11)
W/MobStoreFlagStore( 9098): 	at m.sk.a(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):39)
W/MobStoreFlagStore( 9098): 	at m.jt.e(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):11)
W/MobStoreFlagStore( 9098): 	at m.kr.t(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):10)
W/MobStoreFlagStore( 9098): 	at m.kr.u(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):22)
W/MobStoreFlagStore( 9098): 	at m.kr.e(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):16)
W/MobStoreFlagStore( 9098): 	at m.kv.handleMessage(:com.google.android.gms.dynamite_mapsdynamite@233515044@23.35.15 (190400-0):774)
W/MobStoreFlagStore( 9098): 	at android.os.Handler.dispatchMessage(Handler.java:102)
W/MobStoreFlagStore( 9098): 	at android.os.Looper.loopOnce(Looper.java:201)
W/MobStoreFlagStore( 9098): 	at android.os.Looper.loop(Looper.java:288)
W/MobStoreFlagStore( 9098): 	at android.os.HandlerThread.run(HandlerThread.java:67)
```

</details>


### Flutter Doctor output

<details><summary>Doctor output</summary>

```console
[✓] Flutter (Channel master, 3.16.0-2.0.pre.8, on macOS 13.5 22G74 darwin-arm64, locale en-US)
    • Flutter version 3.16.0-2.0.pre.8 on channel master at /Users/diegogawenda/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b71f8ce7ae (2 hours ago), 2023-10-02 15:09:38 -0400
    • Engine revision f3a92cb0c4
    • Dart version 3.2.0 (build 3.2.0-221.0.dev)
    • DevTools version 2.28.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/diegogawenda/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/diegogawenda/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/diegogawenda/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A240d
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.80.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.74.0

[✓] Connected device (4 available)
    • Pixel 6 (mobile)         • 1A141FDF600823            • android-arm64  • Android 13 (API 33)
    • Somnio’s iPhone (mobile) • 00008120-001168D83C87C01E • ios            • iOS 17.0.2 21A351
    • macOS (desktop)          • macos                     • darwin-arm64   • macOS 13.5 22G74 darwin-arm64
    • Chrome (web)             • chrome                    • web-javascript • Google Chrome 117.0.5938.92

[✓] Network resources
    • All expected network resources are available.
```

</details>