Skip to content

Add unstyled button for uploading a custom screenshot #4550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 12, 2023

Conversation

lfkellogg
Copy link
Contributor

@lfkellogg lfkellogg commented Jan 11, 2023

Screenshots:

With screenshot

Screenshot_20230111_164158

Without screenshot

Screenshot_20230111_164256

@google-oss-bot
Copy link
Contributor

1 Warning
⚠️ Did you forget to add a changelog entry? (Add the 'no-changelog' label to the PR to silence this warning.)

Generated by 🚫 Danger

@lfkellogg lfkellogg force-pushed the lk/custom-screenshot branch from f3b492d to fd5be04 Compare January 11, 2023 21:44
@lfkellogg lfkellogg requested a review from kaibolay January 11, 2023 21:45
// do I/O on separate thread in order to not block the UI
Bitmap screenshot = screenshotUri == null ? null : readScreenshot();
// Do I/O on separate thread in order to not block the UI
Bitmap screenshot = readScreenshot(screenshotUri);
Copy link
Contributor Author

@lfkellogg lfkellogg Jan 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that screenshotUri could technically be modified on another thread I don't want to rely on its value being the same for the entirety of the execution of readScreenshot()

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jan 11, 2023

Coverage Report 1

Affected Products

  • firebase-appdistribution

    Overall coverage changed from ? (db416c7) to 0.00% (3120813) by ?.

    64 individual files with coverage change

    FilenameBase (db416c7)Merge (3120813)Diff
    AabUpdater.java?0.00%?
    AabUpdater_Factory.java?0.00%?
    ApkInstaller.java?0.00%?
    ApkInstaller_Factory.java?0.00%?
    ApkUpdater.java?0.00%?
    ApkUpdater_Factory.java?0.00%?
    AppDistributionReleaseImpl.java?0.00%?
    AppDistributionReleaseInternal.java?0.00%?
    AppDistroComponent.java?0.00%?
    AppIconSource.java?0.00%?
    AppIconSource_Factory.java?0.00%?
    AutoValue_AppDistributionReleaseImpl.java?0.00%?
    AutoValue_AppDistributionReleaseInternal.java?0.00%?
    AutoValue_ImageUtils_ImageSize.java?0.00%?
    AutoValue_TesterApiDisabledErrorDetails.java?0.00%?
    AutoValue_TesterApiDisabledErrorDetails_HelpLink.java?0.00%?
    AutoValue_UpdateProgressImpl.java?0.00%?
    DaggerAppDistroComponent.java?0.00%?
    ErrorMessages.java?0.00%?
    FeedbackActivity.java?0.00%?
    FeedbackActivity_MembersInjector.java?0.00%?
    FeedbackSender.java?0.00%?
    FeedbackSender_Factory.java?0.00%?
    FirebaseAppDistributionExceptions.java?0.00%?
    FirebaseAppDistributionFileProvider.java?0.00%?
    FirebaseAppDistributionImpl.java?0.00%?
    FirebaseAppDistributionImpl_Factory.java?0.00%?
    FirebaseAppDistributionLifecycleNotifier.java?0.00%?
    FirebaseAppDistributionLifecycleNotifier_Factory.java?0.00%?
    FirebaseAppDistributionNotificationsManager.java?0.00%?
    FirebaseAppDistributionNotificationsManager_Factory.java?0.00%?
    FirebaseAppDistributionRegistrar.java?0.00%?
    FirebaseAppDistributionTesterApiClient.java?0.00%?
    FirebaseAppDistributionTesterApiClient_Factory.java?0.00%?
    HttpsUrlConnectionFactory.java?0.00%?
    HttpsUrlConnectionFactory_Factory.java?0.00%?
    ImageUtils.java?0.00%?
    InstallActivity.java?0.00%?
    LogWrapper.java?0.00%?
    NewReleaseFetcher.java?0.00%?
    NewReleaseFetcher_Factory.java?0.00%?
    PackageInfoUtils.java?0.00%?
    ReleaseIdentifier.java?0.00%?
    ReleaseIdentifier_Factory.java?0.00%?
    ReleaseUtils.java?0.00%?
    ScreenshotTaker.java?0.00%?
    ScreenshotTaker_Factory.java?0.00%?
    SequentialReference.java?0.00%?
    SignInResultActivity.java?0.00%?
    SignInStorage.java?0.00%?
    SignInStorage_Factory.java?0.00%?
    TakeScreenshotAndStartFeedbackActivity.java?0.00%?
    TakeScreenshotAndStartFeedbackActivity_MembersInjector.java?0.00%?
    TaskCache.java?0.00%?
    TaskCompletionSourceCache.java?0.00%?
    TaskUtils.java?0.00%?
    TesterApiDisabledErrorDetails.java?0.00%?
    TesterApiHttpClient.java?0.00%?
    TesterApiHttpClient_Factory.java?0.00%?
    TesterSignInManager.java?0.00%?
    TesterSignInManager_Factory.java?0.00%?
    UpdateProgressImpl.java?0.00%?
    UpdateTaskCache.java?0.00%?
    UpdateTaskImpl.java?0.00%?

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/78kRdjun6Z.html

