2706 Commits

Author SHA1 Message Date
Adeel Zafar
5db8f9477e Add @NonNull to intent in onStartCommand() 2019-08-15 16:30:52 +05:00
Adeel Zafar
a93a508044 Replace methods with lambda in ZimHostActivity 2019-08-15 16:20:58 +05:00
Adeel Zafar
b2b7632b53 Add @Nullable to registerCallBack 2019-08-15 16:19:09 +05:00
Adeel Zafar
252922411b Replace statement lambda with expression lambda 2019-08-15 16:14:44 +05:00
Adeel Zafar
e6cdc08043 Make fields private in ZimHostActivity 2019-08-15 16:11:59 +05:00
Adeel Zafar
8b4b701ff7 Refactor switches in ZimHostActivity 2019-08-15 16:09:56 +05:00
Adeel Zafar
1e7c5c9b33 Rename openDataUsageActivity() to openMobileDataActivity() 2019-08-15 15:57:19 +05:00
Adeel Zafar
54fbf85fc6 Add return statement to onKeyDown 2019-08-15 15:55:02 +05:00
Adeel Zafar
7a2d10d2a7 Resolve lint errors in ZimHostActivity 2019-08-15 04:13:15 +05:00
Adeel Zafar
50e072bf18 Resolve string concatenation in setText
Set args in strings.xml value
2019-08-15 04:03:38 +05:00
Adeel Zafar
089dc8b00d Resolve lint warnings 2019-08-15 03:46:20 +05:00
Adeel Zafar
37b7b5050e Fix foreground notification
App crashes on clicking STOP
2019-08-15 03:26:45 +05:00
Adeel Zafar
30f44d8520 Merge branch 'develop' into iadeelzafar/wifi-hotspot 2019-08-15 01:56:59 +05:00
Adeel Zafar
ca12e17910 Integrate kiwix-serve
Pass selected Zim Paths to HotspotService
Starting/stopping server in WebServerHelper
Refactor startWebServerHelper()
Add check for no books selected
Refactor foreground notification
Remove updateNotification
2019-08-15 01:55:54 +05:00
Julian Harty
ed1a63a21f
Merge pull request #1372 from kiwix/julianharty/implement-issue-1370
Added MONKEY property which facilitates testing using Android Monkey.
2019-08-14 17:43:11 +01:00
julianharty
cbada72157 Added MONKEY property which facilitates testing using Android Monkey.
See https://github.com/kiwix/kiwix-android/issues/1370 for details.
2019-08-14 16:26:38 +01:00
Seán Mac Gillicuddy
f9321d7ac8
Merge pull request #1371 from kiwix/hotfix/macgills/travis-denied-gradle
Travis Build Fix
2019-08-14 16:23:45 +01:00
Sean Mac Gillicuddy
994ae72061 Travis Build Fix 2019-08-14 16:16:41 +01:00
Seán Mac Gillicuddy
0701c1aa7b
Merge pull request #1366 from kiwix/feature/macgills/#1359-delete-bookmark
#1359 Unable to remove Bookmark from bottom bar
2019-08-14 13:21:16 +01:00
Isaac Hutt
c3f7e6f0ad
Merge pull request #1365 from kiwix/julianharty/fix-issue-1364
Fix for a bug that affects custom apps missing their contents.
2019-08-14 14:14:22 +02:00
Seán Mac Gillicuddy
15ddc39b61
Merge pull request #1367 from kiwix/macgills/feature/#1319-lint-synthetic-accessor
#1319 update project inspection settings
2019-08-14 12:59:23 +01:00
julianharty
37d3f43c29 Applied changes suggested in https://github.com/kiwix/kiwix-android/pull/1365
Additional testing notes available in #1364
2019-08-14 12:41:20 +01:00
Sean Mac Gillicuddy
037ead23f8 #1319 update project inspection settings 2019-08-14 11:46:17 +01:00
Sean Mac Gillicuddy
338c607ce6 #1359 Unable to remove Bookmark from bottom bar 2019-08-14 11:31:27 +01:00
Adeel Zafar
d1bfa65790 Merge branch 'develop' into iadeelzafar/wifi-hotspot 2019-08-13 23:38:28 +05:00
Adeel Zafar
19a309329a Remove ZimHostAdapter
We're using BooksOnDiskAdapter
2019-08-13 23:21:54 +05:00
Adeel Zafar
9c175bdbaa Get file path of selected books 2019-08-13 22:37:42 +05:00
Adeel Zafar
d1b5536173 Resolve merge conflicts 2019-08-13 21:48:38 +05:00
julianharty
cf7e392c85 Fix for a bug that affects custom apps missing their contents.
See https://github.com/kiwix/kiwix-android/issues/1364 for details.
2019-08-13 16:45:03 +01:00
Seán Mac Gillicuddy
00c4440de9
Merge pull request #1363 from kiwix/macgills/feature/#1319-lint-synthetic-accessor
#1319 Lint Issue: SyntheticAccessor
2019-08-13 15:31:59 +01:00
Sean Mac Gillicuddy
8675e4b54d #1319 Lint Issue: SyntheticAccessor 2019-08-13 14:54:33 +01:00
Adeel Zafar
a8f30c28af Allow MultiSelection in ZimHostActivity 2019-08-13 18:33:24 +05:00
Seán Mac Gillicuddy
9905ab0d3a
Merge pull request #1362 from kiwix/feature/macgills/#1361-custom-app-contents
#1361 Custom app cannot find contents bug
2019-08-13 14:32:02 +01:00
Adeel Zafar
bc3c6c958a Allow MultiSelection in ZimHostActivity 2019-08-13 17:35:22 +05:00
Sean Mac Gillicuddy
9349e29502 #1361 Custom app cannot find contents bug 2019-08-13 13:17:57 +01:00
Adeel Zafar
635bc4ee8d Fix#1357 Dismiss foreground notification automatically 2019-08-13 15:44:25 +05:00
Adeel Zafar
6f45144482 Refactor onServerFailed() Toast message 2019-08-12 18:20:35 +05:00
Adeel Zafar
eb109078c2 Revert refactor setText() in ZimHostActivity 2019-08-12 18:09:06 +05:00
Adeel Zafar
ebeff0abeb Refactor AppBarLayout in activity_zim_host 2019-08-12 17:40:30 +05:00
Adeel Zafar
2604fc9dbd Rename oreoEnabled to isHotspotEnabled 2019-08-12 17:38:11 +05:00
Adeel Zafar
a8b013735e Refactor AndroidManifest 2019-08-12 17:36:51 +05:00
Adeel Zafar
eca5f2a035 Refactor setText() in ZimHostActivity 2019-08-12 17:35:03 +05:00
Adeel Zafar
a3dbdda23a Add stopHotspotAndDismissNotification() 2019-08-12 17:30:44 +05:00
Adeel Zafar
c2cb7feae3 Remove Hungarian notation 2019-08-12 17:26:10 +05:00
Adeel Zafar
4486c06b3c Add ZimHostContract, ZimHostPresenter and ZimHostModule 2019-08-12 17:07:37 +05:00
Adeel Zafar
0cf9393bfd Merge branch 'develop' into iadeelzafar/wifi-hotspot 2019-08-12 16:17:45 +05:00
Seán Mac Gillicuddy
974c2d9f04
Merge pull request #1353 from kiwix/abdulwd/issue1352
Fix #1352 Download button is fixed to right even for RTL scripts
2019-08-12 11:48:42 +01:00
Abdul Wadood
cc4daa37e2 Add comment for using app:layout_constraintRight_toRightOf 2019-08-12 12:04:32 +02:00
Abdul Wadood
3ed840334c Fix #1352 Download button is fixed to right even for RTL scripts 2019-08-12 11:15:11 +02:00
Adeel Zafar
009fd852e5 Add ZimHostAdapter 2019-08-12 11:01:56 +05:00