Skip to content

Conversation

@li-pbhadour
Copy link
Contributor

Summary

This PR removes support of Media Projection API and its usages is Shaky codebase that was added in PR#82.

  • Removed ScreenCaptureManager and corresponding foreground service ScreenCaptureService used for screen capturing using Media Projection Api.
  • Removed support from Shaky.java that initiated and handled projected sessions.
  • Removed SampleBottomSheetDialog support and related themes in styles.xml as it was primarily introduced for Media Projection API handling.
  • Removed UI support for launching the bottom sheet from activity_demo.xml and its tapped action in ShakyDemo.java since this flow is no longer required.
  • Further, removed related permissions in AndroidManifest.xml.

Testing Done

  • Tested locally.
  • Please refer attached screenshots for reference.
Before After
Before(1) After(1)
Before(2) After(2)

- Removed `ScreenCaptureManager` and corresponding foreground service `ScreenCaptureService` used for screen capturing using Media Projection Api.
- Removed support from `Shaky.java` that initiated and handled projected sessions.
- Removed `SampleBottomSheetDialog` support and related themes in `styles.xml` as it was primarily introduced for `Media Projection` API handling.
- Removed UI support for launching the bottom sheet from `activity_demo.xml` and its tapped action in `ShakyDemo.java` since this flow is no longer required.
- Further, removed related permissions in `AndroidManifest.xml`.
@li-advait li-advait merged commit 80b2f71 into linkedin:main Sep 12, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants