20 Commits

Author SHA1 Message Date
Akash Yadav bb6a09a20b fix(logsender): set foregroundServiceType to LogSenderService 2024-01-13 21:49:51 +05:30
Akash Yadav 3f15af6a7c fix(logsender): run LogSenderService in foreground to avoid being killed by system (#1385) 2023-12-20 22:24:41 +05:30
Akash Yadav 51e67f2922 fix(logreceiver): start LogReceiverService only when the log sender application is started 2023-08-13 23:42:26 +05:30
Akash Yadav e6944b848c fix(logsender): remove references to AndroidX annotations 2023-08-11 14:25:09 +05:30
Akash Yadav 9ef5eaafe1 fix(logsender): viewBinding in :logsender module adds dependency on AndroidX libraries (fixes #1199) 2023-08-10 20:27:09 +05:30
Akash Yadav 456deeb336 fix(logsender): log sender clients are not properly handled
This commit commit fixes a bug which caused the log sender client not being released when the client application crashes or is killed by the system. This resulted in resources being unnecessarily held by the IDE causing lags
and sometimes, battery drain (#1107).
2023-07-30 12:13:34 +05:30
Akash Yadav 192d3ed18d fix(logsender): prevent crash in client application if it cannot bind to log receiver in AndroidIDE 2023-07-24 23:57:45 +05:30
Akash Yadav 49fb757ce9 build: fix project description missing in modules that are published 2023-07-14 19:50:45 +05:30
Akash Yadav ed012ac97a fix(logsender): BackgroundServiceStartNotAllowedException in LogSenderInstaller for Android 12+
The system throws BackgroundServiceStartNotAllowedException on Android 12+ devices when trying to bind to the LogReceiver service in AndroidIDE. This bug occurs only if the client application targets Android 12 or later.
2023-06-13 22:56:51 +05:30
Akash Yadav 2d36504d35 fix(logsender): LogSender is not unbound from service 2023-06-03 10:01:47 +05:30
Akash Yadav 386a218538 fix(logsender): do not start logsender in AndroidIDE 2023-06-03 09:39:47 +05:30
Akash Yadav 4346c6a572 feat(logsender): run LogSender as a service to avoid termination 2023-05-25 19:56:27 +05:30
Akash Yadav b950c34fb0 refactor(lookup): use ServiceLoader to load DefaultLookup 2023-04-30 23:26:09 +05:30
Akash Yadav 2b5e78fd90 build(logsender): include logger module as api dependency 2023-04-30 23:26:07 +05:30
Akash Yadav cfb9699036 feat: use sockets for logsender to allow large log transactions
Use of AIDL IPC limits the transactions to 1MB in size. This commit implements the communication with AIDL and Sockets to overcome this limit
2023-04-16 19:22:25 +05:30
Akash Yadav fa8680e873 refactor: replace hardcoded package names in build scripts with BuildConfig property 2023-04-13 22:56:17 +05:30
Akash Yadav 7a65678d73 fix(logsender): use Java 8 for compilation 2023-04-13 19:42:47 +05:30
Akash Yadav 216c0207ca fix(logsender): remove unused/unnecessary dependencies 2023-04-13 18:56:23 +05:30
Akash Yadav b52b3e0f7c feat(logsender): reduce minSdk to API 16 2023-04-13 18:43:52 +05:30
Akash Yadav 729a6246f9 refactor: rename module 'logsender-api' to 'logsender' 2023-04-12 19:58:10 +05:30