summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorDavid Su <dysu@google.com>2020-09-25 14:42:18 -0700
committerDavid Su <dysu@google.com>2020-09-25 14:45:21 -0700
commit315ae1ebc1a6e2a7c73353a5ed19fc3f26d4d422 (patch)
tree823ddcf98ea52d2438b6845553c5cb7927794e3e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent59fb99b1dc1eef652c4ae9e0ccd080ec4b56dfdd (diff)
SdkLevelUtil: remove isAtLeastSMockable()
The mockable version can only be used where object construction is controlled e.g. in Wifi service. For existing public APIs, SdkLevelUtil cannot be injected because the constructor can't be changed. Thus, the strategy for testing this is: 1. Gate the unit tests with the same SDK level requirements, and test on a real device with that SDK version, or 2. Use static mocking. In either case, the mockable version is not useful. Bug: 169443762 Test: atest FrameworksWifiApiTests Change-Id: Icf2f32b3a40512f87bf32d1d80622c22e4454406
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions