Skip to content

Conversation

@TsvetanMilanov
Copy link
Contributor

The android debug bridge result handler checks if there are any errors after executing adb command.
Errors are copied from https://github.com/android/platform_frameworks_base/blob/master/core/java/android/content/pm/PackageManager.java and the handler checks if the result contains any of the errors.

The non-device Android debug bridge must be separated from the device-specific Android debug bridge. Non-device Android debug bridge can be injected through constructor and the device-specific Android debug bridge can be resolved using the $injector. This way the device-specific Android debug bridge will be unique for each device.

The adb commands should be executed through the custom adb wrapper to use the error handling.

Implements #979

@TsvetanMilanov TsvetanMilanov self-assigned this Apr 13, 2016
@TsvetanMilanov TsvetanMilanov added this to the 2.0 milestone Apr 13, 2016
@TsvetanMilanov TsvetanMilanov force-pushed the milanov/add-adb-errors-check branch 3 times, most recently from 299a16a to 18f0ad6 Compare May 12, 2016 08:12
The non-device Android debug bridge must be separated from the device-specific Android debug bridge.
The non-device Android debug bridge can be injected through constructor and the device specific Android debug bridge can be resolved using the $injector.
This way the device-specific Android debug bridge will be unique for each device.
The adb commands should be executed through the custom adb wrapper to use the error handling.
@TsvetanMilanov TsvetanMilanov force-pushed the milanov/add-adb-errors-check branch from 18f0ad6 to fa290bd Compare May 12, 2016 08:42
@rosen-vladimirov
Copy link
Contributor

👍

@TsvetanMilanov TsvetanMilanov merged commit d60f362 into master May 12, 2016
@TsvetanMilanov TsvetanMilanov deleted the milanov/add-adb-errors-check branch May 12, 2016 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants