in BasicManagedProfile/Application/src/main/java/com/example/android/basicmanagedprofile/BasicManagedProfileFragment.java [160:188]
public void onClick(View view) {
switch (view.getId()) {
case R.id.set_chrome_restrictions: {
setChromeRestrictions();
break;
}
case R.id.clear_chrome_restrictions: {
clearChromeRestrictions();
break;
}
case R.id.enable_forwarding: {
enableForwarding();
break;
}
case R.id.disable_forwarding: {
disableForwarding();
break;
}
case R.id.send_intent: {
sendIntent();
break;
}
case R.id.remove_profile: {
mButtonRemoveProfile.setEnabled(false);
removeProfile();
break;
}
}
}