Commit Graph

46 Commits

Author SHA1 Message Date
Mygod
b2534eb2c0 Do not update tile state when unsure 2018-12-25 12:57:25 +08:00
Mygod
36b0284573 Improve quick settings tiles reliability
Android apparently can decide to kill TileService when there are too many. Therefore, let's check if our service is connected before doing anything.

Source: https://android.googlesource.com/platform/frameworks/base/+/e1d13c9/packages/SystemUI/src/com/android/systemui/qs/external/TileServices.java#52
2018-12-25 12:17:43 +08:00
Mygod
426b93226d Add a lot more QS tiles
Fix #53. Also fix Bluetooth connection leaks.
2018-12-25 11:37:36 +08:00
Mygod
365287202e Fix crash on fast dismissal 2018-12-25 08:50:04 +08:00
Mygod
690b923a43 Fix parser forgetting all non-owned groups 2018-12-21 18:03:33 +08:00
Mygod
5281f14e0f Listen for persistent group changes 2018-12-21 16:04:23 +08:00
Mygod
83aba3418b Do not show warning if manage fails 2018-12-21 12:04:52 +08:00
Mygod
f65ff47bac Show warning if startAlternative fails 2018-12-14 17:22:21 +08:00
Mygod
b2346dca9a Do not report expected SecurityException 2018-12-14 01:50:36 +08:00
Mygod
ca1fc946ca Remove repeater from UI if it's not supported
This could happen on devices like Chrome OS and Android emulators.
2018-12-13 15:04:21 +08:00
Mygod
e347115908 Add back root unavailable prompt 2018-10-08 15:23:57 +08:00
Mygod
395e5da871 Fix InvalidConfigurationError 2018-10-04 15:50:07 +08:00
dwuku
d131d5d46b Make compatible with F-Droid (#42)
* Make compatible with F-Droid
* Fix title bar empty
2018-10-02 23:13:12 +08:00
Mygod
38f95a382e VPN Hotspot 2.0: Client+ (#39)
Fix #13, #38. I don't have a lot of confidence that this would work very well for every device.

Also here's an SQL command that hopefully somebody could make into the app for me: `SELECT TrafficRecord.mac, SUM(TrafficRecord.sentPackets), SUM(TrafficRecord.sentBytes), SUM(TrafficRecord.receivedPackets), SUM(TrafficRecord.receivedBytes) FROM TrafficRecord LEFT JOIN TrafficRecord AS Next ON TrafficRecord.id = Next.previousId WHERE Next.id IS NULL GROUP BY TrafficRecord.mac;`
2018-10-02 21:12:19 +08:00
Mygod
268376a7d5 Use DialogFragments everywhere 2018-09-18 17:09:50 +08:00
Mygod
204145ef4f Move edit configuration logic out of WifiP2pDialogFragment 2018-09-17 23:35:59 +08:00
Mygod
f27fdb5ce7 Catch BLUETOOTH permission missing exception 2018-09-17 22:08:31 +08:00
Mygod
c7faa24be9 Use monospace for password 2018-09-08 17:08:20 +08:00
Mygod
1db6d6e9ad Fix crashes on root missing 2018-09-07 11:35:09 +08:00
Mygod
1c5d7c1109 Ask to disable tethering hardware acceleration on Android 8.1+ 2018-08-26 15:22:27 +08:00
Mygod
eeff67f47c Fix InvocationTargetException
I'm dumb
2018-08-14 22:06:59 +08:00
Mygod
f160189663 Catch IOException 2018-08-13 02:13:36 +08:00
Mygod
15d838893c SmartSnackbars 2018-08-08 16:03:30 +08:00
Mygod
7ad1a51832 Don't use Snackbar for failed tethering 2018-08-08 15:20:30 +08:00
Mygod
b0d2db2d2d Update dependencies 2018-08-08 15:12:48 +08:00
Mygod
6939efed0d Refine styling 2018-07-29 01:42:06 +08:00
Mygod
973fede540 Catch SecurityExceptions 2018-07-28 19:25:40 +08:00
Mygod
b526de681e Refactor WifiP2pDialog as DialogFragment 2018-07-21 18:26:14 +08:00
Mygod
179675a374 Refine code style 2018-07-21 17:18:21 +08:00
Mygod
df304fe674 Disable editing repeater credentials on Android 5 2018-07-21 14:43:56 +08:00
Mygod
af20a084cb Use Android KTX 2018-07-15 20:58:39 +08:00
Mygod
d0e92b2505 Initial draft for porting to AndroidX 2018-07-15 14:28:42 +08:00
Mygod
35bc2b4a75 Refine 2018-07-14 23:41:58 +08:00
Mygod
89cbd96280 Prefer SnackBars 2018-07-14 23:30:05 +08:00
Mygod
2e912bf767 Implement displaying tethering errors 2018-07-13 00:53:06 +08:00
Mygod
2488a528a3 Update dependencies 2018-06-23 18:59:31 +08:00
Mygod
836292b5cc Fix SecurityException crashes 2018-06-13 19:25:35 +08:00
Mygod
814f42311b Update support lib to 28.0.0-alpha3 2018-06-10 22:28:09 +08:00
Mygod
3fbca0abef Refine 2018-06-10 21:35:27 +08:00
Mygod
e2cbe18ea9 Add more logging 2018-06-10 20:59:50 +08:00
Mygod
ad0d5b8b5a Fix some misc issues 2018-06-02 09:29:10 +08:00
Mygod
da9bf4867e Support specifying network interface
Fix #15.
2018-06-02 07:29:46 +08:00
Mygod
004581f23e Make manage less confusing 2018-06-01 21:02:03 +08:00
Mygod
e25f590bd6 Fix SecurityExceptions caused by LOH 2018-06-01 20:55:48 +08:00
Mygod
33a36ff43b Fix style 2018-06-01 20:31:27 +08:00
Mygod
8aa7d6d8c7 Huge refactor for better maintainability 2018-06-01 20:21:05 +08:00