Skip to content

Commit 258b221

Browse files
DP-HridayanKrishnaSSHdependabot[bot]WeiguangTWKWeiguangTWK
authored
v3.9.0 (#59)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Krishna <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Weiguangtwk <[email protected]> Co-authored-by: WeiguangTWK <[email protected]> Co-authored-by: marciozomb13 <[email protected]>
1 parent 842a30d commit 258b221

File tree

91 files changed

+1389
-726
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+1389
-726
lines changed

app/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ android {
1414
applicationId "in.hridayan.ashell"
1515
minSdk 24
1616
targetSdk 34
17-
versionCode 34
18-
versionName "v3.8.2"
17+
versionCode 35
18+
versionName "v3.9.0"
1919
}
2020

2121
Properties properties = new Properties()
@@ -57,11 +57,11 @@ android {
5757
dependencies {
5858
def lifecycle_version = "2.7.0"
5959

60-
implementation 'com.google.android.material:material:1.12.0-beta01'
60+
implementation 'com.google.android.material:material:1.12.0-rc01'
6161
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
6262
implementation "androidx.preference:preference:1.2.1"
63-
implementation "dev.rikka.shizuku:api:12.1.0"
64-
implementation "dev.rikka.shizuku:provider:12.1.0"
63+
implementation "dev.rikka.shizuku:api:13.1.0"
64+
implementation "dev.rikka.shizuku:provider:13.1.0"
6565
implementation fileTree(dir: 'libs', include: ['*.jar'])
6666
testImplementation 'junit:junit:4.13.2'
6767
implementation project(':adblib')

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
android:exported="false" />
2626
<activity
2727
android:name=".activities.MainActivity"
28-
android:configChanges="orientation"
28+
android:configChanges="keyboardHidden|orientation|screenSize"
2929
android:screenOrientation="unspecified"
3030
android:exported="true">
3131
<intent-filter>
@@ -51,7 +51,7 @@
5151
</activity>
5252

5353
<receiver
54-
android:name=".UsbReceiver"
54+
android:name=".utils.OtgUtils$UsbReceiver"
5555
android:exported="true">
5656
<intent-filter>
5757
<action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />

app/src/main/java/in/hridayan/ashell/ByteUtils.java

Lines changed: 0 additions & 34 deletions
This file was deleted.

app/src/main/java/in/hridayan/ashell/Const.java

Lines changed: 0 additions & 9 deletions
This file was deleted.

app/src/main/java/in/hridayan/ashell/ExternalCmdStore.java

Lines changed: 0 additions & 23 deletions
This file was deleted.

app/src/main/java/in/hridayan/ashell/Install.java

Lines changed: 0 additions & 66 deletions
This file was deleted.

app/src/main/java/in/hridayan/ashell/MessageOtg.java

Lines changed: 0 additions & 15 deletions
This file was deleted.

app/src/main/java/in/hridayan/ashell/MyAdbBase64.java

Lines changed: 0 additions & 15 deletions
This file was deleted.

app/src/main/java/in/hridayan/ashell/Push.java

Lines changed: 0 additions & 89 deletions
This file was deleted.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
package in.hridayan.ashell.UI;
2+
3+
import android.content.Context;
4+
import android.util.AttributeSet;
5+
import android.widget.EditText;
6+
import androidx.annotation.NonNull;
7+
import androidx.annotation.Nullable;
8+
import com.google.android.material.R;
9+
import com.google.android.material.search.SearchView;
10+
11+
public class CustomSearchView extends SearchView {
12+
13+
public CustomSearchView(@NonNull Context context) {
14+
super(context);
15+
}
16+
17+
public CustomSearchView(@NonNull Context context, @Nullable AttributeSet attrs) {
18+
super(context, attrs);
19+
}
20+
21+
public CustomSearchView(
22+
@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
23+
super(context, attrs, defStyleAttr);
24+
}
25+
26+
public EditText getSearchEditText() {
27+
return findViewById(R.id.open_search_view_edit_text);
28+
}
29+
}

0 commit comments

Comments
 (0)