@lfkellogg lfkellogg force-pushed the lk/custom-screenshot branch from fd5be04 to 13a7d82 Compare January 11, 2023 21:52
@github-actions
Copy link
Contributor

github-actions bot commented Jan 11, 2023

Unit Test Results

172 tests   172 ✔️  42s ⏱️
  17 suites      0 💤
  17 files        0

Results for commit 41eb94e.

♻️ This comment has been updated with latest results.

@lfkellogg lfkellogg force-pushed the lk/custom-screenshot branch from 13a7d82 to 8c4527f Compare January 11, 2023 22:15
@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jan 11, 2023

Size Report 1

Affected Products

  • base

    TypeBase (db416c7)Merge (3120813)Diff
    apk (aggressive)?8.39 kB? (?)
    apk (release)?8.65 kB? (?)
  • firebase-annotations

    TypeBase (db416c7)Merge (3120813)Diff
    apk (aggressive)?8.39 kB? (?)
    apk (release)?9.46 kB? (?)
  • firebase-appdistribution

    TypeBase (db416c7)Merge (3120813)Diff
    aar?230 kB? (?)
    apk (aggressive)?894 kB? (?)
    apk (release)?2.63 MB? (?)
  • firebase-appdistribution-api

    TypeBase (db416c7)Merge (3120813)Diff
    aar?16.0 kB? (?)
    apk (aggressive)?112 kB? (?)
    apk (release)?1.27 MB? (?)
  • firebase-common

    TypeBase (db416c7)Merge (3120813)Diff
    aar?67.4 kB? (?)
    apk (aggressive)?111 kB? (?)
    apk (release)?1.26 MB? (?)
  • firebase-components

    TypeBase (db416c7)Merge (3120813)Diff
    aar?44.9 kB? (?)
    apk (aggressive)?23.1 kB? (?)
    apk (release)?596 kB? (?)
  • firebase-installations

    TypeBase (db416c7)Merge (3120813)Diff
    aar?55.0 kB? (?)
    apk (aggressive)?116 kB? (?)
    apk (release)?1.28 MB? (?)
  • firebase-installations-interop

    TypeBase (db416c7)Merge (3120813)Diff
    aar?8.05 kB? (?)
    apk (aggressive)?65.0 kB? (?)
    apk (release)?651 kB? (?)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/kv7XyegYBu.html

@lfkellogg lfkellogg force-pushed the lk/custom-screenshot branch from 10f8b52 to b26c892 Compare January 12, 2023 13:59
@google-oss-bot
Copy link
Contributor

Startup Time Report 1

Note: Layout is sometimes suboptimal due to limited formatting support on GitHub. Please check this report on GCS.

Startup time comparison between the CI merge commit (3120813) and the base commit (db416c7) are not available.

No macrobenchmark data found for the base commit (db416c7). Analysis for the CI merge commit (3120813) can be found at:

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/jhCzslE5t3/index.html

@lfkellogg lfkellogg merged commit 712ed5a into fad/in-app-feedback Jan 12, 2023
@lfkellogg lfkellogg deleted the lk/custom-screenshot branch January 12, 2023 18:10
kaibolay pushed a commit that referenced this pull request Jan 23, 2023
* Add unstyled button for uploading a custom screenshot

* Bump compileSdkVersion to 31

* Use plain Activity Results API to avoid having to raise compile/target SDK version
lfkellogg added a commit that referenced this pull request Jan 25, 2023
* Add unstyled button for uploading a custom screenshot

* Bump compileSdkVersion to 31

* Use plain Activity Results API to avoid having to raise compile/target SDK version
lfkellogg added a commit that referenced this pull request Jan 25, 2023
* Add unstyled button for uploading a custom screenshot

* Bump compileSdkVersion to 31

* Use plain Activity Results API to avoid having to raise compile/target SDK version
@firebase firebase locked and limited conversation to collaborators Feb 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants