Skip to content
Permalink
Branch: master
Commits on Nov 11, 2019
  1. Create LICENSE

    yarolegovich committed Nov 11, 2019
    Added a separate LICENCE file in addition to mentioning it in README
Commits on Nov 1, 2019
Commits on Oct 30, 2019
  1. re #3: removed Falcon from project

    yarolegovich committed Oct 26, 2019
    The decision was made because:
    * Falcon draws all views it finds in WindowManager, some of them might belong to stopped activities.
    * Because of the previous point, dialogs might be handled incorrectly.
    * If reflection fails - nothing will be drawn, because it's used even to access decor view of the activity, even though it's available via public API.
    * Our default fallback strategy now renders dialogs and popup windows :yay:
  2. re #3: integrated floating panel renderer

    yarolegovich committed Oct 26, 2019
    PixelCopyDelegate and default fallback strategy are now using floating panel renderer
  3. re #3: implemented floating panel renderer

    yarolegovich committed Oct 26, 2019
    * The class uses reflection to access dialogs and popups displayed in the given activity
    * The class then draws found panels on the bitmap argument. in case of failure a partial result or original bitmap is returned. Our reasoning here is that the only real point of failure is reflection. And if it fails on some device, it's better to receive screenshots without dialogs than nothing.
Commits on Oct 21, 2019
  1. re #1: refactored ScreenshotManagerImpl and integrated PixelCopyDelegate

    yarolegovich committed Oct 18, 2019
    Extracted fallback strategies code from ScreenshotManagerImpl into a new class - FallbackDelegate.
    Changed makeScreenshot() logic such that we first try to use PixelCopy, if it fails - fallback to MediaProjection, and if it fails - use fallback strategies
  2. re #1: added PixelCopyDelegate interface with actual and compat imple…

    yarolegovich committed Oct 18, 2019
    …mentations
    
    The class uses PixelCopy API to create a Screenshot object
Commits on Oct 7, 2019
Commits on Sep 25, 2019
  1. Create README.md

    yarolegovich committed Sep 25, 2019
Commits on Sep 24, 2019
  1. initial commit

    yarolegovich committed Sep 24, 2019
You can’t perform that action at this time.