summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2015-12-08 10:53:41 -0800
committerTyler Gunn <tgunn@google.com>2015-12-08 10:53:41 -0800
commit584ba6c1d156af1a1295fb101cd085577ac82ece (patch)
treea7abf885914cfb4eb3c2a46517543595c5bdd7bb /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent79aeb92f4de64dc658b3cbae6dcf40f19b1597f8 (diff)
Remove dependency on android.telecom.Call in VideoCallImpl for testing.
VideoCallImpl had a depedency on android.telecom.Call, which was used to get the current video state of a call when the user issues a session modify request (we need to know what the video state was before the request was sent). This proved problematic for unit tests, as android.telecom.Call is a final class and cannot be mocked. These changes assume the VideoCallImpl will instead have a video state property, which is updated by the Call whenever it changes. This removes the dependency on the Call, and makes it possible to unit test the API. Change-Id: Ie67255d68b23e32aa177b30ac6439632fad5cc27
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions