Merge pull request #725 from afischerdev/test-param
Update gradle and docs
This commit is contained in:
commit
6b4d989868
@ -487,12 +487,12 @@ public class BRouterActivity extends AppCompatActivity implements ActivityCompat
|
||||
return checked;
|
||||
}
|
||||
|
||||
public void selectProfile(String[] items) {
|
||||
public void selectProfile(String[] items, boolean showDialog) {
|
||||
availableProfiles = items;
|
||||
Arrays.sort(availableProfiles);
|
||||
|
||||
// show main dialog
|
||||
showADialog(DIALOG_MAINACTION_ID);
|
||||
if (showDialog) showADialog(DIALOG_MAINACTION_ID);
|
||||
}
|
||||
|
||||
public void startDownloadManager() {
|
||||
|
||||
@ -250,11 +250,12 @@ public class BRouterView extends View {
|
||||
};
|
||||
|
||||
if (!RoutingHelper.hasDirectoryAnyDatafiles(segmentDir)) {
|
||||
((BRouterActivity) getContext()).selectProfile(profiles.toArray(new String[0]), false);
|
||||
((BRouterActivity) getContext()).startDownloadManager();
|
||||
waitingForSelection = true;
|
||||
return;
|
||||
}
|
||||
((BRouterActivity) getContext()).selectProfile(profiles.toArray(new String[0]));
|
||||
((BRouterActivity) getContext()).selectProfile(profiles.toArray(new String[0]), true);
|
||||
} catch (Exception e) {
|
||||
String msg = e instanceof IllegalArgumentException ? e.getMessage()
|
||||
+ (cor == null ? "" : " (coordinate-source: " + cor.basedir + cor.rootdir + ")") : e.toString();
|
||||
|
||||
@ -6,7 +6,7 @@ buildscript {
|
||||
google()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:8.2.2'
|
||||
classpath 'com.android.tools.build:gradle:8.5.2'
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
|
||||
@ -2,6 +2,13 @@
|
||||
|
||||
(ZIP-Archives including APK, readme + profiles)
|
||||
|
||||
### next version
|
||||
|
||||
Android
|
||||
|
||||
- enable edit for unused profiles
|
||||
|
||||
|
||||
### [brouter-1.7.7.zip](../brouter_bin/brouter-1.7.7.zip) (current revision, 23.07.2024)
|
||||
|
||||
- new Android API 34
|
||||
|
||||
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user