Skip to content

Commit 308e992

Browse files
authored
v4.0.0 (#68)
1 parent 9af4a1f commit 308e992

40 files changed

+1460
-548
lines changed

app/build.gradle

Lines changed: 2 additions & 2 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 36
18-
versionName "v3.9.1"
17+
versionCode 37
18+
versionName "v4.0.0"
1919
}
2020

2121
Properties properties = new Properties()

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
<application
1010
android:allowBackup="true"
11+
android:hardwareAccelerated="true"
1112
android:dataExtractionRules="@xml/data_extraction_rules"
1213
android:fullBackupContent="@xml/backup_rules"
1314
android:enableOnBackInvokedCallback="true"
@@ -27,6 +28,7 @@
2728
android:name=".activities.MainActivity"
2829
android:configChanges="keyboardHidden|orientation|screenSize"
2930
android:screenOrientation="unspecified"
31+
android:launchMode="singleTask"
3032
android:exported="true">
3133
<intent-filter>
3234
<action android:name="android.intent.action.MAIN" />

app/src/main/java/in/hridayan/ashell/UI/aShellFragmentViewModel.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
public class aShellFragmentViewModel extends ViewModel {
77

8-
private boolean isEditTextFocused, isSaveButtonVisible;
8+
private boolean isEditTextFocused, isSaveButtonVisible, isEndIconVisible;
99
private String commandText;
1010
private static final int nullValue = 2004;
1111
private List<String> shellOutput, history;
@@ -70,4 +70,12 @@ public void setSendDrawable(int drawable) {
7070
public boolean isSendDrawableSaved() {
7171
return sendDrawable != nullValue;
7272
}
73+
public boolean isEndIconVisible() {
74+
return isEndIconVisible;
75+
}
76+
77+
public void setEndIconVisible(boolean endIconVisible) {
78+
isEndIconVisible = endIconVisible;
79+
}
80+
7381
}

app/src/main/java/in/hridayan/ashell/activities/ChangelogActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class ChangelogActivity extends AppCompatActivity {
2424
private AppBarLayout appBarLayout;
2525
private RecyclerView recyclerViewChangelogs;
2626

27-
private final String[] versionNumbers = {
27+
private final String[] versionNumbers = {"4.0.0",
2828
"3.9.1", "3.9.0", "3.8.2", "3.8.1", "3.8.0", "3.7.0", "3.6.0", "3.5.1", "3.5.0", "3.4.0",
2929
"3.3.0", "3.2.0", "3.1.0", "3.0.0", "2.0.2", "2.0.1", "2.0.0", "1.3.0", "1.2.0", "1.1.1",
3030
"1.1.0", "1.0.0", "0.9.1", "0.9.0"

0 commit comments

Comments
 (0)