Skip to content

Commit

Permalink
v3.9.0 (#59)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Krishna <125943937+Krishna-G-OP@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Weiguangtwk <41853928+WeiguangTWK@users.noreply.github.com>
Co-authored-by: WeiguangTWK <weiguangtwk@outlook.com>
Co-authored-by: marciozomb13 <marciozomb13@outlook.com>
  • Loading branch information
6 people committed Apr 8, 2024
1 parent 842a30d commit 258b221
Show file tree
Hide file tree
Showing 91 changed files with 1,389 additions and 726 deletions.
10 changes: 5 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ android {
applicationId "in.hridayan.ashell"
minSdk 24
targetSdk 34
versionCode 34
versionName "v3.8.2"
versionCode 35
versionName "v3.9.0"
}

Properties properties = new Properties()
Expand Down Expand Up @@ -57,11 +57,11 @@ android {
dependencies {
def lifecycle_version = "2.7.0"

implementation 'com.google.android.material:material:1.12.0-beta01'
implementation 'com.google.android.material:material:1.12.0-rc01'
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
implementation "androidx.preference:preference:1.2.1"
implementation "dev.rikka.shizuku:api:12.1.0"
implementation "dev.rikka.shizuku:provider:12.1.0"
implementation "dev.rikka.shizuku:api:13.1.0"
implementation "dev.rikka.shizuku:provider:13.1.0"
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.13.2'
implementation project(':adblib')
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
android:exported="false" />
<activity
android:name=".activities.MainActivity"
android:configChanges="orientation"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="unspecified"
android:exported="true">
<intent-filter>
Expand All @@ -51,7 +51,7 @@
</activity>

<receiver
android:name=".UsbReceiver"
android:name=".utils.OtgUtils$UsbReceiver"
android:exported="true">
<intent-filter>
<action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
Expand Down
34 changes: 0 additions & 34 deletions app/src/main/java/in/hridayan/ashell/ByteUtils.java

This file was deleted.

9 changes: 0 additions & 9 deletions app/src/main/java/in/hridayan/ashell/Const.java

This file was deleted.

23 changes: 0 additions & 23 deletions app/src/main/java/in/hridayan/ashell/ExternalCmdStore.java

This file was deleted.

66 changes: 0 additions & 66 deletions app/src/main/java/in/hridayan/ashell/Install.java

This file was deleted.

15 changes: 0 additions & 15 deletions app/src/main/java/in/hridayan/ashell/MessageOtg.java

This file was deleted.

15 changes: 0 additions & 15 deletions app/src/main/java/in/hridayan/ashell/MyAdbBase64.java

This file was deleted.

89 changes: 0 additions & 89 deletions app/src/main/java/in/hridayan/ashell/Push.java

This file was deleted.

29 changes: 29 additions & 0 deletions app/src/main/java/in/hridayan/ashell/UI/CustomSearchView.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
package in.hridayan.ashell.UI;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.EditText;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.material.R;
import com.google.android.material.search.SearchView;

public class CustomSearchView extends SearchView {

public CustomSearchView(@NonNull Context context) {
super(context);
}

public CustomSearchView(@NonNull Context context, @Nullable AttributeSet attrs) {
super(context, attrs);
}

public CustomSearchView(
@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
super(context, attrs, defStyleAttr);
}

public EditText getSearchEditText() {
return findViewById(R.id.open_search_view_edit_text);
}
}
15 changes: 15 additions & 0 deletions app/src/main/java/in/hridayan/ashell/UI/MainViewModel.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package in.hridayan.ashell.UI;

import androidx.lifecycle.ViewModel;

public class MainViewModel extends ViewModel {
private int currentFragment;

public int currentFragment() {
return currentFragment;
}

public void setCurrentFragment(int fragment) {
currentFragment = fragment;
}
}
24 changes: 0 additions & 24 deletions app/src/main/java/in/hridayan/ashell/UsbReceiver.java

This file was deleted.

Loading

0 comments on commit 258b221

Please sign in to comment.