Skip to content

Commit

Permalink
Fix tests and prepare next release
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanWang committed Jan 6, 2019
1 parent 274e10f commit 4c4996e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ class EmailBuilder(val email: String, val subject: String) {
val versionCode = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
appInfo.longVersionCode.toString()
} else {
@Suppress("DEPRECATION")
appInfo.versionCode.toString()
}
emailBuilder.append("\nApp: ").append(context.packageName)
Expand Down
1 change: 1 addition & 0 deletions docs/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## v4.0.0-alpha02
* Update translations
* :core: Remove anko dependency. Methods that used it now use coroutines; see the migration doc for minor changes
* :core: Add default CoroutineScope implementation to KauBaseActivity
* :core: Remove zip class. Coroutines and join can be used as an alternative
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ abstract class MediaPickerCore<T : IItem<*, *>>(
open fun loadItems() {
kauRequestPermissions(Manifest.permission.READ_EXTERNAL_STORAGE) { granted, _ ->
if (granted) {
supportLoaderManager.initLoader(LOADER_ID, null, this)
LoaderManager.getInstance(this).initLoader(LOADER_ID, null, this)
onStatusChange(true)
} else {
toast(R.string.kau_permission_denied)
Expand Down
2 changes: 1 addition & 1 deletion sample/src/main/res/xml/kau_changelog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
-->

<version title="v4.0.0-alpha02" />
<item text="Update translations" />
<item text=":core: Remove anko dependency. Methods that used it now use coroutines; see the migration doc for minor changes" />
<item text=":core: Add default CoroutineScope implementation to KauBaseActivity" />
<item text=":core: Remove zip class. Coroutines and join can be used as an alternative" />
<item text=":core: Delete flyweight implementation. Kotlin already has getOrPut" />
<item text=":core: Introduce ContextHelper, where you can get the default looper, handler, and dispatcher for Android" />
<item text=":mediapicker: Use video preloading instead of full async loading" />
<item text="" />
<item text="" />

<version title="v4.0.0-alpha01" />
<item text="Migrate to androidx. See migration for external dependency changes." />
Expand Down

0 comments on commit 4c4996e

Please sign in to comment.