Commits on Source (84)
-
Torsten Grote authored
-
Torsten Grote authored
-
Torsten Grote authored
-
Torsten Grote authored
that serves its own app as a download
-
Torsten Grote authored
-
Torsten Grote authored
-
Torsten Grote authored
either by trying to enable it or by requesting the user to enable it. If all fails, we show an error status message.
-
Torsten Grote authored
-
Torsten Grote authored
-
Torsten Grote authored
that prompts user to visit this link
-
Torsten Grote authored
-
Torsten Grote authored
-
Torsten Grote authored
-
Torsten Grote authored
-
Torsten Grote authored
-
akwizgran authored
-
Torsten Grote authored
This way we can offer something to the user to try even if the Wi-Fi info doesn't match what is expected.
-
Sebastian Kürten authored
-
Torsten Grote authored
Make interface list scrollable See merge request !3
-
Torsten Grote authored
Avoid letters 0,O,l,I for wifi names and passwords See merge request !4
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Torsten Grote authored
Use same formatting settings See merge request !5
-
Torsten Grote authored
so they are more in line with what Briar uses
-
Torsten Grote authored
Upgrade and add libraries See merge request !7
-
Torsten Grote authored
This is done by introducing a new ConditionManager that handles location permission and Wi-Fi setting.
-
Sebastian authored
Ensure that conditions are fulfilled when pressing START button Closes briar#2021 See merge request !8
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Sebastian Kürten authored
* Replace error enum with just strings in state implementation * throw AssertionError when permission is suddenly gone * Add TODO note about network name logging
-
Sebastian Kürten authored
Instead of having separate state for the Hotspot and the web server, have a single state for both of them available through the view model. Pass listener implementations to HotspotManager and WebServerManager to access their state.
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Torsten Grote authored
-
Torsten Grote authored
and add some thread annotations
-
Torsten Grote authored
-
Torsten Grote authored
ViewModel cleanup See merge request !6
-
Torsten Grote authored
-
Torsten Grote authored
-
Torsten Grote authored
-
Torsten Grote authored
-
Torsten Grote authored
-
Sebastian authored
Use HTML template to render designed website Closes briar#2022 See merge request !9
-
Sebastian Kürten authored
-
Torsten Grote authored
Check if peer has connected See merge request !10
-
Sebastian Kürten authored
-
Torsten Grote authored
Do not increment the attempt variable twice when requesting group info See merge request !11
-
Sebastian Kürten authored
-
Torsten Grote authored
Do not fail when group is null and no attempts left to retry See merge request !14
-
Sebastian Kürten authored
-
Sebastian Kürten authored
* Create an interface called ConditionManager that the 28 and 29 versions implement * On API levels < 29, don't ask for the location permission * Simplify ConditionManager logic: * Make more concise what areEssentialPermissionsGranted() and checkAndRequestConditions() do and get rid of startConditionChecks() entirely; use checkAndRequestConditions() instead. * Now areEssentialPermissionsGranted() is a private method only used internaly by the ConditionManager implementations
-
Sebastian Kürten authored
Achieve this by moving ActivityResultLauncher initialization into the ConditionManager implementations, relieving HotspotFragment from managing the interaction of the retrieved results and calling the right methods in the ConditionManager, thereby encapsulating more of the condition management in there.
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Sebastian Kürten authored
Instead of relying on the ConditionManager making sure that WifiP2p is really ready to be used, just try starting the framework as soon as Wifi is enabled and retry for 5 seconds until it either works or fails.
-
Sebastian Kürten authored
-
Sebastian Kürten authored
* Improve HotspotManager logging (attempt count) * Add layout margin for status text * Fix wording in inner documentation * Remove unneeded LOG field * Remove flag 'startRequested' * Move Javadocs within HotspotManager
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Sebastian Kürten authored
-
Torsten Grote authored
Try starting the WifiP2p framework multiple times with delay if BUSY See merge request !15
-
akwizgran authored
Showing
- .idea/codeStyleSettings.xml 270 additions, 0 deletions.idea/codeStyleSettings.xml
- .idea/codeStyles/Project.xml 88 additions, 0 deletions.idea/codeStyles/Project.xml
- .idea/codeStyles/codeStyleConfig.xml 5 additions, 0 deletions.idea/codeStyles/codeStyleConfig.xml
- .idea/saveactions_settings.xml 13 additions, 0 deletions.idea/saveactions_settings.xml
- app/build.gradle 5 additions, 2 deletionsapp/build.gradle
- app/src/main/AndroidManifest.xml 1 addition, 0 deletionsapp/src/main/AndroidManifest.xml
- app/src/main/assets/hotspot.html 101 additions, 0 deletionsapp/src/main/assets/hotspot.html
- app/src/main/java/org/briarproject/hotspot/AbstractConditionManager.java 53 additions, 0 deletions...va/org/briarproject/hotspot/AbstractConditionManager.java
- app/src/main/java/org/briarproject/hotspot/ConditionManager.java 82 additions, 0 deletions.../main/java/org/briarproject/hotspot/ConditionManager.java
- app/src/main/java/org/briarproject/hotspot/ConditionManager29.java 136 additions, 0 deletions...ain/java/org/briarproject/hotspot/ConditionManager29.java
- app/src/main/java/org/briarproject/hotspot/HotspotFragment.java 170 additions, 0 deletions...c/main/java/org/briarproject/hotspot/HotspotFragment.java
- app/src/main/java/org/briarproject/hotspot/HotspotManager.java 359 additions, 0 deletions...rc/main/java/org/briarproject/hotspot/HotspotManager.java
- app/src/main/java/org/briarproject/hotspot/HotspotState.java 59 additions, 0 deletionsapp/src/main/java/org/briarproject/hotspot/HotspotState.java
- app/src/main/java/org/briarproject/hotspot/InterfacesFragment.java 29 additions, 0 deletions...ain/java/org/briarproject/hotspot/InterfacesFragment.java
- app/src/main/java/org/briarproject/hotspot/LogUtils.java 12 additions, 0 deletionsapp/src/main/java/org/briarproject/hotspot/LogUtils.java
- app/src/main/java/org/briarproject/hotspot/MainActivity.java 1 addition, 63 deletionsapp/src/main/java/org/briarproject/hotspot/MainActivity.java
- app/src/main/java/org/briarproject/hotspot/MainViewModel.java 94 additions, 119 deletions...src/main/java/org/briarproject/hotspot/MainViewModel.java
- app/src/main/java/org/briarproject/hotspot/NetworkUtils.java 62 additions, 0 deletionsapp/src/main/java/org/briarproject/hotspot/NetworkUtils.java
- app/src/main/java/org/briarproject/hotspot/QrCodeUtils.java 5 additions, 3 deletionsapp/src/main/java/org/briarproject/hotspot/QrCodeUtils.java
- app/src/main/java/org/briarproject/hotspot/ServerFragment.java 79 additions, 0 deletions...rc/main/java/org/briarproject/hotspot/ServerFragment.java
.idea/codeStyleSettings.xml
0 → 100644
.idea/codeStyles/codeStyleConfig.xml
0 → 100644
.idea/saveactions_settings.xml
0 → 100644
app/src/main/assets/hotspot.html
0 → 100644