Commit Graph

23 Commits

Author SHA1 Message Date
Mygod
490f6c5115 Lazily start IpNeighbourMonitor in qs tiles 2020-06-20 23:43:20 -04:00
Mygod
2ebe0e4962 Refine code style 2020-06-21 06:06:06 +08:00
Mygod
ad218d7ec6 librootkotlinx
Fixes #14, #27, #114, #117.
2020-06-21 05:33:39 +08:00
Mygod
7b1f610f9a Add device count to other tiles too 2020-06-16 10:22:57 +08:00
Mygod
b9994bda9e Deprecate usage of BuildCompat 2020-06-11 03:17:42 +08:00
Mygod
a40a07b76e Use in-process listener to ensure callback order 2020-05-29 21:33:09 -04:00
Mygod
069b32a7d9 Correctly handle TetherType changing 2020-05-29 21:20:53 -04:00
Mygod
299085293d Merge branch 'master' into r 2020-05-29 20:54:26 -04:00
Mygod
803863065a Remove unnecessary abstraction 2020-05-29 20:41:07 -04:00
Mygod
1ca69cf3a6 Preliminary support for Ethernet and NCM tethering 2020-05-28 00:18:10 -04:00
Mygod
b4d2b79ae9 Implement new startTethering API 2020-05-28 00:18:10 -04:00
Mygod
991a3466ca Rename start/stopTethering to maintain consistency with framework 2020-05-28 00:18:10 -04:00
Mygod
3cee5a4782 Migrate to open source firebase-crashlytics 2020-01-24 22:22:48 +08:00
Mygod
cb589560f7 Disable tethering QS tiles if receiver does not work
Also fixes a memory leak.
2019-05-10 11:27:34 +08:00
Mygod
e112b10c55 Add Bluetooth on/off into consideration when using Bluetooth tethering 2019-03-18 19:02:50 +08:00
Mygod
621b6eac74 Prevent callback not recycled 2019-03-18 18:37:51 +08:00
Mygod
549381050b Do not prompt error onTetheringFailed 2019-03-18 17:37:35 +08:00
Mygod
317e2121c2 Refine error messages in general 2019-02-23 23:00:14 +08:00
Mygod
1048fa830a Remove legacy Wi-Fi switch for Android 7.1
Fixes #64.
2019-01-22 23:38:56 +08:00
Mygod
ec08802fbd Refine code style 2018-12-25 13:02:53 +08:00
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