Skip to content

Commit

Permalink
Merge pull request #13 from cagnulein/patching_libadb_for_mdsn
Browse files Browse the repository at this point in the history
Patching libadb for mdsn
  • Loading branch information
cagnulein authored Jul 3, 2024
2 parents 4f5e5ed + 19403a8 commit ba59c9d
Show file tree
Hide file tree
Showing 23 changed files with 4,018 additions and 8 deletions.
5 changes: 4 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ android {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
// implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.github.MuntashirAkon:libadb-android:3.0.0'
//implementation 'com.github.MuntashirAkon:libadb-android:3.0.0'
implementation "androidx.annotation:annotation:1.7.1"
implementation 'org.bouncycastle:bcprov-jdk15to18:1.78'
implementation 'com.github.MuntashirAkon.spake2-java:android:2.0.0'

// Library to generate X509Certificate. You can also use BouncyCastle for
// this. See example for use-case.
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// SPDX-License-Identifier: BSD-3-Clause AND (GPL-3.0-or-later OR Apache-2.0)

package io.github.muntashirakon.adb;

/**
* Thrown when the ADB daemon rejects our initial authentication attempt, which typically means that the peer has not
* previously saved our public key.
*/
// Copyright 2020 Sam Palmer
public class AdbAuthenticationFailedException extends RuntimeException {
public AdbAuthenticationFailedException() {
super("Initial authentication attempt rejected by peer.");
}
}
Loading

0 comments on commit ba59c9d

Please sign in to comment.