Rename SubSettingLauncher.setTitle, add java doc
For make this method usage more clear, setTitle(charSequence) rename as setTitleText, add java doc: it is only for user generated string setTitle(int) rename as setTitleRes. Change-Id: I972cb6a8ff90873dfdc25c23f6dc3d68103c8e4e Fixes: 78347436 Test: make RunSettingsRoboTests
This commit is contained in:
@@ -89,7 +89,7 @@ public class BluetoothDeviceDetailsRotationTest {
|
||||
args.putString(BluetoothDeviceDetailsFragment.KEY_DEVICE_ADDRESS, mDeviceAddress);
|
||||
new SubSettingLauncher(activity)
|
||||
.setDestination(BluetoothDeviceDetailsFragment.class.getName())
|
||||
.setTitle("test")
|
||||
.setTitleText("test")
|
||||
.setArguments(args)
|
||||
.setSourceMetricsCategory(Instrumentable.METRICS_CATEGORY_UNKNOWN)
|
||||
.launch();
|
||||
|
Reference in New Issue
Block a user