commit | f7a0b42d09f8a08f8e06b64022e5b86db656c16b | [log] [tgz] |
---|---|---|
author | Bryce Lee <brycelee@google.com> | Thu Feb 16 14:05:06 2017 -0800 |
committer | Bryce Lee <brycelee@google.com> | Thu Feb 16 14:09:43 2017 -0800 |
tree | 8dfcbdad659f7a2787819ee50f06866f4658f297 | |
parent | 51a1cb2ee92b8649b118f681c358116eedbe0eba [diff] |
Stop screen sharing when exiting MediaProjectionDemo. The existing implementation will leave screen sharing running after stop, causing the VirtualDisplay to not be destroyed. This change makes sure any screen sharing ends on stop. This change also addresses the the ToggleButton's state being saved. Test: manual Bug: 26221019 Change-Id: I51ac8bf09932a83100776c919146eed8c28f35b3