Implement host flow of WiFi sharing feature
Add share button and authentication screen to confirm credentials (pin, pattern or password) for the current user of the device. Bug: 120517242 Test: make RunSettingsRoboTests Change-Id: Id79833db0d582c401f1371ff60429e42ce1990e0
This commit is contained in:
@@ -865,6 +865,12 @@ public class WifiDetailPreferenceControllerTest {
|
||||
when(pref.setButton2Visible(anyBoolean())).thenReturn(pref);
|
||||
when(pref.setButton2OnClickListener(any(View.OnClickListener.class))).thenReturn(pref);
|
||||
|
||||
when(pref.setButton3Text(anyInt())).thenReturn(pref);
|
||||
when(pref.setButton3Icon(anyInt())).thenReturn(pref);
|
||||
when(pref.setButton3Enabled(anyBoolean())).thenReturn(pref);
|
||||
when(pref.setButton3Visible(anyBoolean())).thenReturn(pref);
|
||||
when(pref.setButton3OnClickListener(any(View.OnClickListener.class))).thenReturn(pref);
|
||||
|
||||
return pref;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user