Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update set up guide URL for Espresso Device #2333

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion espresso/device/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

* Add support for setting screen orientation with multiple resumed activities
* Fix concurrent modification issue when setting screen orientation and fold modes
* Adjust reference docs to state set up guide is now located at https://developer.android.com/studio/test/espresso-api#set_up_your_project_for_the_espresso_device_api
* Adjust reference docs to state set up guide is now located at https://developer.android.com/studio/test/espresso-api

**New Features**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ constructor(
private const val DEGREES_TO_ROTATE_LANDSCAPE_TO_PORTRAIT = -90F
private const val DEGREES_TO_ROTATE_PORTRAIT_TO_LANDSCAPE = 90F
private const val additionalSetUpInstructions =
" See https://developer.android.com/studio/test/espresso-api#set_up_your_project_for_the_espresso_device_api for setup instructions."
" See https://developer.android.com/studio/test/espresso-api for setup instructions."
}

override fun setDeviceMode(deviceMode: Int) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ internal class DeviceControllerModule {
args.getString(EmulatorGrpcConn.ARGS_GRPC_TOKEN, ""),
args.getString(EmulatorGrpcConn.ARGS_GRPC_CER, ""),
args.getString(EmulatorGrpcConn.ARGS_GRPC_KEY, ""),
args.getString(EmulatorGrpcConn.ARGS_GRPC_CA, "")
args.getString(EmulatorGrpcConn.ARGS_GRPC_CA, ""),
)
}

Expand All @@ -95,7 +95,7 @@ internal class DeviceControllerModule {
if (getDeviceApiLevel() >= 17) {
Settings.Global.getString(
InstrumentationRegistry.getInstrumentation().getTargetContext().getContentResolver(),
"mdevx.grpc_guest_port"
"mdevx.grpc_guest_port",
)
} else {
val clazz = Class.forName("android.os.SystemProperties")
Expand All @@ -106,7 +106,7 @@ internal class DeviceControllerModule {
throw DeviceControllerOperationException(
"Unable to connect to Emulator gRPC port. Please make sure the Android Emulator version" +
" is updated to 33.1.11+ and the controller gRPC service is enabled on the emulator." +
" See https://developer.android.com/studio/test/espresso-api#set_up_your_project_for_the_espresso_device_api for setup instructions."
" See https://developer.android.com/studio/test/espresso-api for setup instructions."
)
}
return gRpcPort.toInt()
Expand Down
Loading