summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2019-02-13 10:08:27 -0800
committerRoshan Pius <rpius@google.com>2019-02-26 21:46:37 -0800
commitede298f96688fc2137cb59dea77cd6b6d3b22b50 (patch)
treea42079902b5d663506501fdc13346545ad25e3db /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent26ab14c9f5e3e8e99f618be31f2ba63c857c9cf9 (diff)
WifiConfiguration: Add @hide method to set security params
Setting of these security params is duplicated in multiple parts of the wifi stack. So, centralize this. a) Move the security type enum from ScanResultMatchInfo class internally into WifiConfiguration. (Note: Values don't change, just the name & location since this is being persisted in multiple places) b) Add a helper method to set the various security params required for each security type. Also, removed setting defaults in WifiNetworkSpecifier & WifiNetworkSuggestion. This will anyway be handled by WifiConfigManager on network addition. There is no need to replicate this in the API surface. Bug: 124071722 Test: ./frameworks/base/wifi/tests/runtests.sh Change-Id: I382c497dfe331ee59f3560a8272b0e4ecf6ff8fc
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions