Snap for 8564071 from b991ed277219518763ec3f456d15160b357e5d7a to mainline-resolv-release
Change-Id: Ia128d0ff793fc8f25e2cb40baa94e1303db6c214
diff --git a/Android.bp b/Android.bp
index 07fa43b..2f2e6f8 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,6 +1,12 @@
+package {
+ // See: http://go/android-license-faq
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
android_app {
name: "Music",
srcs: ["src/**/*.java"],
+ resource_dirs: ["kotlin/res"],
sdk_version: "current",
product_specific: true,
optimize: {
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 02414ba..7788947 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -17,14 +17,14 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.music"
- xmlns:tools="http://schemas.android.com/tools">
+ xmlns:tools="http://schemas.android.com/tools">
<!-- Package Name -->
<original-package android:name="com.android.music"/>
<!-- SDK Versions -->
<uses-sdk android:minSdkVersion="19"
- android:targetSdkVersion="29"/>
+ android:targetSdkVersion="30"/>
<!-- Permissions -->
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
@@ -34,7 +34,8 @@
android:allowBackup="true"
android:label="@string/app_name"
android:supportsRtl="true"
- android:launchMode="singleTop">
+ android:launchMode="singleTop"
+ android:requestLegacyExternalStorage="true">
<activity android:name="AudioPreview" android:theme="@android:style/Theme.Dialog"
android:taskAffinity=""
diff --git a/BUILD b/BUILD
new file mode 100644
index 0000000..bb1e5f0
--- /dev/null
+++ b/BUILD
@@ -0,0 +1,9 @@
+load("@rules_android//rules:rules.bzl", "android_binary", "android_library")
+
+android_binary(
+ name = "Music",
+ srcs = glob(["src/**/*.java"]),
+ custom_package = "com.android.music",
+ manifest = "AndroidManifest.xml",
+ deps = ["//packages/apps/Music/kotlin:MusicResources"],
+)
diff --git a/NOTICE b/NOTICE
deleted file mode 100644
index c5b1efa..0000000
--- a/NOTICE
+++ /dev/null
@@ -1,190 +0,0 @@
-
- Copyright (c) 2005-2008, The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
diff --git a/kotlin/Android.bp b/kotlin/Android.bp
new file mode 100644
index 0000000..1772e78
--- /dev/null
+++ b/kotlin/Android.bp
@@ -0,0 +1,14 @@
+package {
+ // See: http://go/android-license-faq
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
+android_app {
+ name: "MusicKotlin",
+ srcs: ["src/**/*.kt"],
+ sdk_version: "current",
+ product_specific: true,
+ optimize: {
+ proguard_flags_files: ["proguard.flags"],
+ },
+}
diff --git a/kotlin/AndroidManifest.xml b/kotlin/AndroidManifest.xml
new file mode 100644
index 0000000..7788947
--- /dev/null
+++ b/kotlin/AndroidManifest.xml
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2017 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.music"
+ xmlns:tools="http://schemas.android.com/tools">
+
+ <!-- Package Name -->
+ <original-package android:name="com.android.music"/>
+
+ <!-- SDK Versions -->
+ <uses-sdk android:minSdkVersion="19"
+ android:targetSdkVersion="30"/>
+
+ <!-- Permissions -->
+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
+
+ <!-- App Declaration -->
+ <application
+ android:allowBackup="true"
+ android:label="@string/app_name"
+ android:supportsRtl="true"
+ android:launchMode="singleTop"
+ android:requestLegacyExternalStorage="true">
+
+ <activity android:name="AudioPreview" android:theme="@android:style/Theme.Dialog"
+ android:taskAffinity=""
+ android:excludeFromRecents="true" android:exported="true" >
+ <intent-filter>
+ <action android:name="android.intent.action.VIEW" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <data android:scheme="file"/>
+ <data android:mimeType="audio/*"/>
+ <data android:mimeType="application/ogg"/>
+ <data android:mimeType="application/x-ogg"/>
+ <data android:mimeType="application/itunes"/>
+ </intent-filter>
+ <intent-filter>
+ <action android:name="android.intent.action.VIEW" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <category android:name="android.intent.category.BROWSABLE" />
+ <data android:scheme="http" />
+ <data android:mimeType="audio/*"/>
+ <data android:mimeType="application/ogg"/>
+ <data android:mimeType="application/x-ogg"/>
+ <data android:mimeType="application/itunes"/>
+ </intent-filter>
+ <intent-filter
+ android:priority="-1">
+ <action android:name="android.intent.action.VIEW" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <category android:name="android.intent.category.BROWSABLE" />
+ <data android:scheme="content" />
+ <data android:mimeType="audio/*"/>
+ <data android:mimeType="application/ogg"/>
+ <data android:mimeType="application/x-ogg"/>
+ <data android:mimeType="application/itunes"/>
+ </intent-filter>
+ </activity>
+
+ <activity android:name="com.android.music.MusicPicker"
+ android:label="@string/music_picker_title" android:exported="true" >
+ <!-- First way to invoke us: someone asks to get content of
+ any of the audio types we support. -->
+ <intent-filter>
+ <action android:name="android.intent.action.GET_CONTENT" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <category android:name="android.intent.category.OPENABLE" />
+ <data android:mimeType="audio/*"/>
+ <data android:mimeType="application/ogg"/>
+ <data android:mimeType="application/x-ogg"/>
+ </intent-filter>
+ <!-- Second way to invoke us: someone asks to pick an item from
+ some media Uri. -->
+ <intent-filter>
+ <action android:name="android.intent.action.PICK" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <category android:name="android.intent.category.OPENABLE" />
+ <data android:mimeType="vnd.android.cursor.dir/audio"/>
+ </intent-filter>
+ </activity>
+
+ <service android:name="com.android.music.MediaPlaybackService"
+ android:exported="true"
+ android:label="Android Open Source Music Playback Service">
+ <intent-filter>
+ <action android:name="android.media.browse.MediaBrowserService" />
+ </intent-filter>
+ </service>
+
+ </application>
+
+</manifest>
diff --git a/kotlin/BUILD b/kotlin/BUILD
new file mode 100644
index 0000000..ab0691c
--- /dev/null
+++ b/kotlin/BUILD
@@ -0,0 +1,31 @@
+load("@rules_android//rules:rules.bzl", "android_binary", "android_library")
+
+# Placeholder manifest is required to build the android library below.
+genrule(
+ name = "gen_placeholdermanifest",
+ outs = ["AndroidManifest.xml"],
+ cmd = """
+echo '<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.Music"
+ android:versionCode="1"
+ android:versionName="1.0" >
+
+ <uses-sdk
+ android:minSdkVersion="21"
+ android:targetSdkVersion="21" />
+</manifest>
+
+' > $@""",
+)
+
+# Workaround a bug where including resources at the top-level android_binary fails,
+# it seems due to the resource folder being nested. Instead, we create this
+# library to hold the resources and make the android_binary target depend on it.
+android_library(
+ name = "MusicResources",
+ srcs = [],
+ custom_package = "com.android.music",
+ manifest = "AndroidManifest.xml",
+ resource_files = glob(["res/**"]),
+ visibility = ["//visibility:public"],
+)
diff --git a/MODULE_LICENSE_APACHE2 b/kotlin/proguard.flags
similarity index 100%
rename from MODULE_LICENSE_APACHE2
rename to kotlin/proguard.flags
diff --git a/res/drawable-hdpi/album_border_large.9.png b/kotlin/res/drawable-hdpi/album_border_large.9.png
similarity index 100%
rename from res/drawable-hdpi/album_border_large.9.png
rename to kotlin/res/drawable-hdpi/album_border_large.9.png
Binary files differ
diff --git a/res/drawable-hdpi/albumart_mp_unknown.png b/kotlin/res/drawable-hdpi/albumart_mp_unknown.png
similarity index 100%
rename from res/drawable-hdpi/albumart_mp_unknown.png
rename to kotlin/res/drawable-hdpi/albumart_mp_unknown.png
Binary files differ
diff --git a/res/drawable-hdpi/albumart_mp_unknown_list.png b/kotlin/res/drawable-hdpi/albumart_mp_unknown_list.png
similarity index 100%
rename from res/drawable-hdpi/albumart_mp_unknown_list.png
rename to kotlin/res/drawable-hdpi/albumart_mp_unknown_list.png
Binary files differ
diff --git a/res/drawable-hdpi/app_music.png b/kotlin/res/drawable-hdpi/app_music.png
similarity index 100%
rename from res/drawable-hdpi/app_music.png
rename to kotlin/res/drawable-hdpi/app_music.png
Binary files differ
diff --git a/res/drawable-hdpi/app_video.png b/kotlin/res/drawable-hdpi/app_video.png
similarity index 100%
rename from res/drawable-hdpi/app_video.png
rename to kotlin/res/drawable-hdpi/app_video.png
Binary files differ
diff --git a/res/drawable-hdpi/appwidget_bg.9.png b/kotlin/res/drawable-hdpi/appwidget_bg.9.png
similarity index 100%
rename from res/drawable-hdpi/appwidget_bg.9.png
rename to kotlin/res/drawable-hdpi/appwidget_bg.9.png
Binary files differ
diff --git a/res/drawable-hdpi/appwidget_divider.9.png b/kotlin/res/drawable-hdpi/appwidget_divider.9.png
similarity index 100%
rename from res/drawable-hdpi/appwidget_divider.9.png
rename to kotlin/res/drawable-hdpi/appwidget_divider.9.png
Binary files differ
diff --git a/res/drawable-hdpi/appwidget_inner_focus_c.9.png b/kotlin/res/drawable-hdpi/appwidget_inner_focus_c.9.png
similarity index 100%
rename from res/drawable-hdpi/appwidget_inner_focus_c.9.png
rename to kotlin/res/drawable-hdpi/appwidget_inner_focus_c.9.png
Binary files differ
diff --git a/res/drawable-hdpi/appwidget_inner_focus_l.9.png b/kotlin/res/drawable-hdpi/appwidget_inner_focus_l.9.png
similarity index 100%
rename from res/drawable-hdpi/appwidget_inner_focus_l.9.png
rename to kotlin/res/drawable-hdpi/appwidget_inner_focus_l.9.png
Binary files differ
diff --git a/res/drawable-hdpi/appwidget_inner_focus_r.9.png b/kotlin/res/drawable-hdpi/appwidget_inner_focus_r.9.png
similarity index 100%
rename from res/drawable-hdpi/appwidget_inner_focus_r.9.png
rename to kotlin/res/drawable-hdpi/appwidget_inner_focus_r.9.png
Binary files differ
diff --git a/res/drawable-hdpi/appwidget_inner_press_c.9.png b/kotlin/res/drawable-hdpi/appwidget_inner_press_c.9.png
similarity index 100%
rename from res/drawable-hdpi/appwidget_inner_press_c.9.png
rename to kotlin/res/drawable-hdpi/appwidget_inner_press_c.9.png
Binary files differ
diff --git a/res/drawable-hdpi/appwidget_inner_press_l.9.png b/kotlin/res/drawable-hdpi/appwidget_inner_press_l.9.png
similarity index 100%
rename from res/drawable-hdpi/appwidget_inner_press_l.9.png
rename to kotlin/res/drawable-hdpi/appwidget_inner_press_l.9.png
Binary files differ
diff --git a/res/drawable-hdpi/appwidget_inner_press_r.9.png b/kotlin/res/drawable-hdpi/appwidget_inner_press_r.9.png
similarity index 100%
rename from res/drawable-hdpi/appwidget_inner_press_r.9.png
rename to kotlin/res/drawable-hdpi/appwidget_inner_press_r.9.png
Binary files differ
diff --git a/res/drawable-hdpi/btn_playback_ic_pause_small.png b/kotlin/res/drawable-hdpi/btn_playback_ic_pause_small.png
similarity index 100%
rename from res/drawable-hdpi/btn_playback_ic_pause_small.png
rename to kotlin/res/drawable-hdpi/btn_playback_ic_pause_small.png
Binary files differ
diff --git a/res/drawable-hdpi/btn_playback_ic_play_small.png b/kotlin/res/drawable-hdpi/btn_playback_ic_play_small.png
similarity index 100%
rename from res/drawable-hdpi/btn_playback_ic_play_small.png
rename to kotlin/res/drawable-hdpi/btn_playback_ic_play_small.png
Binary files differ
diff --git a/res/drawable-hdpi/btn_playback_small_normal.png b/kotlin/res/drawable-hdpi/btn_playback_small_normal.png
similarity index 100%
rename from res/drawable-hdpi/btn_playback_small_normal.png
rename to kotlin/res/drawable-hdpi/btn_playback_small_normal.png
Binary files differ
diff --git a/res/drawable-hdpi/btn_playback_small_pressed.png b/kotlin/res/drawable-hdpi/btn_playback_small_pressed.png
similarity index 100%
rename from res/drawable-hdpi/btn_playback_small_pressed.png
rename to kotlin/res/drawable-hdpi/btn_playback_small_pressed.png
Binary files differ
diff --git a/res/drawable-hdpi/btn_playback_small_selected.png b/kotlin/res/drawable-hdpi/btn_playback_small_selected.png
similarity index 100%
rename from res/drawable-hdpi/btn_playback_small_selected.png
rename to kotlin/res/drawable-hdpi/btn_playback_small_selected.png
Binary files differ
diff --git a/res/drawable-hdpi/buttonbar_active.9.png b/kotlin/res/drawable-hdpi/buttonbar_active.9.png
similarity index 100%
rename from res/drawable-hdpi/buttonbar_active.9.png
rename to kotlin/res/drawable-hdpi/buttonbar_active.9.png
Binary files differ
diff --git a/res/drawable-hdpi/buttonbar_focused.9.png b/kotlin/res/drawable-hdpi/buttonbar_focused.9.png
similarity index 100%
rename from res/drawable-hdpi/buttonbar_focused.9.png
rename to kotlin/res/drawable-hdpi/buttonbar_focused.9.png
Binary files differ
diff --git a/res/drawable-hdpi/buttonbar_inactive.9.png b/kotlin/res/drawable-hdpi/buttonbar_inactive.9.png
similarity index 100%
rename from res/drawable-hdpi/buttonbar_inactive.9.png
rename to kotlin/res/drawable-hdpi/buttonbar_inactive.9.png
Binary files differ
diff --git a/res/drawable-hdpi/buttonbar_pressed.9.png b/kotlin/res/drawable-hdpi/buttonbar_pressed.9.png
similarity index 100%
rename from res/drawable-hdpi/buttonbar_pressed.9.png
rename to kotlin/res/drawable-hdpi/buttonbar_pressed.9.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_appwidget_music_next.png b/kotlin/res/drawable-hdpi/ic_appwidget_music_next.png
similarity index 100%
rename from res/drawable-hdpi/ic_appwidget_music_next.png
rename to kotlin/res/drawable-hdpi/ic_appwidget_music_next.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_appwidget_music_pause.png b/kotlin/res/drawable-hdpi/ic_appwidget_music_pause.png
similarity index 100%
rename from res/drawable-hdpi/ic_appwidget_music_pause.png
rename to kotlin/res/drawable-hdpi/ic_appwidget_music_pause.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_appwidget_music_play.png b/kotlin/res/drawable-hdpi/ic_appwidget_music_play.png
similarity index 100%
rename from res/drawable-hdpi/ic_appwidget_music_play.png
rename to kotlin/res/drawable-hdpi/ic_appwidget_music_play.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_launcher_shortcut_music_playlist.png b/kotlin/res/drawable-hdpi/ic_launcher_shortcut_music_playlist.png
similarity index 100%
rename from res/drawable-hdpi/ic_launcher_shortcut_music_playlist.png
rename to kotlin/res/drawable-hdpi/ic_launcher_shortcut_music_playlist.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_menu_clear_playlist.png b/kotlin/res/drawable-hdpi/ic_menu_clear_playlist.png
similarity index 100%
rename from res/drawable-hdpi/ic_menu_clear_playlist.png
rename to kotlin/res/drawable-hdpi/ic_menu_clear_playlist.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_menu_delete.png b/kotlin/res/drawable-hdpi/ic_menu_delete.png
similarity index 100%
rename from res/drawable-hdpi/ic_menu_delete.png
rename to kotlin/res/drawable-hdpi/ic_menu_delete.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_menu_eq.png b/kotlin/res/drawable-hdpi/ic_menu_eq.png
similarity index 100%
rename from res/drawable-hdpi/ic_menu_eq.png
rename to kotlin/res/drawable-hdpi/ic_menu_eq.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_menu_music_library.png b/kotlin/res/drawable-hdpi/ic_menu_music_library.png
similarity index 100%
rename from res/drawable-hdpi/ic_menu_music_library.png
rename to kotlin/res/drawable-hdpi/ic_menu_music_library.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_menu_party_shuffle.png b/kotlin/res/drawable-hdpi/ic_menu_party_shuffle.png
similarity index 100%
rename from res/drawable-hdpi/ic_menu_party_shuffle.png
rename to kotlin/res/drawable-hdpi/ic_menu_party_shuffle.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_menu_play_clip.png b/kotlin/res/drawable-hdpi/ic_menu_play_clip.png
similarity index 100%
rename from res/drawable-hdpi/ic_menu_play_clip.png
rename to kotlin/res/drawable-hdpi/ic_menu_play_clip.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_menu_set_as_ringtone.png b/kotlin/res/drawable-hdpi/ic_menu_set_as_ringtone.png
similarity index 100%
rename from res/drawable-hdpi/ic_menu_set_as_ringtone.png
rename to kotlin/res/drawable-hdpi/ic_menu_set_as_ringtone.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_menu_shuffle.png b/kotlin/res/drawable-hdpi/ic_menu_shuffle.png
similarity index 100%
rename from res/drawable-hdpi/ic_menu_shuffle.png
rename to kotlin/res/drawable-hdpi/ic_menu_shuffle.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_mp_album_playback.png b/kotlin/res/drawable-hdpi/ic_mp_album_playback.png
similarity index 100%
rename from res/drawable-hdpi/ic_mp_album_playback.png
rename to kotlin/res/drawable-hdpi/ic_mp_album_playback.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_mp_artist_list.png b/kotlin/res/drawable-hdpi/ic_mp_artist_list.png
similarity index 100%
rename from res/drawable-hdpi/ic_mp_artist_list.png
rename to kotlin/res/drawable-hdpi/ic_mp_artist_list.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_mp_artist_playback.png b/kotlin/res/drawable-hdpi/ic_mp_artist_playback.png
similarity index 100%
rename from res/drawable-hdpi/ic_mp_artist_playback.png
rename to kotlin/res/drawable-hdpi/ic_mp_artist_playback.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_mp_current_playlist_btn.png b/kotlin/res/drawable-hdpi/ic_mp_current_playlist_btn.png
similarity index 100%
rename from res/drawable-hdpi/ic_mp_current_playlist_btn.png
rename to kotlin/res/drawable-hdpi/ic_mp_current_playlist_btn.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_mp_partyshuffle_on_btn.png b/kotlin/res/drawable-hdpi/ic_mp_partyshuffle_on_btn.png
similarity index 100%
rename from res/drawable-hdpi/ic_mp_partyshuffle_on_btn.png
rename to kotlin/res/drawable-hdpi/ic_mp_partyshuffle_on_btn.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_mp_playlist_list.png b/kotlin/res/drawable-hdpi/ic_mp_playlist_list.png
similarity index 100%
rename from res/drawable-hdpi/ic_mp_playlist_list.png
rename to kotlin/res/drawable-hdpi/ic_mp_playlist_list.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_mp_playlist_recently_added_list.png b/kotlin/res/drawable-hdpi/ic_mp_playlist_recently_added_list.png
similarity index 100%
rename from res/drawable-hdpi/ic_mp_playlist_recently_added_list.png
rename to kotlin/res/drawable-hdpi/ic_mp_playlist_recently_added_list.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_mp_repeat_all_btn.png b/kotlin/res/drawable-hdpi/ic_mp_repeat_all_btn.png
similarity index 100%
rename from res/drawable-hdpi/ic_mp_repeat_all_btn.png
rename to kotlin/res/drawable-hdpi/ic_mp_repeat_all_btn.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_mp_repeat_off_btn.png b/kotlin/res/drawable-hdpi/ic_mp_repeat_off_btn.png
similarity index 100%
rename from res/drawable-hdpi/ic_mp_repeat_off_btn.png
rename to kotlin/res/drawable-hdpi/ic_mp_repeat_off_btn.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_mp_repeat_once_btn.png b/kotlin/res/drawable-hdpi/ic_mp_repeat_once_btn.png
similarity index 100%
rename from res/drawable-hdpi/ic_mp_repeat_once_btn.png
rename to kotlin/res/drawable-hdpi/ic_mp_repeat_once_btn.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_mp_sd_card.png b/kotlin/res/drawable-hdpi/ic_mp_sd_card.png
similarity index 100%
rename from res/drawable-hdpi/ic_mp_sd_card.png
rename to kotlin/res/drawable-hdpi/ic_mp_sd_card.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_mp_shuffle_off_btn.png b/kotlin/res/drawable-hdpi/ic_mp_shuffle_off_btn.png
similarity index 100%
rename from res/drawable-hdpi/ic_mp_shuffle_off_btn.png
rename to kotlin/res/drawable-hdpi/ic_mp_shuffle_off_btn.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_mp_shuffle_on_btn.png b/kotlin/res/drawable-hdpi/ic_mp_shuffle_on_btn.png
similarity index 100%
rename from res/drawable-hdpi/ic_mp_shuffle_on_btn.png
rename to kotlin/res/drawable-hdpi/ic_mp_shuffle_on_btn.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_mp_song_list.png b/kotlin/res/drawable-hdpi/ic_mp_song_list.png
similarity index 100%
rename from res/drawable-hdpi/ic_mp_song_list.png
rename to kotlin/res/drawable-hdpi/ic_mp_song_list.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_mp_song_playback.png b/kotlin/res/drawable-hdpi/ic_mp_song_playback.png
similarity index 100%
rename from res/drawable-hdpi/ic_mp_song_playback.png
rename to kotlin/res/drawable-hdpi/ic_mp_song_playback.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_notification.png b/kotlin/res/drawable-hdpi/ic_notification.png
similarity index 100%
rename from res/drawable-hdpi/ic_notification.png
rename to kotlin/res/drawable-hdpi/ic_notification.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_pause_white_24dp.png b/kotlin/res/drawable-hdpi/ic_pause_white_24dp.png
similarity index 100%
rename from res/drawable-hdpi/ic_pause_white_24dp.png
rename to kotlin/res/drawable-hdpi/ic_pause_white_24dp.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_play_arrow_white_24dp.png b/kotlin/res/drawable-hdpi/ic_play_arrow_white_24dp.png
similarity index 100%
rename from res/drawable-hdpi/ic_play_arrow_white_24dp.png
rename to kotlin/res/drawable-hdpi/ic_play_arrow_white_24dp.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_search_category_music_song.png b/kotlin/res/drawable-hdpi/ic_search_category_music_song.png
similarity index 100%
rename from res/drawable-hdpi/ic_search_category_music_song.png
rename to kotlin/res/drawable-hdpi/ic_search_category_music_song.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_skip_next_white_24dp.png b/kotlin/res/drawable-hdpi/ic_skip_next_white_24dp.png
similarity index 100%
rename from res/drawable-hdpi/ic_skip_next_white_24dp.png
rename to kotlin/res/drawable-hdpi/ic_skip_next_white_24dp.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_skip_previous_white_24dp.png b/kotlin/res/drawable-hdpi/ic_skip_previous_white_24dp.png
similarity index 100%
rename from res/drawable-hdpi/ic_skip_previous_white_24dp.png
rename to kotlin/res/drawable-hdpi/ic_skip_previous_white_24dp.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_slide_keyboard.png b/kotlin/res/drawable-hdpi/ic_slide_keyboard.png
similarity index 100%
rename from res/drawable-hdpi/ic_slide_keyboard.png
rename to kotlin/res/drawable-hdpi/ic_slide_keyboard.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_tab_albums_selected.png b/kotlin/res/drawable-hdpi/ic_tab_albums_selected.png
similarity index 100%
rename from res/drawable-hdpi/ic_tab_albums_selected.png
rename to kotlin/res/drawable-hdpi/ic_tab_albums_selected.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_tab_albums_unselected.png b/kotlin/res/drawable-hdpi/ic_tab_albums_unselected.png
similarity index 100%
rename from res/drawable-hdpi/ic_tab_albums_unselected.png
rename to kotlin/res/drawable-hdpi/ic_tab_albums_unselected.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_tab_artists_selected.png b/kotlin/res/drawable-hdpi/ic_tab_artists_selected.png
similarity index 100%
rename from res/drawable-hdpi/ic_tab_artists_selected.png
rename to kotlin/res/drawable-hdpi/ic_tab_artists_selected.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_tab_artists_unselected.png b/kotlin/res/drawable-hdpi/ic_tab_artists_unselected.png
similarity index 100%
rename from res/drawable-hdpi/ic_tab_artists_unselected.png
rename to kotlin/res/drawable-hdpi/ic_tab_artists_unselected.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_tab_playback_selected.png b/kotlin/res/drawable-hdpi/ic_tab_playback_selected.png
similarity index 100%
rename from res/drawable-hdpi/ic_tab_playback_selected.png
rename to kotlin/res/drawable-hdpi/ic_tab_playback_selected.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_tab_playback_unselected.png b/kotlin/res/drawable-hdpi/ic_tab_playback_unselected.png
similarity index 100%
rename from res/drawable-hdpi/ic_tab_playback_unselected.png
rename to kotlin/res/drawable-hdpi/ic_tab_playback_unselected.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_tab_playlists_selected.png b/kotlin/res/drawable-hdpi/ic_tab_playlists_selected.png
similarity index 100%
rename from res/drawable-hdpi/ic_tab_playlists_selected.png
rename to kotlin/res/drawable-hdpi/ic_tab_playlists_selected.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_tab_playlists_unselected.png b/kotlin/res/drawable-hdpi/ic_tab_playlists_unselected.png
similarity index 100%
rename from res/drawable-hdpi/ic_tab_playlists_unselected.png
rename to kotlin/res/drawable-hdpi/ic_tab_playlists_unselected.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_tab_songs_selected.png b/kotlin/res/drawable-hdpi/ic_tab_songs_selected.png
similarity index 100%
rename from res/drawable-hdpi/ic_tab_songs_selected.png
rename to kotlin/res/drawable-hdpi/ic_tab_songs_selected.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_tab_songs_unselected.png b/kotlin/res/drawable-hdpi/ic_tab_songs_unselected.png
similarity index 100%
rename from res/drawable-hdpi/ic_tab_songs_unselected.png
rename to kotlin/res/drawable-hdpi/ic_tab_songs_unselected.png
Binary files differ
diff --git a/res/drawable-hdpi/indicator_ic_mp_playing_large.png b/kotlin/res/drawable-hdpi/indicator_ic_mp_playing_large.png
similarity index 100%
rename from res/drawable-hdpi/indicator_ic_mp_playing_large.png
rename to kotlin/res/drawable-hdpi/indicator_ic_mp_playing_large.png
Binary files differ
diff --git a/res/drawable-hdpi/indicator_ic_mp_playing_list.png b/kotlin/res/drawable-hdpi/indicator_ic_mp_playing_list.png
similarity index 100%
rename from res/drawable-hdpi/indicator_ic_mp_playing_list.png
rename to kotlin/res/drawable-hdpi/indicator_ic_mp_playing_list.png
Binary files differ
diff --git a/res/drawable-hdpi/midi.png b/kotlin/res/drawable-hdpi/midi.png
similarity index 100%
rename from res/drawable-hdpi/midi.png
rename to kotlin/res/drawable-hdpi/midi.png
Binary files differ
diff --git a/res/drawable-hdpi/movie.png b/kotlin/res/drawable-hdpi/movie.png
similarity index 100%
rename from res/drawable-hdpi/movie.png
rename to kotlin/res/drawable-hdpi/movie.png
Binary files differ
diff --git a/res/drawable-hdpi/music_bottom_playback_bg.9.png b/kotlin/res/drawable-hdpi/music_bottom_playback_bg.9.png
similarity index 100%
rename from res/drawable-hdpi/music_bottom_playback_bg.9.png
rename to kotlin/res/drawable-hdpi/music_bottom_playback_bg.9.png
Binary files differ
diff --git a/res/drawable-hdpi/now_playing_progress_handle_normal.png b/kotlin/res/drawable-hdpi/now_playing_progress_handle_normal.png
similarity index 100%
rename from res/drawable-hdpi/now_playing_progress_handle_normal.png
rename to kotlin/res/drawable-hdpi/now_playing_progress_handle_normal.png
Binary files differ
diff --git a/res/drawable-hdpi/now_playing_progress_handle_pressed.png b/kotlin/res/drawable-hdpi/now_playing_progress_handle_pressed.png
similarity index 100%
rename from res/drawable-hdpi/now_playing_progress_handle_pressed.png
rename to kotlin/res/drawable-hdpi/now_playing_progress_handle_pressed.png
Binary files differ
diff --git a/res/drawable-hdpi/now_playing_progress_handle_selected.png b/kotlin/res/drawable-hdpi/now_playing_progress_handle_selected.png
similarity index 100%
rename from res/drawable-hdpi/now_playing_progress_handle_selected.png
rename to kotlin/res/drawable-hdpi/now_playing_progress_handle_selected.png
Binary files differ
diff --git a/res/drawable-hdpi/panel_now_playing_progress_bg.9.png b/kotlin/res/drawable-hdpi/panel_now_playing_progress_bg.9.png
similarity index 100%
rename from res/drawable-hdpi/panel_now_playing_progress_bg.9.png
rename to kotlin/res/drawable-hdpi/panel_now_playing_progress_bg.9.png
Binary files differ
diff --git a/res/drawable-hdpi/pickerbox_background.9.png b/kotlin/res/drawable-hdpi/pickerbox_background.9.png
similarity index 100%
rename from res/drawable-hdpi/pickerbox_background.9.png
rename to kotlin/res/drawable-hdpi/pickerbox_background.9.png
Binary files differ
diff --git a/res/drawable-hdpi/pickerbox_selected.9.png b/kotlin/res/drawable-hdpi/pickerbox_selected.9.png
similarity index 100%
rename from res/drawable-hdpi/pickerbox_selected.9.png
rename to kotlin/res/drawable-hdpi/pickerbox_selected.9.png
Binary files differ
diff --git a/res/drawable-hdpi/pickerbox_unselected.9.png b/kotlin/res/drawable-hdpi/pickerbox_unselected.9.png
similarity index 100%
rename from res/drawable-hdpi/pickerbox_unselected.9.png
rename to kotlin/res/drawable-hdpi/pickerbox_unselected.9.png
Binary files differ
diff --git a/res/drawable-hdpi/playlist_tile_drag.9.png b/kotlin/res/drawable-hdpi/playlist_tile_drag.9.png
similarity index 100%
rename from res/drawable-hdpi/playlist_tile_drag.9.png
rename to kotlin/res/drawable-hdpi/playlist_tile_drag.9.png
Binary files differ
diff --git a/res/drawable-hdpi/playlist_tile_longpress.9.png b/kotlin/res/drawable-hdpi/playlist_tile_longpress.9.png
similarity index 100%
rename from res/drawable-hdpi/playlist_tile_longpress.9.png
rename to kotlin/res/drawable-hdpi/playlist_tile_longpress.9.png
Binary files differ
diff --git a/res/drawable-hdpi/playlist_tile_normal.9.png b/kotlin/res/drawable-hdpi/playlist_tile_normal.9.png
similarity index 100%
rename from res/drawable-hdpi/playlist_tile_normal.9.png
rename to kotlin/res/drawable-hdpi/playlist_tile_normal.9.png
Binary files differ
diff --git a/res/drawable-hdpi/playlist_tile_pressed.9.png b/kotlin/res/drawable-hdpi/playlist_tile_pressed.9.png
similarity index 100%
rename from res/drawable-hdpi/playlist_tile_pressed.9.png
rename to kotlin/res/drawable-hdpi/playlist_tile_pressed.9.png
Binary files differ
diff --git a/res/drawable-hdpi/playlist_tile_selected.9.png b/kotlin/res/drawable-hdpi/playlist_tile_selected.9.png
similarity index 100%
rename from res/drawable-hdpi/playlist_tile_selected.9.png
rename to kotlin/res/drawable-hdpi/playlist_tile_selected.9.png
Binary files differ
diff --git a/res/drawable-hdpi/stat_notify_musicplayer.png b/kotlin/res/drawable-hdpi/stat_notify_musicplayer.png
similarity index 100%
rename from res/drawable-hdpi/stat_notify_musicplayer.png
rename to kotlin/res/drawable-hdpi/stat_notify_musicplayer.png
Binary files differ
diff --git a/res/drawable-land-hdpi/albumart_mp_unknown.png b/kotlin/res/drawable-land-hdpi/albumart_mp_unknown.png
similarity index 100%
rename from res/drawable-land-hdpi/albumart_mp_unknown.png
rename to kotlin/res/drawable-land-hdpi/albumart_mp_unknown.png
Binary files differ
diff --git a/res/drawable-land-mdpi/albumart_mp_unknown.png b/kotlin/res/drawable-land-mdpi/albumart_mp_unknown.png
similarity index 100%
rename from res/drawable-land-mdpi/albumart_mp_unknown.png
rename to kotlin/res/drawable-land-mdpi/albumart_mp_unknown.png
Binary files differ
diff --git a/res/drawable-mdpi/album_border_large.9.png b/kotlin/res/drawable-mdpi/album_border_large.9.png
similarity index 100%
rename from res/drawable-mdpi/album_border_large.9.png
rename to kotlin/res/drawable-mdpi/album_border_large.9.png
Binary files differ
diff --git a/res/drawable-mdpi/albumart_mp_unknown.png b/kotlin/res/drawable-mdpi/albumart_mp_unknown.png
similarity index 100%
rename from res/drawable-mdpi/albumart_mp_unknown.png
rename to kotlin/res/drawable-mdpi/albumart_mp_unknown.png
Binary files differ
diff --git a/res/drawable-mdpi/albumart_mp_unknown_list.png b/kotlin/res/drawable-mdpi/albumart_mp_unknown_list.png
similarity index 100%
rename from res/drawable-mdpi/albumart_mp_unknown_list.png
rename to kotlin/res/drawable-mdpi/albumart_mp_unknown_list.png
Binary files differ
diff --git a/res/drawable-mdpi/app_music.png b/kotlin/res/drawable-mdpi/app_music.png
similarity index 100%
rename from res/drawable-mdpi/app_music.png
rename to kotlin/res/drawable-mdpi/app_music.png
Binary files differ
diff --git a/res/drawable-mdpi/app_video.png b/kotlin/res/drawable-mdpi/app_video.png
similarity index 100%
rename from res/drawable-mdpi/app_video.png
rename to kotlin/res/drawable-mdpi/app_video.png
Binary files differ
diff --git a/res/drawable-mdpi/appwidget_bg.9.png b/kotlin/res/drawable-mdpi/appwidget_bg.9.png
similarity index 100%
rename from res/drawable-mdpi/appwidget_bg.9.png
rename to kotlin/res/drawable-mdpi/appwidget_bg.9.png
Binary files differ
diff --git a/res/drawable-mdpi/appwidget_divider.9.png b/kotlin/res/drawable-mdpi/appwidget_divider.9.png
similarity index 100%
rename from res/drawable-mdpi/appwidget_divider.9.png
rename to kotlin/res/drawable-mdpi/appwidget_divider.9.png
Binary files differ
diff --git a/res/drawable-mdpi/appwidget_inner_focus_c.9.png b/kotlin/res/drawable-mdpi/appwidget_inner_focus_c.9.png
similarity index 100%
rename from res/drawable-mdpi/appwidget_inner_focus_c.9.png
rename to kotlin/res/drawable-mdpi/appwidget_inner_focus_c.9.png
Binary files differ
diff --git a/res/drawable-mdpi/appwidget_inner_focus_l.9.png b/kotlin/res/drawable-mdpi/appwidget_inner_focus_l.9.png
similarity index 100%
rename from res/drawable-mdpi/appwidget_inner_focus_l.9.png
rename to kotlin/res/drawable-mdpi/appwidget_inner_focus_l.9.png
Binary files differ
diff --git a/res/drawable-mdpi/appwidget_inner_focus_r.9.png b/kotlin/res/drawable-mdpi/appwidget_inner_focus_r.9.png
similarity index 100%
rename from res/drawable-mdpi/appwidget_inner_focus_r.9.png
rename to kotlin/res/drawable-mdpi/appwidget_inner_focus_r.9.png
Binary files differ
diff --git a/res/drawable-mdpi/appwidget_inner_press_c.9.png b/kotlin/res/drawable-mdpi/appwidget_inner_press_c.9.png
similarity index 100%
rename from res/drawable-mdpi/appwidget_inner_press_c.9.png
rename to kotlin/res/drawable-mdpi/appwidget_inner_press_c.9.png
Binary files differ
diff --git a/res/drawable-mdpi/appwidget_inner_press_l.9.png b/kotlin/res/drawable-mdpi/appwidget_inner_press_l.9.png
similarity index 100%
rename from res/drawable-mdpi/appwidget_inner_press_l.9.png
rename to kotlin/res/drawable-mdpi/appwidget_inner_press_l.9.png
Binary files differ
diff --git a/res/drawable-mdpi/appwidget_inner_press_r.9.png b/kotlin/res/drawable-mdpi/appwidget_inner_press_r.9.png
similarity index 100%
rename from res/drawable-mdpi/appwidget_inner_press_r.9.png
rename to kotlin/res/drawable-mdpi/appwidget_inner_press_r.9.png
Binary files differ
diff --git a/res/drawable-mdpi/btn_playback_ic_pause_small.png b/kotlin/res/drawable-mdpi/btn_playback_ic_pause_small.png
similarity index 100%
rename from res/drawable-mdpi/btn_playback_ic_pause_small.png
rename to kotlin/res/drawable-mdpi/btn_playback_ic_pause_small.png
Binary files differ
diff --git a/res/drawable-mdpi/btn_playback_ic_play_small.png b/kotlin/res/drawable-mdpi/btn_playback_ic_play_small.png
similarity index 100%
rename from res/drawable-mdpi/btn_playback_ic_play_small.png
rename to kotlin/res/drawable-mdpi/btn_playback_ic_play_small.png
Binary files differ
diff --git a/res/drawable-mdpi/btn_playback_small_normal.png b/kotlin/res/drawable-mdpi/btn_playback_small_normal.png
similarity index 100%
rename from res/drawable-mdpi/btn_playback_small_normal.png
rename to kotlin/res/drawable-mdpi/btn_playback_small_normal.png
Binary files differ
diff --git a/res/drawable-mdpi/btn_playback_small_pressed.png b/kotlin/res/drawable-mdpi/btn_playback_small_pressed.png
similarity index 100%
rename from res/drawable-mdpi/btn_playback_small_pressed.png
rename to kotlin/res/drawable-mdpi/btn_playback_small_pressed.png
Binary files differ
diff --git a/res/drawable-mdpi/btn_playback_small_selected.png b/kotlin/res/drawable-mdpi/btn_playback_small_selected.png
similarity index 100%
rename from res/drawable-mdpi/btn_playback_small_selected.png
rename to kotlin/res/drawable-mdpi/btn_playback_small_selected.png
Binary files differ
diff --git a/res/drawable-mdpi/buttonbar_active.9.png b/kotlin/res/drawable-mdpi/buttonbar_active.9.png
similarity index 100%
rename from res/drawable-mdpi/buttonbar_active.9.png
rename to kotlin/res/drawable-mdpi/buttonbar_active.9.png
Binary files differ
diff --git a/res/drawable-mdpi/buttonbar_focused.9.png b/kotlin/res/drawable-mdpi/buttonbar_focused.9.png
similarity index 100%
rename from res/drawable-mdpi/buttonbar_focused.9.png
rename to kotlin/res/drawable-mdpi/buttonbar_focused.9.png
Binary files differ
diff --git a/res/drawable-mdpi/buttonbar_inactive.9.png b/kotlin/res/drawable-mdpi/buttonbar_inactive.9.png
similarity index 100%
rename from res/drawable-mdpi/buttonbar_inactive.9.png
rename to kotlin/res/drawable-mdpi/buttonbar_inactive.9.png
Binary files differ
diff --git a/res/drawable-mdpi/buttonbar_pressed.9.png b/kotlin/res/drawable-mdpi/buttonbar_pressed.9.png
similarity index 100%
rename from res/drawable-mdpi/buttonbar_pressed.9.png
rename to kotlin/res/drawable-mdpi/buttonbar_pressed.9.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_appwidget_music_next.png b/kotlin/res/drawable-mdpi/ic_appwidget_music_next.png
similarity index 100%
rename from res/drawable-mdpi/ic_appwidget_music_next.png
rename to kotlin/res/drawable-mdpi/ic_appwidget_music_next.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_appwidget_music_pause.png b/kotlin/res/drawable-mdpi/ic_appwidget_music_pause.png
similarity index 100%
rename from res/drawable-mdpi/ic_appwidget_music_pause.png
rename to kotlin/res/drawable-mdpi/ic_appwidget_music_pause.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_appwidget_music_play.png b/kotlin/res/drawable-mdpi/ic_appwidget_music_play.png
similarity index 100%
rename from res/drawable-mdpi/ic_appwidget_music_play.png
rename to kotlin/res/drawable-mdpi/ic_appwidget_music_play.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_launcher_shortcut_music_playlist.png b/kotlin/res/drawable-mdpi/ic_launcher_shortcut_music_playlist.png
similarity index 100%
rename from res/drawable-mdpi/ic_launcher_shortcut_music_playlist.png
rename to kotlin/res/drawable-mdpi/ic_launcher_shortcut_music_playlist.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_menu_clear_playlist.png b/kotlin/res/drawable-mdpi/ic_menu_clear_playlist.png
similarity index 100%
rename from res/drawable-mdpi/ic_menu_clear_playlist.png
rename to kotlin/res/drawable-mdpi/ic_menu_clear_playlist.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_menu_delete.png b/kotlin/res/drawable-mdpi/ic_menu_delete.png
similarity index 100%
rename from res/drawable-mdpi/ic_menu_delete.png
rename to kotlin/res/drawable-mdpi/ic_menu_delete.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_menu_eq.png b/kotlin/res/drawable-mdpi/ic_menu_eq.png
similarity index 100%
rename from res/drawable-mdpi/ic_menu_eq.png
rename to kotlin/res/drawable-mdpi/ic_menu_eq.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_menu_music_library.png b/kotlin/res/drawable-mdpi/ic_menu_music_library.png
similarity index 100%
rename from res/drawable-mdpi/ic_menu_music_library.png
rename to kotlin/res/drawable-mdpi/ic_menu_music_library.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_menu_party_shuffle.png b/kotlin/res/drawable-mdpi/ic_menu_party_shuffle.png
similarity index 100%
rename from res/drawable-mdpi/ic_menu_party_shuffle.png
rename to kotlin/res/drawable-mdpi/ic_menu_party_shuffle.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_menu_play_clip.png b/kotlin/res/drawable-mdpi/ic_menu_play_clip.png
similarity index 100%
rename from res/drawable-mdpi/ic_menu_play_clip.png
rename to kotlin/res/drawable-mdpi/ic_menu_play_clip.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_menu_set_as_ringtone.png b/kotlin/res/drawable-mdpi/ic_menu_set_as_ringtone.png
similarity index 100%
rename from res/drawable-mdpi/ic_menu_set_as_ringtone.png
rename to kotlin/res/drawable-mdpi/ic_menu_set_as_ringtone.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_menu_shuffle.png b/kotlin/res/drawable-mdpi/ic_menu_shuffle.png
similarity index 100%
rename from res/drawable-mdpi/ic_menu_shuffle.png
rename to kotlin/res/drawable-mdpi/ic_menu_shuffle.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_mp_album_playback.png b/kotlin/res/drawable-mdpi/ic_mp_album_playback.png
similarity index 100%
rename from res/drawable-mdpi/ic_mp_album_playback.png
rename to kotlin/res/drawable-mdpi/ic_mp_album_playback.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_mp_artist_list.png b/kotlin/res/drawable-mdpi/ic_mp_artist_list.png
similarity index 100%
rename from res/drawable-mdpi/ic_mp_artist_list.png
rename to kotlin/res/drawable-mdpi/ic_mp_artist_list.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_mp_artist_playback.png b/kotlin/res/drawable-mdpi/ic_mp_artist_playback.png
similarity index 100%
rename from res/drawable-mdpi/ic_mp_artist_playback.png
rename to kotlin/res/drawable-mdpi/ic_mp_artist_playback.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_mp_current_playlist_btn.png b/kotlin/res/drawable-mdpi/ic_mp_current_playlist_btn.png
similarity index 100%
rename from res/drawable-mdpi/ic_mp_current_playlist_btn.png
rename to kotlin/res/drawable-mdpi/ic_mp_current_playlist_btn.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_mp_partyshuffle_on_btn.png b/kotlin/res/drawable-mdpi/ic_mp_partyshuffle_on_btn.png
similarity index 100%
rename from res/drawable-mdpi/ic_mp_partyshuffle_on_btn.png
rename to kotlin/res/drawable-mdpi/ic_mp_partyshuffle_on_btn.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_mp_playlist_list.png b/kotlin/res/drawable-mdpi/ic_mp_playlist_list.png
similarity index 100%
rename from res/drawable-mdpi/ic_mp_playlist_list.png
rename to kotlin/res/drawable-mdpi/ic_mp_playlist_list.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_mp_playlist_recently_added_list.png b/kotlin/res/drawable-mdpi/ic_mp_playlist_recently_added_list.png
similarity index 100%
rename from res/drawable-mdpi/ic_mp_playlist_recently_added_list.png
rename to kotlin/res/drawable-mdpi/ic_mp_playlist_recently_added_list.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_mp_repeat_all_btn.png b/kotlin/res/drawable-mdpi/ic_mp_repeat_all_btn.png
similarity index 100%
rename from res/drawable-mdpi/ic_mp_repeat_all_btn.png
rename to kotlin/res/drawable-mdpi/ic_mp_repeat_all_btn.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_mp_repeat_off_btn.png b/kotlin/res/drawable-mdpi/ic_mp_repeat_off_btn.png
similarity index 100%
rename from res/drawable-mdpi/ic_mp_repeat_off_btn.png
rename to kotlin/res/drawable-mdpi/ic_mp_repeat_off_btn.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_mp_repeat_once_btn.png b/kotlin/res/drawable-mdpi/ic_mp_repeat_once_btn.png
similarity index 100%
rename from res/drawable-mdpi/ic_mp_repeat_once_btn.png
rename to kotlin/res/drawable-mdpi/ic_mp_repeat_once_btn.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_mp_sd_card.png b/kotlin/res/drawable-mdpi/ic_mp_sd_card.png
similarity index 100%
rename from res/drawable-mdpi/ic_mp_sd_card.png
rename to kotlin/res/drawable-mdpi/ic_mp_sd_card.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_mp_shuffle_off_btn.png b/kotlin/res/drawable-mdpi/ic_mp_shuffle_off_btn.png
similarity index 100%
rename from res/drawable-mdpi/ic_mp_shuffle_off_btn.png
rename to kotlin/res/drawable-mdpi/ic_mp_shuffle_off_btn.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_mp_shuffle_on_btn.png b/kotlin/res/drawable-mdpi/ic_mp_shuffle_on_btn.png
similarity index 100%
rename from res/drawable-mdpi/ic_mp_shuffle_on_btn.png
rename to kotlin/res/drawable-mdpi/ic_mp_shuffle_on_btn.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_mp_song_list.png b/kotlin/res/drawable-mdpi/ic_mp_song_list.png
similarity index 100%
rename from res/drawable-mdpi/ic_mp_song_list.png
rename to kotlin/res/drawable-mdpi/ic_mp_song_list.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_mp_song_playback.png b/kotlin/res/drawable-mdpi/ic_mp_song_playback.png
similarity index 100%
rename from res/drawable-mdpi/ic_mp_song_playback.png
rename to kotlin/res/drawable-mdpi/ic_mp_song_playback.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_search_category_music_song.png b/kotlin/res/drawable-mdpi/ic_search_category_music_song.png
similarity index 100%
rename from res/drawable-mdpi/ic_search_category_music_song.png
rename to kotlin/res/drawable-mdpi/ic_search_category_music_song.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_slide_keyboard.png b/kotlin/res/drawable-mdpi/ic_slide_keyboard.png
similarity index 100%
rename from res/drawable-mdpi/ic_slide_keyboard.png
rename to kotlin/res/drawable-mdpi/ic_slide_keyboard.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_tab_albums_selected.png b/kotlin/res/drawable-mdpi/ic_tab_albums_selected.png
similarity index 100%
rename from res/drawable-mdpi/ic_tab_albums_selected.png
rename to kotlin/res/drawable-mdpi/ic_tab_albums_selected.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_tab_albums_unselected.png b/kotlin/res/drawable-mdpi/ic_tab_albums_unselected.png
similarity index 100%
rename from res/drawable-mdpi/ic_tab_albums_unselected.png
rename to kotlin/res/drawable-mdpi/ic_tab_albums_unselected.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_tab_artists_selected.png b/kotlin/res/drawable-mdpi/ic_tab_artists_selected.png
similarity index 100%
rename from res/drawable-mdpi/ic_tab_artists_selected.png
rename to kotlin/res/drawable-mdpi/ic_tab_artists_selected.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_tab_artists_unselected.png b/kotlin/res/drawable-mdpi/ic_tab_artists_unselected.png
similarity index 100%
rename from res/drawable-mdpi/ic_tab_artists_unselected.png
rename to kotlin/res/drawable-mdpi/ic_tab_artists_unselected.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_tab_playback_selected.png b/kotlin/res/drawable-mdpi/ic_tab_playback_selected.png
similarity index 100%
rename from res/drawable-mdpi/ic_tab_playback_selected.png
rename to kotlin/res/drawable-mdpi/ic_tab_playback_selected.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_tab_playback_unselected.png b/kotlin/res/drawable-mdpi/ic_tab_playback_unselected.png
similarity index 100%
rename from res/drawable-mdpi/ic_tab_playback_unselected.png
rename to kotlin/res/drawable-mdpi/ic_tab_playback_unselected.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_tab_playlists_selected.png b/kotlin/res/drawable-mdpi/ic_tab_playlists_selected.png
similarity index 100%
rename from res/drawable-mdpi/ic_tab_playlists_selected.png
rename to kotlin/res/drawable-mdpi/ic_tab_playlists_selected.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_tab_playlists_unselected.png b/kotlin/res/drawable-mdpi/ic_tab_playlists_unselected.png
similarity index 100%
rename from res/drawable-mdpi/ic_tab_playlists_unselected.png
rename to kotlin/res/drawable-mdpi/ic_tab_playlists_unselected.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_tab_songs_selected.png b/kotlin/res/drawable-mdpi/ic_tab_songs_selected.png
similarity index 100%
rename from res/drawable-mdpi/ic_tab_songs_selected.png
rename to kotlin/res/drawable-mdpi/ic_tab_songs_selected.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_tab_songs_unselected.png b/kotlin/res/drawable-mdpi/ic_tab_songs_unselected.png
similarity index 100%
rename from res/drawable-mdpi/ic_tab_songs_unselected.png
rename to kotlin/res/drawable-mdpi/ic_tab_songs_unselected.png
Binary files differ
diff --git a/res/drawable-mdpi/indicator_ic_mp_playing_large.png b/kotlin/res/drawable-mdpi/indicator_ic_mp_playing_large.png
similarity index 100%
rename from res/drawable-mdpi/indicator_ic_mp_playing_large.png
rename to kotlin/res/drawable-mdpi/indicator_ic_mp_playing_large.png
Binary files differ
diff --git a/res/drawable-mdpi/indicator_ic_mp_playing_list.png b/kotlin/res/drawable-mdpi/indicator_ic_mp_playing_list.png
similarity index 100%
rename from res/drawable-mdpi/indicator_ic_mp_playing_list.png
rename to kotlin/res/drawable-mdpi/indicator_ic_mp_playing_list.png
Binary files differ
diff --git a/res/drawable-mdpi/midi.png b/kotlin/res/drawable-mdpi/midi.png
similarity index 100%
rename from res/drawable-mdpi/midi.png
rename to kotlin/res/drawable-mdpi/midi.png
Binary files differ
diff --git a/res/drawable-mdpi/movie.png b/kotlin/res/drawable-mdpi/movie.png
similarity index 100%
rename from res/drawable-mdpi/movie.png
rename to kotlin/res/drawable-mdpi/movie.png
Binary files differ
diff --git a/res/drawable-mdpi/music_bottom_playback_bg.9.png b/kotlin/res/drawable-mdpi/music_bottom_playback_bg.9.png
similarity index 100%
rename from res/drawable-mdpi/music_bottom_playback_bg.9.png
rename to kotlin/res/drawable-mdpi/music_bottom_playback_bg.9.png
Binary files differ
diff --git a/res/drawable-mdpi/now_playing_progress_handle_normal.png b/kotlin/res/drawable-mdpi/now_playing_progress_handle_normal.png
similarity index 100%
rename from res/drawable-mdpi/now_playing_progress_handle_normal.png
rename to kotlin/res/drawable-mdpi/now_playing_progress_handle_normal.png
Binary files differ
diff --git a/res/drawable-mdpi/now_playing_progress_handle_pressed.png b/kotlin/res/drawable-mdpi/now_playing_progress_handle_pressed.png
similarity index 100%
rename from res/drawable-mdpi/now_playing_progress_handle_pressed.png
rename to kotlin/res/drawable-mdpi/now_playing_progress_handle_pressed.png
Binary files differ
diff --git a/res/drawable-mdpi/now_playing_progress_handle_selected.png b/kotlin/res/drawable-mdpi/now_playing_progress_handle_selected.png
similarity index 100%
rename from res/drawable-mdpi/now_playing_progress_handle_selected.png
rename to kotlin/res/drawable-mdpi/now_playing_progress_handle_selected.png
Binary files differ
diff --git a/res/drawable-mdpi/panel_now_playing_progress_bg.9.png b/kotlin/res/drawable-mdpi/panel_now_playing_progress_bg.9.png
similarity index 100%
rename from res/drawable-mdpi/panel_now_playing_progress_bg.9.png
rename to kotlin/res/drawable-mdpi/panel_now_playing_progress_bg.9.png
Binary files differ
diff --git a/res/drawable-mdpi/pickerbox_background.9.png b/kotlin/res/drawable-mdpi/pickerbox_background.9.png
similarity index 100%
rename from res/drawable-mdpi/pickerbox_background.9.png
rename to kotlin/res/drawable-mdpi/pickerbox_background.9.png
Binary files differ
diff --git a/res/drawable-mdpi/pickerbox_selected.9.png b/kotlin/res/drawable-mdpi/pickerbox_selected.9.png
similarity index 100%
rename from res/drawable-mdpi/pickerbox_selected.9.png
rename to kotlin/res/drawable-mdpi/pickerbox_selected.9.png
Binary files differ
diff --git a/res/drawable-mdpi/pickerbox_unselected.9.png b/kotlin/res/drawable-mdpi/pickerbox_unselected.9.png
similarity index 100%
rename from res/drawable-mdpi/pickerbox_unselected.9.png
rename to kotlin/res/drawable-mdpi/pickerbox_unselected.9.png
Binary files differ
diff --git a/res/drawable-mdpi/playlist_tile_drag.9.png b/kotlin/res/drawable-mdpi/playlist_tile_drag.9.png
similarity index 100%
rename from res/drawable-mdpi/playlist_tile_drag.9.png
rename to kotlin/res/drawable-mdpi/playlist_tile_drag.9.png
Binary files differ
diff --git a/res/drawable-mdpi/playlist_tile_longpress.9.png b/kotlin/res/drawable-mdpi/playlist_tile_longpress.9.png
similarity index 100%
rename from res/drawable-mdpi/playlist_tile_longpress.9.png
rename to kotlin/res/drawable-mdpi/playlist_tile_longpress.9.png
Binary files differ
diff --git a/res/drawable-mdpi/playlist_tile_normal.9.png b/kotlin/res/drawable-mdpi/playlist_tile_normal.9.png
similarity index 100%
rename from res/drawable-mdpi/playlist_tile_normal.9.png
rename to kotlin/res/drawable-mdpi/playlist_tile_normal.9.png
Binary files differ
diff --git a/res/drawable-mdpi/playlist_tile_pressed.9.png b/kotlin/res/drawable-mdpi/playlist_tile_pressed.9.png
similarity index 100%
rename from res/drawable-mdpi/playlist_tile_pressed.9.png
rename to kotlin/res/drawable-mdpi/playlist_tile_pressed.9.png
Binary files differ
diff --git a/res/drawable-mdpi/playlist_tile_selected.9.png b/kotlin/res/drawable-mdpi/playlist_tile_selected.9.png
similarity index 100%
rename from res/drawable-mdpi/playlist_tile_selected.9.png
rename to kotlin/res/drawable-mdpi/playlist_tile_selected.9.png
Binary files differ
diff --git a/res/drawable-mdpi/stat_notify_musicplayer.png b/kotlin/res/drawable-mdpi/stat_notify_musicplayer.png
similarity index 100%
rename from res/drawable-mdpi/stat_notify_musicplayer.png
rename to kotlin/res/drawable-mdpi/stat_notify_musicplayer.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_pause_white_24dp.png b/kotlin/res/drawable-xhdpi/ic_pause_white_24dp.png
similarity index 100%
rename from res/drawable-xhdpi/ic_pause_white_24dp.png
rename to kotlin/res/drawable-xhdpi/ic_pause_white_24dp.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_play_arrow_white_24dp.png b/kotlin/res/drawable-xhdpi/ic_play_arrow_white_24dp.png
similarity index 100%
rename from res/drawable-xhdpi/ic_play_arrow_white_24dp.png
rename to kotlin/res/drawable-xhdpi/ic_play_arrow_white_24dp.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_skip_next_white_24dp.png b/kotlin/res/drawable-xhdpi/ic_skip_next_white_24dp.png
similarity index 100%
rename from res/drawable-xhdpi/ic_skip_next_white_24dp.png
rename to kotlin/res/drawable-xhdpi/ic_skip_next_white_24dp.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_skip_previous_white_24dp.png b/kotlin/res/drawable-xhdpi/ic_skip_previous_white_24dp.png
similarity index 100%
rename from res/drawable-xhdpi/ic_skip_previous_white_24dp.png
rename to kotlin/res/drawable-xhdpi/ic_skip_previous_white_24dp.png
Binary files differ
diff --git a/res/drawable-xxhdpi/ic_default_art.png b/kotlin/res/drawable-xxhdpi/ic_default_art.png
similarity index 100%
rename from res/drawable-xxhdpi/ic_default_art.png
rename to kotlin/res/drawable-xxhdpi/ic_default_art.png
Binary files differ
diff --git a/res/drawable-xxhdpi/ic_pause_white_24dp.png b/kotlin/res/drawable-xxhdpi/ic_pause_white_24dp.png
similarity index 100%
rename from res/drawable-xxhdpi/ic_pause_white_24dp.png
rename to kotlin/res/drawable-xxhdpi/ic_pause_white_24dp.png
Binary files differ
diff --git a/res/drawable-xxhdpi/ic_play_arrow_white_24dp.png b/kotlin/res/drawable-xxhdpi/ic_play_arrow_white_24dp.png
similarity index 100%
rename from res/drawable-xxhdpi/ic_play_arrow_white_24dp.png
rename to kotlin/res/drawable-xxhdpi/ic_play_arrow_white_24dp.png
Binary files differ
diff --git a/res/drawable-xxhdpi/ic_skip_next_white_24dp.png b/kotlin/res/drawable-xxhdpi/ic_skip_next_white_24dp.png
similarity index 100%
rename from res/drawable-xxhdpi/ic_skip_next_white_24dp.png
rename to kotlin/res/drawable-xxhdpi/ic_skip_next_white_24dp.png
Binary files differ
diff --git a/res/drawable-xxhdpi/ic_skip_previous_white_24dp.png b/kotlin/res/drawable-xxhdpi/ic_skip_previous_white_24dp.png
similarity index 100%
rename from res/drawable-xxhdpi/ic_skip_previous_white_24dp.png
rename to kotlin/res/drawable-xxhdpi/ic_skip_previous_white_24dp.png
Binary files differ
diff --git a/res/drawable/btn_nowplaying_background_small.xml b/kotlin/res/drawable/btn_nowplaying_background_small.xml
similarity index 100%
rename from res/drawable/btn_nowplaying_background_small.xml
rename to kotlin/res/drawable/btn_nowplaying_background_small.xml
diff --git a/res/drawable/progress_horizontal.xml b/kotlin/res/drawable/progress_horizontal.xml
similarity index 100%
rename from res/drawable/progress_horizontal.xml
rename to kotlin/res/drawable/progress_horizontal.xml
diff --git a/res/drawable/seek_thumb.xml b/kotlin/res/drawable/seek_thumb.xml
similarity index 100%
rename from res/drawable/seek_thumb.xml
rename to kotlin/res/drawable/seek_thumb.xml
diff --git a/res/layout/audiopreview.xml b/kotlin/res/layout/audiopreview.xml
similarity index 100%
rename from res/layout/audiopreview.xml
rename to kotlin/res/layout/audiopreview.xml
diff --git a/res/values-af-keysexposed/strings.xml b/kotlin/res/values-af-keysexposed/strings.xml
similarity index 100%
rename from res/values-af-keysexposed/strings.xml
rename to kotlin/res/values-af-keysexposed/strings.xml
diff --git a/res/values-af-keyshidden/strings.xml b/kotlin/res/values-af-keyshidden/strings.xml
similarity index 100%
rename from res/values-af-keyshidden/strings.xml
rename to kotlin/res/values-af-keyshidden/strings.xml
diff --git a/res/values-af/strings.xml b/kotlin/res/values-af/strings.xml
similarity index 100%
rename from res/values-af/strings.xml
rename to kotlin/res/values-af/strings.xml
diff --git a/res/values-af/strings2.xml b/kotlin/res/values-af/strings2.xml
similarity index 100%
rename from res/values-af/strings2.xml
rename to kotlin/res/values-af/strings2.xml
diff --git a/res/values-am-keysexposed/strings.xml b/kotlin/res/values-am-keysexposed/strings.xml
similarity index 100%
rename from res/values-am-keysexposed/strings.xml
rename to kotlin/res/values-am-keysexposed/strings.xml
diff --git a/res/values-am-keyshidden/strings.xml b/kotlin/res/values-am-keyshidden/strings.xml
similarity index 100%
rename from res/values-am-keyshidden/strings.xml
rename to kotlin/res/values-am-keyshidden/strings.xml
diff --git a/res/values-am/strings.xml b/kotlin/res/values-am/strings.xml
similarity index 100%
rename from res/values-am/strings.xml
rename to kotlin/res/values-am/strings.xml
diff --git a/res/values-am/strings2.xml b/kotlin/res/values-am/strings2.xml
similarity index 100%
rename from res/values-am/strings2.xml
rename to kotlin/res/values-am/strings2.xml
diff --git a/res/values-ar-keysexposed/strings.xml b/kotlin/res/values-ar-keysexposed/strings.xml
similarity index 100%
rename from res/values-ar-keysexposed/strings.xml
rename to kotlin/res/values-ar-keysexposed/strings.xml
diff --git a/res/values-ar-keyshidden/strings.xml b/kotlin/res/values-ar-keyshidden/strings.xml
similarity index 100%
rename from res/values-ar-keyshidden/strings.xml
rename to kotlin/res/values-ar-keyshidden/strings.xml
diff --git a/res/values-ar/strings.xml b/kotlin/res/values-ar/strings.xml
similarity index 100%
rename from res/values-ar/strings.xml
rename to kotlin/res/values-ar/strings.xml
diff --git a/res/values-ar/strings2.xml b/kotlin/res/values-ar/strings2.xml
similarity index 100%
rename from res/values-ar/strings2.xml
rename to kotlin/res/values-ar/strings2.xml
diff --git a/res/values-b+sr+Latn-keysexposed/strings.xml b/kotlin/res/values-b+sr+Latn-keysexposed/strings.xml
similarity index 100%
rename from res/values-b+sr+Latn-keysexposed/strings.xml
rename to kotlin/res/values-b+sr+Latn-keysexposed/strings.xml
diff --git a/res/values-b+sr+Latn-keyshidden/strings.xml b/kotlin/res/values-b+sr+Latn-keyshidden/strings.xml
similarity index 100%
rename from res/values-b+sr+Latn-keyshidden/strings.xml
rename to kotlin/res/values-b+sr+Latn-keyshidden/strings.xml
diff --git a/res/values-b+sr+Latn/strings.xml b/kotlin/res/values-b+sr+Latn/strings.xml
similarity index 100%
rename from res/values-b+sr+Latn/strings.xml
rename to kotlin/res/values-b+sr+Latn/strings.xml
diff --git a/res/values-b+sr+Latn/strings2.xml b/kotlin/res/values-b+sr+Latn/strings2.xml
similarity index 100%
rename from res/values-b+sr+Latn/strings2.xml
rename to kotlin/res/values-b+sr+Latn/strings2.xml
diff --git a/res/values-be-keysexposed/strings.xml b/kotlin/res/values-be-keysexposed/strings.xml
similarity index 100%
rename from res/values-be-keysexposed/strings.xml
rename to kotlin/res/values-be-keysexposed/strings.xml
diff --git a/res/values-be-keyshidden/strings.xml b/kotlin/res/values-be-keyshidden/strings.xml
similarity index 100%
rename from res/values-be-keyshidden/strings.xml
rename to kotlin/res/values-be-keyshidden/strings.xml
diff --git a/res/values-be/strings.xml b/kotlin/res/values-be/strings.xml
similarity index 100%
rename from res/values-be/strings.xml
rename to kotlin/res/values-be/strings.xml
diff --git a/res/values-be/strings2.xml b/kotlin/res/values-be/strings2.xml
similarity index 100%
rename from res/values-be/strings2.xml
rename to kotlin/res/values-be/strings2.xml
diff --git a/res/values-bg-keysexposed/strings.xml b/kotlin/res/values-bg-keysexposed/strings.xml
similarity index 100%
rename from res/values-bg-keysexposed/strings.xml
rename to kotlin/res/values-bg-keysexposed/strings.xml
diff --git a/res/values-bg-keyshidden/strings.xml b/kotlin/res/values-bg-keyshidden/strings.xml
similarity index 100%
rename from res/values-bg-keyshidden/strings.xml
rename to kotlin/res/values-bg-keyshidden/strings.xml
diff --git a/res/values-bg/strings.xml b/kotlin/res/values-bg/strings.xml
similarity index 100%
rename from res/values-bg/strings.xml
rename to kotlin/res/values-bg/strings.xml
diff --git a/res/values-bg/strings2.xml b/kotlin/res/values-bg/strings2.xml
similarity index 100%
rename from res/values-bg/strings2.xml
rename to kotlin/res/values-bg/strings2.xml
diff --git a/res/values-bn-rWB-keysexposed/strings.xml b/kotlin/res/values-bn-rWB-keysexposed/strings.xml
similarity index 100%
rename from res/values-bn-rWB-keysexposed/strings.xml
rename to kotlin/res/values-bn-rWB-keysexposed/strings.xml
diff --git a/res/values-bn-rWB-keyshidden/strings.xml b/kotlin/res/values-bn-rWB-keyshidden/strings.xml
similarity index 100%
rename from res/values-bn-rWB-keyshidden/strings.xml
rename to kotlin/res/values-bn-rWB-keyshidden/strings.xml
diff --git a/res/values-bs-keysexposed/strings.xml b/kotlin/res/values-bs-keysexposed/strings.xml
similarity index 100%
rename from res/values-bs-keysexposed/strings.xml
rename to kotlin/res/values-bs-keysexposed/strings.xml
diff --git a/res/values-bs-keyshidden/strings.xml b/kotlin/res/values-bs-keyshidden/strings.xml
similarity index 100%
rename from res/values-bs-keyshidden/strings.xml
rename to kotlin/res/values-bs-keyshidden/strings.xml
diff --git a/res/values-bs/strings.xml b/kotlin/res/values-bs/strings.xml
similarity index 100%
rename from res/values-bs/strings.xml
rename to kotlin/res/values-bs/strings.xml
diff --git a/res/values-bs/strings2.xml b/kotlin/res/values-bs/strings2.xml
similarity index 100%
rename from res/values-bs/strings2.xml
rename to kotlin/res/values-bs/strings2.xml
diff --git a/res/values-ca-keysexposed/strings.xml b/kotlin/res/values-ca-keysexposed/strings.xml
similarity index 100%
rename from res/values-ca-keysexposed/strings.xml
rename to kotlin/res/values-ca-keysexposed/strings.xml
diff --git a/res/values-ca-keyshidden/strings.xml b/kotlin/res/values-ca-keyshidden/strings.xml
similarity index 100%
rename from res/values-ca-keyshidden/strings.xml
rename to kotlin/res/values-ca-keyshidden/strings.xml
diff --git a/res/values-ca/strings.xml b/kotlin/res/values-ca/strings.xml
similarity index 100%
rename from res/values-ca/strings.xml
rename to kotlin/res/values-ca/strings.xml
diff --git a/res/values-ca/strings2.xml b/kotlin/res/values-ca/strings2.xml
similarity index 100%
rename from res/values-ca/strings2.xml
rename to kotlin/res/values-ca/strings2.xml
diff --git a/res/values-cs-keysexposed/strings.xml b/kotlin/res/values-cs-keysexposed/strings.xml
similarity index 100%
rename from res/values-cs-keysexposed/strings.xml
rename to kotlin/res/values-cs-keysexposed/strings.xml
diff --git a/res/values-cs-keyshidden/strings.xml b/kotlin/res/values-cs-keyshidden/strings.xml
similarity index 100%
rename from res/values-cs-keyshidden/strings.xml
rename to kotlin/res/values-cs-keyshidden/strings.xml
diff --git a/res/values-cs/strings.xml b/kotlin/res/values-cs/strings.xml
similarity index 100%
rename from res/values-cs/strings.xml
rename to kotlin/res/values-cs/strings.xml
diff --git a/res/values-cs/strings2.xml b/kotlin/res/values-cs/strings2.xml
similarity index 100%
rename from res/values-cs/strings2.xml
rename to kotlin/res/values-cs/strings2.xml
diff --git a/res/values-da-keysexposed/strings.xml b/kotlin/res/values-da-keysexposed/strings.xml
similarity index 100%
rename from res/values-da-keysexposed/strings.xml
rename to kotlin/res/values-da-keysexposed/strings.xml
diff --git a/res/values-da-keyshidden/strings.xml b/kotlin/res/values-da-keyshidden/strings.xml
similarity index 100%
rename from res/values-da-keyshidden/strings.xml
rename to kotlin/res/values-da-keyshidden/strings.xml
diff --git a/res/values-da/strings.xml b/kotlin/res/values-da/strings.xml
similarity index 100%
rename from res/values-da/strings.xml
rename to kotlin/res/values-da/strings.xml
diff --git a/res/values-da/strings2.xml b/kotlin/res/values-da/strings2.xml
similarity index 100%
rename from res/values-da/strings2.xml
rename to kotlin/res/values-da/strings2.xml
diff --git a/res/values-de-keysexposed/strings.xml b/kotlin/res/values-de-keysexposed/strings.xml
similarity index 100%
rename from res/values-de-keysexposed/strings.xml
rename to kotlin/res/values-de-keysexposed/strings.xml
diff --git a/res/values-de-keyshidden/strings.xml b/kotlin/res/values-de-keyshidden/strings.xml
similarity index 100%
rename from res/values-de-keyshidden/strings.xml
rename to kotlin/res/values-de-keyshidden/strings.xml
diff --git a/res/values-de/strings.xml b/kotlin/res/values-de/strings.xml
similarity index 100%
rename from res/values-de/strings.xml
rename to kotlin/res/values-de/strings.xml
diff --git a/res/values-de/strings2.xml b/kotlin/res/values-de/strings2.xml
similarity index 100%
rename from res/values-de/strings2.xml
rename to kotlin/res/values-de/strings2.xml
diff --git a/res/values-el-keysexposed/strings.xml b/kotlin/res/values-el-keysexposed/strings.xml
similarity index 100%
rename from res/values-el-keysexposed/strings.xml
rename to kotlin/res/values-el-keysexposed/strings.xml
diff --git a/res/values-el-keyshidden/strings.xml b/kotlin/res/values-el-keyshidden/strings.xml
similarity index 100%
rename from res/values-el-keyshidden/strings.xml
rename to kotlin/res/values-el-keyshidden/strings.xml
diff --git a/res/values-el/strings.xml b/kotlin/res/values-el/strings.xml
similarity index 100%
rename from res/values-el/strings.xml
rename to kotlin/res/values-el/strings.xml
diff --git a/res/values-el/strings2.xml b/kotlin/res/values-el/strings2.xml
similarity index 100%
rename from res/values-el/strings2.xml
rename to kotlin/res/values-el/strings2.xml
diff --git a/res/values-en-rAU-keysexposed/strings.xml b/kotlin/res/values-en-rAU-keysexposed/strings.xml
similarity index 100%
rename from res/values-en-rAU-keysexposed/strings.xml
rename to kotlin/res/values-en-rAU-keysexposed/strings.xml
diff --git a/res/values-en-rAU-keyshidden/strings.xml b/kotlin/res/values-en-rAU-keyshidden/strings.xml
similarity index 100%
rename from res/values-en-rAU-keyshidden/strings.xml
rename to kotlin/res/values-en-rAU-keyshidden/strings.xml
diff --git a/res/values-en-rAU/strings.xml b/kotlin/res/values-en-rAU/strings.xml
similarity index 100%
rename from res/values-en-rAU/strings.xml
rename to kotlin/res/values-en-rAU/strings.xml
diff --git a/res/values-en-rAU/strings2.xml b/kotlin/res/values-en-rAU/strings2.xml
similarity index 100%
rename from res/values-en-rAU/strings2.xml
rename to kotlin/res/values-en-rAU/strings2.xml
diff --git a/res/values-en-rCA-keysexposed/strings.xml b/kotlin/res/values-en-rCA-keysexposed/strings.xml
similarity index 100%
rename from res/values-en-rCA-keysexposed/strings.xml
rename to kotlin/res/values-en-rCA-keysexposed/strings.xml
diff --git a/res/values-en-rCA-keyshidden/strings.xml b/kotlin/res/values-en-rCA-keyshidden/strings.xml
similarity index 100%
rename from res/values-en-rCA-keyshidden/strings.xml
rename to kotlin/res/values-en-rCA-keyshidden/strings.xml
diff --git a/res/values-en-rCA/strings.xml b/kotlin/res/values-en-rCA/strings.xml
similarity index 100%
rename from res/values-en-rCA/strings.xml
rename to kotlin/res/values-en-rCA/strings.xml
diff --git a/res/values-en-rCA/strings2.xml b/kotlin/res/values-en-rCA/strings2.xml
similarity index 100%
rename from res/values-en-rCA/strings2.xml
rename to kotlin/res/values-en-rCA/strings2.xml
diff --git a/res/values-en-rGB-keysexposed/strings.xml b/kotlin/res/values-en-rGB-keysexposed/strings.xml
similarity index 100%
rename from res/values-en-rGB-keysexposed/strings.xml
rename to kotlin/res/values-en-rGB-keysexposed/strings.xml
diff --git a/res/values-en-rGB-keyshidden/strings.xml b/kotlin/res/values-en-rGB-keyshidden/strings.xml
similarity index 100%
rename from res/values-en-rGB-keyshidden/strings.xml
rename to kotlin/res/values-en-rGB-keyshidden/strings.xml
diff --git a/res/values-en-rGB/strings.xml b/kotlin/res/values-en-rGB/strings.xml
similarity index 100%
rename from res/values-en-rGB/strings.xml
rename to kotlin/res/values-en-rGB/strings.xml
diff --git a/res/values-en-rGB/strings2.xml b/kotlin/res/values-en-rGB/strings2.xml
similarity index 100%
rename from res/values-en-rGB/strings2.xml
rename to kotlin/res/values-en-rGB/strings2.xml
diff --git a/res/values-en-rIN-keysexposed/strings.xml b/kotlin/res/values-en-rIN-keysexposed/strings.xml
similarity index 100%
rename from res/values-en-rIN-keysexposed/strings.xml
rename to kotlin/res/values-en-rIN-keysexposed/strings.xml
diff --git a/res/values-en-rIN-keyshidden/strings.xml b/kotlin/res/values-en-rIN-keyshidden/strings.xml
similarity index 100%
rename from res/values-en-rIN-keyshidden/strings.xml
rename to kotlin/res/values-en-rIN-keyshidden/strings.xml
diff --git a/res/values-en-rIN/strings.xml b/kotlin/res/values-en-rIN/strings.xml
similarity index 100%
rename from res/values-en-rIN/strings.xml
rename to kotlin/res/values-en-rIN/strings.xml
diff --git a/res/values-en-rIN/strings2.xml b/kotlin/res/values-en-rIN/strings2.xml
similarity index 100%
rename from res/values-en-rIN/strings2.xml
rename to kotlin/res/values-en-rIN/strings2.xml
diff --git a/res/values-es-keysexposed/strings.xml b/kotlin/res/values-es-keysexposed/strings.xml
similarity index 100%
rename from res/values-es-keysexposed/strings.xml
rename to kotlin/res/values-es-keysexposed/strings.xml
diff --git a/res/values-es-keyshidden/strings.xml b/kotlin/res/values-es-keyshidden/strings.xml
similarity index 100%
rename from res/values-es-keyshidden/strings.xml
rename to kotlin/res/values-es-keyshidden/strings.xml
diff --git a/res/values-es-rUS-keysexposed/strings.xml b/kotlin/res/values-es-rUS-keysexposed/strings.xml
similarity index 100%
rename from res/values-es-rUS-keysexposed/strings.xml
rename to kotlin/res/values-es-rUS-keysexposed/strings.xml
diff --git a/res/values-es-rUS-keyshidden/strings.xml b/kotlin/res/values-es-rUS-keyshidden/strings.xml
similarity index 100%
rename from res/values-es-rUS-keyshidden/strings.xml
rename to kotlin/res/values-es-rUS-keyshidden/strings.xml
diff --git a/res/values-es-rUS/strings.xml b/kotlin/res/values-es-rUS/strings.xml
similarity index 100%
rename from res/values-es-rUS/strings.xml
rename to kotlin/res/values-es-rUS/strings.xml
diff --git a/res/values-es-rUS/strings2.xml b/kotlin/res/values-es-rUS/strings2.xml
similarity index 100%
rename from res/values-es-rUS/strings2.xml
rename to kotlin/res/values-es-rUS/strings2.xml
diff --git a/res/values-es/strings.xml b/kotlin/res/values-es/strings.xml
similarity index 100%
rename from res/values-es/strings.xml
rename to kotlin/res/values-es/strings.xml
diff --git a/res/values-es/strings2.xml b/kotlin/res/values-es/strings2.xml
similarity index 100%
rename from res/values-es/strings2.xml
rename to kotlin/res/values-es/strings2.xml
diff --git a/res/values-et-keysexposed/strings.xml b/kotlin/res/values-et-keysexposed/strings.xml
similarity index 100%
rename from res/values-et-keysexposed/strings.xml
rename to kotlin/res/values-et-keysexposed/strings.xml
diff --git a/res/values-et-keyshidden/strings.xml b/kotlin/res/values-et-keyshidden/strings.xml
similarity index 100%
rename from res/values-et-keyshidden/strings.xml
rename to kotlin/res/values-et-keyshidden/strings.xml
diff --git a/res/values-et/strings.xml b/kotlin/res/values-et/strings.xml
similarity index 100%
rename from res/values-et/strings.xml
rename to kotlin/res/values-et/strings.xml
diff --git a/res/values-et/strings2.xml b/kotlin/res/values-et/strings2.xml
similarity index 100%
rename from res/values-et/strings2.xml
rename to kotlin/res/values-et/strings2.xml
diff --git a/res/values-fa-keysexposed/strings.xml b/kotlin/res/values-fa-keysexposed/strings.xml
similarity index 100%
rename from res/values-fa-keysexposed/strings.xml
rename to kotlin/res/values-fa-keysexposed/strings.xml
diff --git a/res/values-fa-keyshidden/strings.xml b/kotlin/res/values-fa-keyshidden/strings.xml
similarity index 100%
rename from res/values-fa-keyshidden/strings.xml
rename to kotlin/res/values-fa-keyshidden/strings.xml
diff --git a/res/values-fa/strings.xml b/kotlin/res/values-fa/strings.xml
similarity index 100%
rename from res/values-fa/strings.xml
rename to kotlin/res/values-fa/strings.xml
diff --git a/res/values-fa/strings2.xml b/kotlin/res/values-fa/strings2.xml
similarity index 100%
rename from res/values-fa/strings2.xml
rename to kotlin/res/values-fa/strings2.xml
diff --git a/res/values-fi-keysexposed/strings.xml b/kotlin/res/values-fi-keysexposed/strings.xml
similarity index 100%
rename from res/values-fi-keysexposed/strings.xml
rename to kotlin/res/values-fi-keysexposed/strings.xml
diff --git a/res/values-fi-keyshidden/strings.xml b/kotlin/res/values-fi-keyshidden/strings.xml
similarity index 100%
rename from res/values-fi-keyshidden/strings.xml
rename to kotlin/res/values-fi-keyshidden/strings.xml
diff --git a/res/values-fi/strings.xml b/kotlin/res/values-fi/strings.xml
similarity index 100%
rename from res/values-fi/strings.xml
rename to kotlin/res/values-fi/strings.xml
diff --git a/res/values-fi/strings2.xml b/kotlin/res/values-fi/strings2.xml
similarity index 100%
rename from res/values-fi/strings2.xml
rename to kotlin/res/values-fi/strings2.xml
diff --git a/res/values-fr-keysexposed/strings.xml b/kotlin/res/values-fr-keysexposed/strings.xml
similarity index 100%
rename from res/values-fr-keysexposed/strings.xml
rename to kotlin/res/values-fr-keysexposed/strings.xml
diff --git a/res/values-fr-keyshidden/strings.xml b/kotlin/res/values-fr-keyshidden/strings.xml
similarity index 100%
rename from res/values-fr-keyshidden/strings.xml
rename to kotlin/res/values-fr-keyshidden/strings.xml
diff --git a/res/values-fr-rCA-keysexposed/strings.xml b/kotlin/res/values-fr-rCA-keysexposed/strings.xml
similarity index 100%
rename from res/values-fr-rCA-keysexposed/strings.xml
rename to kotlin/res/values-fr-rCA-keysexposed/strings.xml
diff --git a/res/values-fr-rCA-keyshidden/strings.xml b/kotlin/res/values-fr-rCA-keyshidden/strings.xml
similarity index 100%
rename from res/values-fr-rCA-keyshidden/strings.xml
rename to kotlin/res/values-fr-rCA-keyshidden/strings.xml
diff --git a/res/values-fr-rCA/strings.xml b/kotlin/res/values-fr-rCA/strings.xml
similarity index 100%
rename from res/values-fr-rCA/strings.xml
rename to kotlin/res/values-fr-rCA/strings.xml
diff --git a/res/values-fr-rCA/strings2.xml b/kotlin/res/values-fr-rCA/strings2.xml
similarity index 100%
rename from res/values-fr-rCA/strings2.xml
rename to kotlin/res/values-fr-rCA/strings2.xml
diff --git a/res/values-fr/strings.xml b/kotlin/res/values-fr/strings.xml
similarity index 100%
rename from res/values-fr/strings.xml
rename to kotlin/res/values-fr/strings.xml
diff --git a/res/values-fr/strings2.xml b/kotlin/res/values-fr/strings2.xml
similarity index 100%
rename from res/values-fr/strings2.xml
rename to kotlin/res/values-fr/strings2.xml
diff --git a/res/values-hi-keysexposed/strings.xml b/kotlin/res/values-hi-keysexposed/strings.xml
similarity index 100%
rename from res/values-hi-keysexposed/strings.xml
rename to kotlin/res/values-hi-keysexposed/strings.xml
diff --git a/res/values-hi-keyshidden/strings.xml b/kotlin/res/values-hi-keyshidden/strings.xml
similarity index 100%
rename from res/values-hi-keyshidden/strings.xml
rename to kotlin/res/values-hi-keyshidden/strings.xml
diff --git a/res/values-hi/strings.xml b/kotlin/res/values-hi/strings.xml
similarity index 100%
rename from res/values-hi/strings.xml
rename to kotlin/res/values-hi/strings.xml
diff --git a/res/values-hi/strings2.xml b/kotlin/res/values-hi/strings2.xml
similarity index 100%
rename from res/values-hi/strings2.xml
rename to kotlin/res/values-hi/strings2.xml
diff --git a/res/values-hr-keysexposed/strings.xml b/kotlin/res/values-hr-keysexposed/strings.xml
similarity index 100%
rename from res/values-hr-keysexposed/strings.xml
rename to kotlin/res/values-hr-keysexposed/strings.xml
diff --git a/res/values-hr-keyshidden/strings.xml b/kotlin/res/values-hr-keyshidden/strings.xml
similarity index 100%
rename from res/values-hr-keyshidden/strings.xml
rename to kotlin/res/values-hr-keyshidden/strings.xml
diff --git a/res/values-hr/strings.xml b/kotlin/res/values-hr/strings.xml
similarity index 100%
rename from res/values-hr/strings.xml
rename to kotlin/res/values-hr/strings.xml
diff --git a/res/values-hr/strings2.xml b/kotlin/res/values-hr/strings2.xml
similarity index 100%
rename from res/values-hr/strings2.xml
rename to kotlin/res/values-hr/strings2.xml
diff --git a/res/values-hu-keysexposed/strings.xml b/kotlin/res/values-hu-keysexposed/strings.xml
similarity index 100%
rename from res/values-hu-keysexposed/strings.xml
rename to kotlin/res/values-hu-keysexposed/strings.xml
diff --git a/res/values-hu-keyshidden/strings.xml b/kotlin/res/values-hu-keyshidden/strings.xml
similarity index 100%
rename from res/values-hu-keyshidden/strings.xml
rename to kotlin/res/values-hu-keyshidden/strings.xml
diff --git a/res/values-hu/strings.xml b/kotlin/res/values-hu/strings.xml
similarity index 100%
rename from res/values-hu/strings.xml
rename to kotlin/res/values-hu/strings.xml
diff --git a/res/values-hu/strings2.xml b/kotlin/res/values-hu/strings2.xml
similarity index 100%
rename from res/values-hu/strings2.xml
rename to kotlin/res/values-hu/strings2.xml
diff --git a/res/values-in-keysexposed/strings.xml b/kotlin/res/values-in-keysexposed/strings.xml
similarity index 100%
rename from res/values-in-keysexposed/strings.xml
rename to kotlin/res/values-in-keysexposed/strings.xml
diff --git a/res/values-in-keyshidden/strings.xml b/kotlin/res/values-in-keyshidden/strings.xml
similarity index 100%
rename from res/values-in-keyshidden/strings.xml
rename to kotlin/res/values-in-keyshidden/strings.xml
diff --git a/res/values-in/strings.xml b/kotlin/res/values-in/strings.xml
similarity index 100%
rename from res/values-in/strings.xml
rename to kotlin/res/values-in/strings.xml
diff --git a/res/values-in/strings2.xml b/kotlin/res/values-in/strings2.xml
similarity index 100%
rename from res/values-in/strings2.xml
rename to kotlin/res/values-in/strings2.xml
diff --git a/res/values-it-keysexposed/strings.xml b/kotlin/res/values-it-keysexposed/strings.xml
similarity index 100%
rename from res/values-it-keysexposed/strings.xml
rename to kotlin/res/values-it-keysexposed/strings.xml
diff --git a/res/values-it-keyshidden/strings.xml b/kotlin/res/values-it-keyshidden/strings.xml
similarity index 100%
rename from res/values-it-keyshidden/strings.xml
rename to kotlin/res/values-it-keyshidden/strings.xml
diff --git a/res/values-it/strings.xml b/kotlin/res/values-it/strings.xml
similarity index 100%
rename from res/values-it/strings.xml
rename to kotlin/res/values-it/strings.xml
diff --git a/res/values-it/strings2.xml b/kotlin/res/values-it/strings2.xml
similarity index 100%
rename from res/values-it/strings2.xml
rename to kotlin/res/values-it/strings2.xml
diff --git a/res/values-iw-keysexposed/strings.xml b/kotlin/res/values-iw-keysexposed/strings.xml
similarity index 100%
rename from res/values-iw-keysexposed/strings.xml
rename to kotlin/res/values-iw-keysexposed/strings.xml
diff --git a/res/values-iw-keyshidden/strings.xml b/kotlin/res/values-iw-keyshidden/strings.xml
similarity index 100%
rename from res/values-iw-keyshidden/strings.xml
rename to kotlin/res/values-iw-keyshidden/strings.xml
diff --git a/res/values-iw/strings.xml b/kotlin/res/values-iw/strings.xml
similarity index 100%
rename from res/values-iw/strings.xml
rename to kotlin/res/values-iw/strings.xml
diff --git a/res/values-iw/strings2.xml b/kotlin/res/values-iw/strings2.xml
similarity index 100%
rename from res/values-iw/strings2.xml
rename to kotlin/res/values-iw/strings2.xml
diff --git a/res/values-ja-keysexposed/strings.xml b/kotlin/res/values-ja-keysexposed/strings.xml
similarity index 100%
rename from res/values-ja-keysexposed/strings.xml
rename to kotlin/res/values-ja-keysexposed/strings.xml
diff --git a/res/values-ja-keyshidden/strings.xml b/kotlin/res/values-ja-keyshidden/strings.xml
similarity index 100%
rename from res/values-ja-keyshidden/strings.xml
rename to kotlin/res/values-ja-keyshidden/strings.xml
diff --git a/res/values-ja/strings.xml b/kotlin/res/values-ja/strings.xml
similarity index 100%
rename from res/values-ja/strings.xml
rename to kotlin/res/values-ja/strings.xml
diff --git a/res/values-ja/strings2.xml b/kotlin/res/values-ja/strings2.xml
similarity index 100%
rename from res/values-ja/strings2.xml
rename to kotlin/res/values-ja/strings2.xml
diff --git a/res/values-keysexposed/strings.xml b/kotlin/res/values-keysexposed/strings.xml
similarity index 100%
rename from res/values-keysexposed/strings.xml
rename to kotlin/res/values-keysexposed/strings.xml
diff --git a/res/values-keyshidden/strings.xml b/kotlin/res/values-keyshidden/strings.xml
similarity index 100%
rename from res/values-keyshidden/strings.xml
rename to kotlin/res/values-keyshidden/strings.xml
diff --git a/res/values-ko-keysexposed/strings.xml b/kotlin/res/values-ko-keysexposed/strings.xml
similarity index 100%
rename from res/values-ko-keysexposed/strings.xml
rename to kotlin/res/values-ko-keysexposed/strings.xml
diff --git a/res/values-ko-keyshidden/strings.xml b/kotlin/res/values-ko-keyshidden/strings.xml
similarity index 100%
rename from res/values-ko-keyshidden/strings.xml
rename to kotlin/res/values-ko-keyshidden/strings.xml
diff --git a/res/values-ko/strings.xml b/kotlin/res/values-ko/strings.xml
similarity index 100%
rename from res/values-ko/strings.xml
rename to kotlin/res/values-ko/strings.xml
diff --git a/res/values-ko/strings2.xml b/kotlin/res/values-ko/strings2.xml
similarity index 100%
rename from res/values-ko/strings2.xml
rename to kotlin/res/values-ko/strings2.xml
diff --git a/res/values-lt-keysexposed/strings.xml b/kotlin/res/values-lt-keysexposed/strings.xml
similarity index 100%
rename from res/values-lt-keysexposed/strings.xml
rename to kotlin/res/values-lt-keysexposed/strings.xml
diff --git a/res/values-lt-keyshidden/strings.xml b/kotlin/res/values-lt-keyshidden/strings.xml
similarity index 100%
rename from res/values-lt-keyshidden/strings.xml
rename to kotlin/res/values-lt-keyshidden/strings.xml
diff --git a/res/values-lt/strings.xml b/kotlin/res/values-lt/strings.xml
similarity index 100%
rename from res/values-lt/strings.xml
rename to kotlin/res/values-lt/strings.xml
diff --git a/res/values-lt/strings2.xml b/kotlin/res/values-lt/strings2.xml
similarity index 100%
rename from res/values-lt/strings2.xml
rename to kotlin/res/values-lt/strings2.xml
diff --git a/res/values-lv-keysexposed/strings.xml b/kotlin/res/values-lv-keysexposed/strings.xml
similarity index 100%
rename from res/values-lv-keysexposed/strings.xml
rename to kotlin/res/values-lv-keysexposed/strings.xml
diff --git a/res/values-lv-keyshidden/strings.xml b/kotlin/res/values-lv-keyshidden/strings.xml
similarity index 100%
rename from res/values-lv-keyshidden/strings.xml
rename to kotlin/res/values-lv-keyshidden/strings.xml
diff --git a/res/values-lv/strings.xml b/kotlin/res/values-lv/strings.xml
similarity index 100%
rename from res/values-lv/strings.xml
rename to kotlin/res/values-lv/strings.xml
diff --git a/res/values-lv/strings2.xml b/kotlin/res/values-lv/strings2.xml
similarity index 100%
rename from res/values-lv/strings2.xml
rename to kotlin/res/values-lv/strings2.xml
diff --git a/res/values-ms-keysexposed/strings.xml b/kotlin/res/values-ms-keysexposed/strings.xml
similarity index 100%
rename from res/values-ms-keysexposed/strings.xml
rename to kotlin/res/values-ms-keysexposed/strings.xml
diff --git a/res/values-ms-keyshidden/strings.xml b/kotlin/res/values-ms-keyshidden/strings.xml
similarity index 100%
rename from res/values-ms-keyshidden/strings.xml
rename to kotlin/res/values-ms-keyshidden/strings.xml
diff --git a/res/values-ms/strings.xml b/kotlin/res/values-ms/strings.xml
similarity index 100%
rename from res/values-ms/strings.xml
rename to kotlin/res/values-ms/strings.xml
diff --git a/res/values-ms/strings2.xml b/kotlin/res/values-ms/strings2.xml
similarity index 100%
rename from res/values-ms/strings2.xml
rename to kotlin/res/values-ms/strings2.xml
diff --git a/res/values-nb-keysexposed/strings.xml b/kotlin/res/values-nb-keysexposed/strings.xml
similarity index 100%
rename from res/values-nb-keysexposed/strings.xml
rename to kotlin/res/values-nb-keysexposed/strings.xml
diff --git a/res/values-nb-keyshidden/strings.xml b/kotlin/res/values-nb-keyshidden/strings.xml
similarity index 100%
rename from res/values-nb-keyshidden/strings.xml
rename to kotlin/res/values-nb-keyshidden/strings.xml
diff --git a/res/values-nb/strings.xml b/kotlin/res/values-nb/strings.xml
similarity index 100%
rename from res/values-nb/strings.xml
rename to kotlin/res/values-nb/strings.xml
diff --git a/res/values-nb/strings2.xml b/kotlin/res/values-nb/strings2.xml
similarity index 100%
rename from res/values-nb/strings2.xml
rename to kotlin/res/values-nb/strings2.xml
diff --git a/res/values-nl-keysexposed/strings.xml b/kotlin/res/values-nl-keysexposed/strings.xml
similarity index 100%
rename from res/values-nl-keysexposed/strings.xml
rename to kotlin/res/values-nl-keysexposed/strings.xml
diff --git a/res/values-nl-keyshidden/strings.xml b/kotlin/res/values-nl-keyshidden/strings.xml
similarity index 100%
rename from res/values-nl-keyshidden/strings.xml
rename to kotlin/res/values-nl-keyshidden/strings.xml
diff --git a/res/values-nl/strings.xml b/kotlin/res/values-nl/strings.xml
similarity index 100%
rename from res/values-nl/strings.xml
rename to kotlin/res/values-nl/strings.xml
diff --git a/res/values-nl/strings2.xml b/kotlin/res/values-nl/strings2.xml
similarity index 100%
rename from res/values-nl/strings2.xml
rename to kotlin/res/values-nl/strings2.xml
diff --git a/res/values-pa/strings.xml b/kotlin/res/values-pa/strings.xml
similarity index 100%
rename from res/values-pa/strings.xml
rename to kotlin/res/values-pa/strings.xml
diff --git a/res/values-pl-keysexposed/strings.xml b/kotlin/res/values-pl-keysexposed/strings.xml
similarity index 100%
rename from res/values-pl-keysexposed/strings.xml
rename to kotlin/res/values-pl-keysexposed/strings.xml
diff --git a/res/values-pl-keyshidden/strings.xml b/kotlin/res/values-pl-keyshidden/strings.xml
similarity index 100%
rename from res/values-pl-keyshidden/strings.xml
rename to kotlin/res/values-pl-keyshidden/strings.xml
diff --git a/res/values-pl/strings.xml b/kotlin/res/values-pl/strings.xml
similarity index 100%
rename from res/values-pl/strings.xml
rename to kotlin/res/values-pl/strings.xml
diff --git a/res/values-pl/strings2.xml b/kotlin/res/values-pl/strings2.xml
similarity index 100%
rename from res/values-pl/strings2.xml
rename to kotlin/res/values-pl/strings2.xml
diff --git a/res/values-pt-keysexposed/strings.xml b/kotlin/res/values-pt-keysexposed/strings.xml
similarity index 100%
rename from res/values-pt-keysexposed/strings.xml
rename to kotlin/res/values-pt-keysexposed/strings.xml
diff --git a/res/values-pt-keyshidden/strings.xml b/kotlin/res/values-pt-keyshidden/strings.xml
similarity index 100%
rename from res/values-pt-keyshidden/strings.xml
rename to kotlin/res/values-pt-keyshidden/strings.xml
diff --git a/res/values-pt-rPT-keysexposed/strings.xml b/kotlin/res/values-pt-rPT-keysexposed/strings.xml
similarity index 100%
rename from res/values-pt-rPT-keysexposed/strings.xml
rename to kotlin/res/values-pt-rPT-keysexposed/strings.xml
diff --git a/res/values-pt-rPT-keyshidden/strings.xml b/kotlin/res/values-pt-rPT-keyshidden/strings.xml
similarity index 100%
rename from res/values-pt-rPT-keyshidden/strings.xml
rename to kotlin/res/values-pt-rPT-keyshidden/strings.xml
diff --git a/res/values-pt-rPT/strings.xml b/kotlin/res/values-pt-rPT/strings.xml
similarity index 100%
rename from res/values-pt-rPT/strings.xml
rename to kotlin/res/values-pt-rPT/strings.xml
diff --git a/res/values-pt-rPT/strings2.xml b/kotlin/res/values-pt-rPT/strings2.xml
similarity index 100%
rename from res/values-pt-rPT/strings2.xml
rename to kotlin/res/values-pt-rPT/strings2.xml
diff --git a/res/values-pt/strings.xml b/kotlin/res/values-pt/strings.xml
similarity index 100%
rename from res/values-pt/strings.xml
rename to kotlin/res/values-pt/strings.xml
diff --git a/res/values-pt/strings2.xml b/kotlin/res/values-pt/strings2.xml
similarity index 100%
rename from res/values-pt/strings2.xml
rename to kotlin/res/values-pt/strings2.xml
diff --git a/res/values-rm-keysexposed/strings.xml b/kotlin/res/values-rm-keysexposed/strings.xml
similarity index 100%
rename from res/values-rm-keysexposed/strings.xml
rename to kotlin/res/values-rm-keysexposed/strings.xml
diff --git a/res/values-rm-keyshidden/strings.xml b/kotlin/res/values-rm-keyshidden/strings.xml
similarity index 100%
rename from res/values-rm-keyshidden/strings.xml
rename to kotlin/res/values-rm-keyshidden/strings.xml
diff --git a/res/values-ro-keysexposed/strings.xml b/kotlin/res/values-ro-keysexposed/strings.xml
similarity index 100%
rename from res/values-ro-keysexposed/strings.xml
rename to kotlin/res/values-ro-keysexposed/strings.xml
diff --git a/res/values-ro-keyshidden/strings.xml b/kotlin/res/values-ro-keyshidden/strings.xml
similarity index 100%
rename from res/values-ro-keyshidden/strings.xml
rename to kotlin/res/values-ro-keyshidden/strings.xml
diff --git a/res/values-ro/strings.xml b/kotlin/res/values-ro/strings.xml
similarity index 100%
rename from res/values-ro/strings.xml
rename to kotlin/res/values-ro/strings.xml
diff --git a/res/values-ro/strings2.xml b/kotlin/res/values-ro/strings2.xml
similarity index 100%
rename from res/values-ro/strings2.xml
rename to kotlin/res/values-ro/strings2.xml
diff --git a/res/values-ru-keysexposed/strings.xml b/kotlin/res/values-ru-keysexposed/strings.xml
similarity index 100%
rename from res/values-ru-keysexposed/strings.xml
rename to kotlin/res/values-ru-keysexposed/strings.xml
diff --git a/res/values-ru-keyshidden/strings.xml b/kotlin/res/values-ru-keyshidden/strings.xml
similarity index 100%
rename from res/values-ru-keyshidden/strings.xml
rename to kotlin/res/values-ru-keyshidden/strings.xml
diff --git a/res/values-ru/strings.xml b/kotlin/res/values-ru/strings.xml
similarity index 100%
rename from res/values-ru/strings.xml
rename to kotlin/res/values-ru/strings.xml
diff --git a/res/values-ru/strings2.xml b/kotlin/res/values-ru/strings2.xml
similarity index 100%
rename from res/values-ru/strings2.xml
rename to kotlin/res/values-ru/strings2.xml
diff --git a/res/values-sk-keysexposed/strings.xml b/kotlin/res/values-sk-keysexposed/strings.xml
similarity index 100%
rename from res/values-sk-keysexposed/strings.xml
rename to kotlin/res/values-sk-keysexposed/strings.xml
diff --git a/res/values-sk-keyshidden/strings.xml b/kotlin/res/values-sk-keyshidden/strings.xml
similarity index 100%
rename from res/values-sk-keyshidden/strings.xml
rename to kotlin/res/values-sk-keyshidden/strings.xml
diff --git a/res/values-sk/strings.xml b/kotlin/res/values-sk/strings.xml
similarity index 100%
rename from res/values-sk/strings.xml
rename to kotlin/res/values-sk/strings.xml
diff --git a/res/values-sk/strings2.xml b/kotlin/res/values-sk/strings2.xml
similarity index 100%
rename from res/values-sk/strings2.xml
rename to kotlin/res/values-sk/strings2.xml
diff --git a/res/values-sl-keysexposed/strings.xml b/kotlin/res/values-sl-keysexposed/strings.xml
similarity index 100%
rename from res/values-sl-keysexposed/strings.xml
rename to kotlin/res/values-sl-keysexposed/strings.xml
diff --git a/res/values-sl-keyshidden/strings.xml b/kotlin/res/values-sl-keyshidden/strings.xml
similarity index 100%
rename from res/values-sl-keyshidden/strings.xml
rename to kotlin/res/values-sl-keyshidden/strings.xml
diff --git a/res/values-sl/strings.xml b/kotlin/res/values-sl/strings.xml
similarity index 100%
rename from res/values-sl/strings.xml
rename to kotlin/res/values-sl/strings.xml
diff --git a/res/values-sl/strings2.xml b/kotlin/res/values-sl/strings2.xml
similarity index 100%
rename from res/values-sl/strings2.xml
rename to kotlin/res/values-sl/strings2.xml
diff --git a/res/values-sr-keysexposed/strings.xml b/kotlin/res/values-sr-keysexposed/strings.xml
similarity index 100%
rename from res/values-sr-keysexposed/strings.xml
rename to kotlin/res/values-sr-keysexposed/strings.xml
diff --git a/res/values-sr-keyshidden/strings.xml b/kotlin/res/values-sr-keyshidden/strings.xml
similarity index 100%
rename from res/values-sr-keyshidden/strings.xml
rename to kotlin/res/values-sr-keyshidden/strings.xml
diff --git a/res/values-sr/strings.xml b/kotlin/res/values-sr/strings.xml
similarity index 100%
rename from res/values-sr/strings.xml
rename to kotlin/res/values-sr/strings.xml
diff --git a/res/values-sr/strings2.xml b/kotlin/res/values-sr/strings2.xml
similarity index 100%
rename from res/values-sr/strings2.xml
rename to kotlin/res/values-sr/strings2.xml
diff --git a/res/values-sv-keysexposed/strings.xml b/kotlin/res/values-sv-keysexposed/strings.xml
similarity index 100%
rename from res/values-sv-keysexposed/strings.xml
rename to kotlin/res/values-sv-keysexposed/strings.xml
diff --git a/res/values-sv-keyshidden/strings.xml b/kotlin/res/values-sv-keyshidden/strings.xml
similarity index 100%
rename from res/values-sv-keyshidden/strings.xml
rename to kotlin/res/values-sv-keyshidden/strings.xml
diff --git a/res/values-sv/strings.xml b/kotlin/res/values-sv/strings.xml
similarity index 100%
rename from res/values-sv/strings.xml
rename to kotlin/res/values-sv/strings.xml
diff --git a/res/values-sv/strings2.xml b/kotlin/res/values-sv/strings2.xml
similarity index 100%
rename from res/values-sv/strings2.xml
rename to kotlin/res/values-sv/strings2.xml
diff --git a/res/values-sw-keysexposed/strings.xml b/kotlin/res/values-sw-keysexposed/strings.xml
similarity index 100%
rename from res/values-sw-keysexposed/strings.xml
rename to kotlin/res/values-sw-keysexposed/strings.xml
diff --git a/res/values-sw-keyshidden/strings.xml b/kotlin/res/values-sw-keyshidden/strings.xml
similarity index 100%
rename from res/values-sw-keyshidden/strings.xml
rename to kotlin/res/values-sw-keyshidden/strings.xml
diff --git a/res/values-sw/strings.xml b/kotlin/res/values-sw/strings.xml
similarity index 100%
rename from res/values-sw/strings.xml
rename to kotlin/res/values-sw/strings.xml
diff --git a/res/values-sw/strings2.xml b/kotlin/res/values-sw/strings2.xml
similarity index 100%
rename from res/values-sw/strings2.xml
rename to kotlin/res/values-sw/strings2.xml
diff --git a/res/values-th-keysexposed/strings.xml b/kotlin/res/values-th-keysexposed/strings.xml
similarity index 100%
rename from res/values-th-keysexposed/strings.xml
rename to kotlin/res/values-th-keysexposed/strings.xml
diff --git a/res/values-th-keyshidden/strings.xml b/kotlin/res/values-th-keyshidden/strings.xml
similarity index 100%
rename from res/values-th-keyshidden/strings.xml
rename to kotlin/res/values-th-keyshidden/strings.xml
diff --git a/res/values-th/strings.xml b/kotlin/res/values-th/strings.xml
similarity index 100%
rename from res/values-th/strings.xml
rename to kotlin/res/values-th/strings.xml
diff --git a/res/values-th/strings2.xml b/kotlin/res/values-th/strings2.xml
similarity index 100%
rename from res/values-th/strings2.xml
rename to kotlin/res/values-th/strings2.xml
diff --git a/res/values-tl-keysexposed/strings.xml b/kotlin/res/values-tl-keysexposed/strings.xml
similarity index 100%
rename from res/values-tl-keysexposed/strings.xml
rename to kotlin/res/values-tl-keysexposed/strings.xml
diff --git a/res/values-tl-keyshidden/strings.xml b/kotlin/res/values-tl-keyshidden/strings.xml
similarity index 100%
rename from res/values-tl-keyshidden/strings.xml
rename to kotlin/res/values-tl-keyshidden/strings.xml
diff --git a/res/values-tl/strings.xml b/kotlin/res/values-tl/strings.xml
similarity index 100%
rename from res/values-tl/strings.xml
rename to kotlin/res/values-tl/strings.xml
diff --git a/res/values-tl/strings2.xml b/kotlin/res/values-tl/strings2.xml
similarity index 100%
rename from res/values-tl/strings2.xml
rename to kotlin/res/values-tl/strings2.xml
diff --git a/res/values-tr-keysexposed/strings.xml b/kotlin/res/values-tr-keysexposed/strings.xml
similarity index 100%
rename from res/values-tr-keysexposed/strings.xml
rename to kotlin/res/values-tr-keysexposed/strings.xml
diff --git a/res/values-tr-keyshidden/strings.xml b/kotlin/res/values-tr-keyshidden/strings.xml
similarity index 100%
rename from res/values-tr-keyshidden/strings.xml
rename to kotlin/res/values-tr-keyshidden/strings.xml
diff --git a/res/values-tr/strings.xml b/kotlin/res/values-tr/strings.xml
similarity index 100%
rename from res/values-tr/strings.xml
rename to kotlin/res/values-tr/strings.xml
diff --git a/res/values-tr/strings2.xml b/kotlin/res/values-tr/strings2.xml
similarity index 100%
rename from res/values-tr/strings2.xml
rename to kotlin/res/values-tr/strings2.xml
diff --git a/res/values-uk-keysexposed/strings.xml b/kotlin/res/values-uk-keysexposed/strings.xml
similarity index 100%
rename from res/values-uk-keysexposed/strings.xml
rename to kotlin/res/values-uk-keysexposed/strings.xml
diff --git a/res/values-uk-keyshidden/strings.xml b/kotlin/res/values-uk-keyshidden/strings.xml
similarity index 100%
rename from res/values-uk-keyshidden/strings.xml
rename to kotlin/res/values-uk-keyshidden/strings.xml
diff --git a/res/values-uk/strings.xml b/kotlin/res/values-uk/strings.xml
similarity index 100%
rename from res/values-uk/strings.xml
rename to kotlin/res/values-uk/strings.xml
diff --git a/res/values-uk/strings2.xml b/kotlin/res/values-uk/strings2.xml
similarity index 100%
rename from res/values-uk/strings2.xml
rename to kotlin/res/values-uk/strings2.xml
diff --git a/res/values-vi-keysexposed/strings.xml b/kotlin/res/values-vi-keysexposed/strings.xml
similarity index 100%
rename from res/values-vi-keysexposed/strings.xml
rename to kotlin/res/values-vi-keysexposed/strings.xml
diff --git a/res/values-vi-keyshidden/strings.xml b/kotlin/res/values-vi-keyshidden/strings.xml
similarity index 100%
rename from res/values-vi-keyshidden/strings.xml
rename to kotlin/res/values-vi-keyshidden/strings.xml
diff --git a/res/values-vi/strings.xml b/kotlin/res/values-vi/strings.xml
similarity index 100%
rename from res/values-vi/strings.xml
rename to kotlin/res/values-vi/strings.xml
diff --git a/res/values-vi/strings2.xml b/kotlin/res/values-vi/strings2.xml
similarity index 100%
rename from res/values-vi/strings2.xml
rename to kotlin/res/values-vi/strings2.xml
diff --git a/res/values-zh-rCN-keysexposed/strings.xml b/kotlin/res/values-zh-rCN-keysexposed/strings.xml
similarity index 100%
rename from res/values-zh-rCN-keysexposed/strings.xml
rename to kotlin/res/values-zh-rCN-keysexposed/strings.xml
diff --git a/res/values-zh-rCN-keyshidden/strings.xml b/kotlin/res/values-zh-rCN-keyshidden/strings.xml
similarity index 100%
rename from res/values-zh-rCN-keyshidden/strings.xml
rename to kotlin/res/values-zh-rCN-keyshidden/strings.xml
diff --git a/res/values-zh-rCN/strings.xml b/kotlin/res/values-zh-rCN/strings.xml
similarity index 100%
rename from res/values-zh-rCN/strings.xml
rename to kotlin/res/values-zh-rCN/strings.xml
diff --git a/res/values-zh-rCN/strings2.xml b/kotlin/res/values-zh-rCN/strings2.xml
similarity index 100%
rename from res/values-zh-rCN/strings2.xml
rename to kotlin/res/values-zh-rCN/strings2.xml
diff --git a/res/values-zh-rHK-keysexposed/strings.xml b/kotlin/res/values-zh-rHK-keysexposed/strings.xml
similarity index 100%
rename from res/values-zh-rHK-keysexposed/strings.xml
rename to kotlin/res/values-zh-rHK-keysexposed/strings.xml
diff --git a/res/values-zh-rHK-keyshidden/strings.xml b/kotlin/res/values-zh-rHK-keyshidden/strings.xml
similarity index 100%
rename from res/values-zh-rHK-keyshidden/strings.xml
rename to kotlin/res/values-zh-rHK-keyshidden/strings.xml
diff --git a/res/values-zh-rHK/strings.xml b/kotlin/res/values-zh-rHK/strings.xml
similarity index 100%
rename from res/values-zh-rHK/strings.xml
rename to kotlin/res/values-zh-rHK/strings.xml
diff --git a/res/values-zh-rHK/strings2.xml b/kotlin/res/values-zh-rHK/strings2.xml
similarity index 100%
rename from res/values-zh-rHK/strings2.xml
rename to kotlin/res/values-zh-rHK/strings2.xml
diff --git a/res/values-zh-rTW-keysexposed/strings.xml b/kotlin/res/values-zh-rTW-keysexposed/strings.xml
similarity index 100%
rename from res/values-zh-rTW-keysexposed/strings.xml
rename to kotlin/res/values-zh-rTW-keysexposed/strings.xml
diff --git a/res/values-zh-rTW-keyshidden/strings.xml b/kotlin/res/values-zh-rTW-keyshidden/strings.xml
similarity index 100%
rename from res/values-zh-rTW-keyshidden/strings.xml
rename to kotlin/res/values-zh-rTW-keyshidden/strings.xml
diff --git a/res/values-zh-rTW/strings.xml b/kotlin/res/values-zh-rTW/strings.xml
similarity index 100%
rename from res/values-zh-rTW/strings.xml
rename to kotlin/res/values-zh-rTW/strings.xml
diff --git a/res/values-zh-rTW/strings2.xml b/kotlin/res/values-zh-rTW/strings2.xml
similarity index 100%
rename from res/values-zh-rTW/strings2.xml
rename to kotlin/res/values-zh-rTW/strings2.xml
diff --git a/res/values-zu-keysexposed/strings.xml b/kotlin/res/values-zu-keysexposed/strings.xml
similarity index 100%
rename from res/values-zu-keysexposed/strings.xml
rename to kotlin/res/values-zu-keysexposed/strings.xml
diff --git a/res/values-zu-keyshidden/strings.xml b/kotlin/res/values-zu-keyshidden/strings.xml
similarity index 100%
rename from res/values-zu-keyshidden/strings.xml
rename to kotlin/res/values-zu-keyshidden/strings.xml
diff --git a/res/values-zu/strings.xml b/kotlin/res/values-zu/strings.xml
similarity index 100%
rename from res/values-zu/strings.xml
rename to kotlin/res/values-zu/strings.xml
diff --git a/res/values-zu/strings2.xml b/kotlin/res/values-zu/strings2.xml
similarity index 100%
rename from res/values-zu/strings2.xml
rename to kotlin/res/values-zu/strings2.xml
diff --git a/res/values/colors.xml b/kotlin/res/values/colors.xml
similarity index 100%
rename from res/values/colors.xml
rename to kotlin/res/values/colors.xml
diff --git a/res/values/dimens.xml b/kotlin/res/values/dimens.xml
similarity index 100%
rename from res/values/dimens.xml
rename to kotlin/res/values/dimens.xml
diff --git a/res/values/strings.xml b/kotlin/res/values/strings.xml
similarity index 100%
rename from res/values/strings.xml
rename to kotlin/res/values/strings.xml
diff --git a/res/values/strings2.xml b/kotlin/res/values/strings2.xml
similarity index 100%
rename from res/values/strings2.xml
rename to kotlin/res/values/strings2.xml
diff --git a/kotlin/src/com/android/music/AudioPreview.kt b/kotlin/src/com/android/music/AudioPreview.kt
new file mode 100644
index 0000000..e883b23
--- /dev/null
+++ b/kotlin/src/com/android/music/AudioPreview.kt
@@ -0,0 +1,449 @@
+/*
+ * Copyright (C) 2020 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.android.music
+
+import android.app.Activity
+import android.content.AsyncQueryHandler
+import android.content.ContentResolver
+import android.content.Context
+import android.content.Intent
+import android.database.Cursor
+import android.media.AudioManager
+import android.media.AudioManager.OnAudioFocusChangeListener
+import android.media.MediaPlayer
+import android.media.MediaPlayer.OnCompletionListener
+import android.media.MediaPlayer.OnErrorListener
+import android.media.MediaPlayer.OnPreparedListener
+import android.net.Uri
+import android.os.Bundle
+import android.os.Handler
+import android.provider.MediaStore
+import android.provider.OpenableColumns
+import android.text.TextUtils
+import android.util.Log
+import android.view.KeyEvent
+import android.view.Menu
+import android.view.MenuItem
+import android.view.View
+import android.view.Window
+import android.view.WindowManager
+import android.widget.ImageButton
+import android.widget.ProgressBar
+import android.widget.SeekBar
+import android.widget.SeekBar.OnSeekBarChangeListener
+import android.widget.TextView
+import android.widget.Toast
+import java.io.IOException
+
+/**
+ * Dialog that comes up in response to various music-related VIEW intents.
+ */
+class AudioPreview : Activity(), OnPreparedListener, OnErrorListener, OnCompletionListener {
+ private lateinit var mTextLine1: TextView
+ private lateinit var mTextLine2: TextView
+ private lateinit var mLoadingText: TextView
+ private lateinit var mSeekBar: SeekBar
+ private lateinit var mAudioManager: AudioManager
+
+ private var mPlayer: PreviewPlayer? = null
+ private var mSeeking = false
+ private var mUiPaused = true
+ private var mDuration = 0
+ private var mUri: Uri? = null
+ private var mMediaId: Long = -1
+ private var mPausedByTransientLossOfFocus = false
+
+ private val mProgressRefresher = Handler()
+
+ override fun onCreate(icicle: Bundle?) {
+ super.onCreate(icicle)
+ val intent: Intent? = getIntent()
+ if (intent == null) {
+ finish()
+ return
+ }
+ mUri = intent.getData()
+ if (mUri == null) {
+ finish()
+ return
+ }
+ val scheme: String? = mUri?.getScheme()
+ setVolumeControlStream(AudioManager.STREAM_MUSIC)
+ requestWindowFeature(Window.FEATURE_NO_TITLE)
+ setContentView(R.layout.audiopreview)
+ mTextLine1 = findViewById(R.id.line1) as TextView
+ mTextLine2 = findViewById(R.id.line2) as TextView
+ mLoadingText = findViewById(R.id.loading) as TextView
+ if (scheme == "http") {
+ val msg: String = getString(R.string.streamloadingtext, mUri!!.getHost())
+ mLoadingText.setText(msg)
+ } else {
+ mLoadingText.setVisibility(View.GONE)
+ }
+ mSeekBar = findViewById(R.id.progress) as SeekBar
+ mAudioManager = getSystemService(Context.AUDIO_SERVICE) as AudioManager
+ val player = getLastNonConfigurationInstance() as PreviewPlayer?
+ if (player == null) {
+ mPlayer = PreviewPlayer()
+ mPlayer!!.setActivity(this)
+ try {
+ mPlayer!!.setDataSourceAndPrepare(mUri!!)
+ } catch (ex: Exception) {
+ // catch generic Exception, since we may be called with a media
+ // content URI, another content provider's URI, a file URI,
+ // an http URI, and there are different exceptions associated
+ // with failure to open each of those.
+ Log.d(TAG, "Failed to open file: $ex")
+ Toast.makeText(this, R.string.playback_failed, Toast.LENGTH_SHORT).show()
+ finish()
+ return
+ }
+ } else {
+ mPlayer = player
+ mPlayer!!.setActivity(this)
+ // onResume will update the UI
+ }
+ val mAsyncQueryHandler: AsyncQueryHandler = object : AsyncQueryHandler(getContentResolver()) {
+ protected override fun onQueryComplete(token: Int, cookie: Any?, cursor: Cursor?) {
+ if (cursor != null && cursor.moveToFirst()) {
+ val titleIdx: Int = cursor.getColumnIndex(MediaStore.Audio.Media.TITLE)
+ val artistIdx: Int = cursor.getColumnIndex(MediaStore.Audio.Media.ARTIST)
+ val idIdx: Int = cursor.getColumnIndex(MediaStore.Audio.Media._ID)
+ val displaynameIdx: Int = cursor.getColumnIndex(OpenableColumns.DISPLAY_NAME)
+ if (idIdx >= 0) {
+ mMediaId = cursor.getLong(idIdx)
+ }
+ if (titleIdx >= 0) {
+ val title: String = cursor.getString(titleIdx)
+ mTextLine1.setText(title)
+ if (artistIdx >= 0) {
+ val artist: String = cursor.getString(artistIdx)
+ mTextLine2.setText(artist)
+ }
+ } else if (displaynameIdx >= 0) {
+ val name: String = cursor.getString(displaynameIdx)
+ mTextLine1.setText(name)
+ } else {
+ // Couldn't find anything to display, what to do now?
+ Log.w(TAG, "Cursor had no names for us")
+ }
+ } else {
+ Log.w(TAG, "empty cursor")
+ }
+ cursor?.let {
+ it.close()
+ }
+ setNames()
+ }
+ }
+ if (scheme == ContentResolver.SCHEME_CONTENT) {
+ if (mUri!!.getAuthority() === MediaStore.AUTHORITY) {
+ // try to get title and artist from the media content provider
+ mAsyncQueryHandler.startQuery(0, null, mUri, arrayOf<String>(MediaStore.Audio.Media.TITLE, MediaStore.Audio.Media.ARTIST),
+ null, null, null)
+ } else {
+ // Try to get the display name from another content provider.
+ // Don't specifically ask for the display name though, since the
+ // provider might not actually support that column.
+ mAsyncQueryHandler.startQuery(0, null, mUri, null, null, null, null)
+ }
+ } else if (scheme == "file") {
+ // check if this file is in the media database (clicking on a download
+ // in the download manager might follow this path
+ val path: String? = mUri?.getPath()
+ mAsyncQueryHandler.startQuery(0, null, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, arrayOf<String>(MediaStore.Audio.Media._ID, MediaStore.Audio.Media.TITLE,
+ MediaStore.Audio.Media.ARTIST), MediaStore.Audio.Media.DATA.toString() + "=?", arrayOf(path), null)
+ } else {
+ // We can't get metadata from the file/stream itself yet, because
+ // that API is hidden, so instead we display the URI being played
+ if (mPlayer!!.isPrepared) {
+ setNames()
+ }
+ }
+ }
+
+ override fun onPause() {
+ super.onPause()
+ mUiPaused = true
+ mProgressRefresher.removeCallbacksAndMessages(null)
+ }
+
+ override fun onResume() {
+ super.onResume()
+ mUiPaused = false
+ if (mPlayer!!.isPrepared) {
+ showPostPrepareUI()
+ }
+ }
+
+ override fun onRetainNonConfigurationInstance(): Any? {
+ val player = mPlayer
+ mPlayer = null
+ return player
+ }
+
+ override fun onDestroy() {
+ stopPlayback()
+ super.onDestroy()
+ }
+
+ private fun stopPlayback() {
+ mProgressRefresher.removeCallbacksAndMessages(null)
+ if (mPlayer != null) {
+ mPlayer?.release()
+ mPlayer = null
+ mAudioManager.abandonAudioFocus(mAudioFocusListener)
+ }
+ }
+
+ override fun onUserLeaveHint() {
+ stopPlayback()
+ finish()
+ super.onUserLeaveHint()
+ }
+
+ override fun onPrepared(mp: MediaPlayer?) {
+ if (isFinishing()) return
+ mPlayer = mp as PreviewPlayer
+ setNames()
+ mPlayer?.start()
+ showPostPrepareUI()
+ }
+
+ private fun showPostPrepareUI() {
+ val pb: ProgressBar = findViewById(R.id.spinner) as ProgressBar
+ pb.setVisibility(View.GONE)
+ mDuration = mPlayer!!.getDuration()
+ if (mDuration != 0) {
+ mSeekBar.setMax(mDuration)
+ mSeekBar.setVisibility(View.VISIBLE)
+ if (!mSeeking) {
+ mSeekBar.setProgress(mPlayer!!.getCurrentPosition())
+ }
+ }
+ mSeekBar.setOnSeekBarChangeListener(mSeekListener)
+ mLoadingText.setVisibility(View.GONE)
+ val v: View = findViewById(R.id.titleandbuttons)
+ v.setVisibility(View.VISIBLE)
+ mAudioManager.requestAudioFocus(mAudioFocusListener, AudioManager.STREAM_MUSIC,
+ AudioManager.AUDIOFOCUS_GAIN_TRANSIENT)
+ mProgressRefresher.removeCallbacksAndMessages(null)
+ mProgressRefresher.postDelayed(ProgressRefresher(), 200)
+ updatePlayPause()
+ }
+
+ private val mAudioFocusListener: OnAudioFocusChangeListener = object : OnAudioFocusChangeListener {
+ override fun onAudioFocusChange(focusChange: Int) {
+ if (mPlayer == null) {
+ // this activity has handed its MediaPlayer off to the next activity
+ // (e.g. portrait/landscape switch) and should abandon its focus
+ mAudioManager.abandonAudioFocus(this)
+ return
+ }
+ when (focusChange) {
+ AudioManager.AUDIOFOCUS_LOSS -> {
+ mPausedByTransientLossOfFocus = false
+ mPlayer?.pause()
+ }
+ AudioManager.AUDIOFOCUS_LOSS_TRANSIENT, AudioManager.AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK -> if (mPlayer!!.isPlaying()) {
+ mPausedByTransientLossOfFocus = true
+ mPlayer?.pause()
+ }
+ AudioManager.AUDIOFOCUS_GAIN -> if (mPausedByTransientLossOfFocus) {
+ mPausedByTransientLossOfFocus = false
+ start()
+ }
+ }
+ updatePlayPause()
+ }
+ }
+
+ private fun start() {
+ mAudioManager.requestAudioFocus(mAudioFocusListener, AudioManager.STREAM_MUSIC,
+ AudioManager.AUDIOFOCUS_GAIN_TRANSIENT)
+ mPlayer?.start()
+ mProgressRefresher.postDelayed(ProgressRefresher(), 200)
+ }
+
+ private fun setNames() {
+ if (TextUtils.isEmpty(mTextLine1.getText())) {
+ mTextLine1.setText(mUri!!.getLastPathSegment())
+ }
+ if (TextUtils.isEmpty(mTextLine2.getText())) {
+ mTextLine2.setVisibility(View.GONE)
+ } else {
+ mTextLine2.setVisibility(View.VISIBLE)
+ }
+ }
+
+ internal inner class ProgressRefresher : Runnable {
+ override fun run() {
+ if (mPlayer != null && !mSeeking && mDuration != 0) {
+ mSeekBar.setProgress(mPlayer!!.getCurrentPosition())
+ }
+ mProgressRefresher.removeCallbacksAndMessages(null)
+ if (!mUiPaused) {
+ mProgressRefresher.postDelayed(ProgressRefresher(), 200)
+ }
+ }
+ }
+
+ private fun updatePlayPause() {
+ val b: ImageButton? = findViewById(R.id.playpause) as ImageButton?
+ if (b != null && mPlayer != null) {
+ if (mPlayer!!.isPlaying()) {
+ b.setImageResource(R.drawable.btn_playback_ic_pause_small)
+ } else {
+ b.setImageResource(R.drawable.btn_playback_ic_play_small)
+ mProgressRefresher.removeCallbacksAndMessages(null)
+ }
+ }
+ }
+
+ private val mSeekListener: OnSeekBarChangeListener = object : OnSeekBarChangeListener {
+ override fun onStartTrackingTouch(bar: SeekBar?) {
+ mSeeking = true
+ }
+
+ override fun onProgressChanged(bar: SeekBar?, progress: Int, fromuser: Boolean) {
+ if (!fromuser) {
+ return
+ }
+ // Protection for case of simultaneously tapping on seek bar and exit
+ mPlayer?.let{
+ it.seekTo(progress)
+ }
+ }
+
+ override fun onStopTrackingTouch(bar: SeekBar?) {
+ mSeeking = false
+ }
+ }
+
+ override fun onError(mp: MediaPlayer?, what: Int, extra: Int): Boolean {
+ Toast.makeText(this, R.string.playback_failed, Toast.LENGTH_SHORT).show()
+ finish()
+ return true
+ }
+
+ override fun onCompletion(mp: MediaPlayer?) {
+ mSeekBar.setProgress(mDuration)
+ updatePlayPause()
+ }
+
+ fun playPauseClicked(v: View?) {
+ // Protection for case of simultaneously tapping on play/pause and exit
+ mPlayer?.let {
+ if (it.isPlaying()) {
+ it.pause()
+ } else {
+ start()
+ }
+ updatePlayPause()
+ }
+ }
+
+ override fun onCreateOptionsMenu(menu: Menu): Boolean {
+ super.onCreateOptionsMenu(menu)
+ // TODO: if mMediaId != -1, then the playing file has an entry in the media
+ // database, and we could open it in the full music app instead.
+ // Ideally, we would hand off the currently running mediaplayer
+ // to the music UI, which can probably be done via a public static
+ menu.add(0, OPEN_IN_MUSIC, 0, "open in music")
+ return true
+ }
+
+ override fun onPrepareOptionsMenu(menu: Menu): Boolean {
+ val item: MenuItem = menu.findItem(OPEN_IN_MUSIC)
+ if (mMediaId >= 0) {
+ item.setVisible(true)
+ return true
+ }
+ item.setVisible(false)
+ return false
+ }
+
+ override fun onKeyDown(keyCode: Int, event: KeyEvent?): Boolean {
+ when (keyCode) {
+ KeyEvent.KEYCODE_HEADSETHOOK, KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE -> {
+ if (mPlayer!!.isPlaying()) {
+ mPlayer?.pause()
+ } else {
+ start()
+ }
+ updatePlayPause()
+ return true
+ }
+ KeyEvent.KEYCODE_MEDIA_PLAY -> {
+ start()
+ updatePlayPause()
+ return true
+ }
+ KeyEvent.KEYCODE_MEDIA_PAUSE -> {
+ if (mPlayer!!.isPlaying()) {
+ mPlayer?.pause()
+ }
+ updatePlayPause()
+ return true
+ }
+ KeyEvent.KEYCODE_MEDIA_FAST_FORWARD,
+ KeyEvent.KEYCODE_MEDIA_NEXT,
+ KeyEvent.KEYCODE_MEDIA_PREVIOUS,
+ KeyEvent.KEYCODE_MEDIA_REWIND -> return true
+ KeyEvent.KEYCODE_MEDIA_STOP, KeyEvent.KEYCODE_BACK -> {
+ stopPlayback()
+ finish()
+ return true
+ }
+ else -> return super.onKeyDown(keyCode, event)
+ }
+ }
+
+ /*
+ * Wrapper class to help with handing off the MediaPlayer to the next instance
+ * of the activity in case of orientation change, without losing any state.
+ */
+ private class PreviewPlayer : MediaPlayer(), OnPreparedListener {
+ private lateinit var mActivity: AudioPreview
+ var isPrepared = false
+
+ fun setActivity(activity: AudioPreview) {
+ mActivity = activity
+ setOnPreparedListener(this)
+ setOnErrorListener(mActivity)
+ setOnCompletionListener(mActivity)
+ }
+
+ @Throws(IllegalArgumentException::class, SecurityException::class, IllegalStateException::class, IOException::class)
+ fun setDataSourceAndPrepare(uri: Uri) {
+ setDataSource(mActivity, uri)
+ prepareAsync()
+ }
+
+ /* (non-Javadoc)
+ * @see android.media.MediaPlayer.OnPreparedListener#onPrepared(android.media.MediaPlayer)
+ */
+ override fun onPrepared(mp: MediaPlayer?) {
+ isPrepared = true
+ mActivity.onPrepared(mp)
+ }
+ }
+
+ companion object {
+ private const val TAG = "AudioPreview"
+ private const val OPEN_IN_MUSIC = 1
+ }
+}
\ No newline at end of file
diff --git a/kotlin/src/com/android/music/MediaPlaybackService.kt b/kotlin/src/com/android/music/MediaPlaybackService.kt
new file mode 100644
index 0000000..c7df9ec
--- /dev/null
+++ b/kotlin/src/com/android/music/MediaPlaybackService.kt
@@ -0,0 +1,91 @@
+/*
+ * Copyright (C) 2020 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.android.music
+
+import android.app.PendingIntent
+import android.content.Context
+import android.content.Intent
+import android.media.browse.MediaBrowser.MediaItem
+import android.media.session.MediaSession
+import android.media.session.PlaybackState
+import android.os.Bundle
+import android.service.media.MediaBrowserService
+import android.util.Log
+
+/**
+ * Provides "background" audio playback capabilities, allowing the
+ * user to switch between activities without stopping playback.
+ */
+class MediaPlaybackService : MediaBrowserService() {
+
+ private lateinit var mSession: MediaSession
+
+ override fun onCreate() {
+ super.onCreate()
+
+ // Start a new MediaSession
+ mSession = MediaSession(this, "MediaPlaybackService")
+ // Enable callbacks from MediaButtons and TransportControls
+ mSession.setFlags(MediaSession.FLAG_HANDLES_MEDIA_BUTTONS
+ or MediaSession.FLAG_HANDLES_TRANSPORT_CONTROLS)
+ // Set an initial PlaybackState with ACTION_PLAY, so media buttons can start the player
+ val stateBuilder: PlaybackState.Builder = PlaybackState.Builder().setActions(
+ PlaybackState.ACTION_PLAY or PlaybackState.ACTION_PLAY_PAUSE)
+ mSession.setPlaybackState(stateBuilder.build())
+ setSessionToken(mSession.getSessionToken())
+ val context: Context = getApplicationContext()
+ val intent = Intent(context, MusicBrowserActivity::class.java)
+ val pi: PendingIntent = PendingIntent.getActivity(
+ context, 99 /*request code*/, intent, PendingIntent.FLAG_UPDATE_CURRENT)
+ mSession.setSessionActivity(pi)
+ }
+
+ override fun onStartCommand(startIntent: Intent?, flags: Int, startId: Int): Int {
+ return START_STICKY
+ }
+
+ override fun onDestroy() {}
+
+ override fun onGetRoot(clientPackageName: String, clientUid: Int, rootHints: Bundle?): BrowserRoot? {
+ return null
+ }
+
+ override fun onLoadChildren(parentMediaId: String, result: Result<List<MediaItem>>) {
+ result.sendResult(null)
+ }
+
+ private inner class MediaSessionCallback : MediaSession.Callback() {
+ override fun onPlay() {}
+
+ override fun onSkipToQueueItem(queueId: Long) {}
+
+ override fun onSeekTo(position: Long) {}
+
+ override fun onPlayFromMediaId(mediaId: String?, extras: Bundle?) {}
+
+ override fun onPause() {}
+
+ override fun onStop() {}
+
+ override fun onSkipToNext() {}
+
+ override fun onSkipToPrevious() {}
+
+ override fun onPlayFromSearch(query: String?, extras: Bundle?) {}
+
+ override fun onCustomAction(action: String, extras: Bundle?) {}
+ }
+}
\ No newline at end of file
diff --git a/kotlin/src/com/android/music/MusicBrowserActivity.kt b/kotlin/src/com/android/music/MusicBrowserActivity.kt
new file mode 100644
index 0000000..458615c
--- /dev/null
+++ b/kotlin/src/com/android/music/MusicBrowserActivity.kt
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2020 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.android.music
+
+import android.app.Activity
+import android.os.Bundle
+
+/**
+ * A skeleton class that provides empty implementations for Activity class.
+ */
+class MusicBrowserActivity : Activity() {
+ override fun onCreate(icicle: Bundle?) {}
+
+ override fun onDestroy() {}
+
+ override fun onRequestPermissionsResult(
+ requestCode: Int, permissions: Array<String>, grantResults: IntArray) {
+ }
+}
\ No newline at end of file
diff --git a/kotlin/src/com/android/music/MusicPicker.kt b/kotlin/src/com/android/music/MusicPicker.kt
new file mode 100644
index 0000000..2a265ff
--- /dev/null
+++ b/kotlin/src/com/android/music/MusicPicker.kt
@@ -0,0 +1,80 @@
+/*
+ * Copyright (C) 2020 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.android.music
+
+import android.app.ListActivity
+import android.content.Intent
+import android.net.Uri
+import android.os.Bundle
+import android.provider.MediaStore
+import android.util.Log
+import android.view.Menu
+import android.view.MenuItem
+import android.view.View
+import android.widget.ListView
+
+/**
+ * A placeholder class to handle android.intent.action.PICK Intent.
+ */
+class MusicPicker : ListActivity(), View.OnClickListener {
+ /** Uri to the directory of all music being displayed. */
+ var mBaseUri: Uri? = null
+
+ /** Called when the activity is first created. */
+ override fun onCreate(icicle: Bundle?) {
+ super.onCreate(icicle)
+ mBaseUri = if (Intent.ACTION_GET_CONTENT.equals(getIntent().getAction())) {
+ MediaStore.Audio.Media.EXTERNAL_CONTENT_URI
+ } else {
+ getIntent().getData()
+ }
+ Log.w("MusicPicker", "Doesn't handle for data URI given to PICK action")
+ }
+
+ override fun onRestart() {
+ super.onRestart()
+ }
+
+ override fun onOptionsItemSelected(item: MenuItem): Boolean {
+ return super.onOptionsItemSelected(item)
+ }
+
+ override fun onCreateOptionsMenu(menu: Menu?): Boolean {
+ super.onCreateOptionsMenu(menu)
+ return true
+ }
+
+ protected override fun onSaveInstanceState(icicle: Bundle) {
+ super.onSaveInstanceState(icicle)
+ }
+
+ override fun onPause() {
+ super.onPause()
+ }
+
+ override fun onStop() {
+ super.onStop()
+ }
+
+ protected override fun onListItemClick(l: ListView?, v: View?, position: Int, id: Long) {}
+
+ override fun onClick(v: View?) {}
+
+ companion object {
+ const val DBG = false
+ const val TAG = "MusicPicker"
+ }
+}
\ No newline at end of file
diff --git a/src/com/android/music/MusicPicker.java b/src/com/android/music/MusicPicker.java
index 3a227cd..547b9ba 100644
--- a/src/com/android/music/MusicPicker.java
+++ b/src/com/android/music/MusicPicker.java
@@ -17,41 +17,18 @@
package com.android.music;
import android.app.ListActivity;
-import android.content.AsyncQueryHandler;
-import android.content.ContentUris;
-import android.content.Context;
import android.content.Intent;
-import android.database.CharArrayBuffer;
-import android.database.Cursor;
-import android.media.AudioManager;
-import android.media.MediaPlayer;
-import android.media.RingtoneManager;
import android.net.Uri;
import android.os.Bundle;
-import android.os.Parcelable;
import android.provider.MediaStore;
-import android.text.TextUtils;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
-import android.view.ViewGroup;
-import android.view.Window;
-import android.view.animation.AnimationUtils;
-import android.widget.ImageView;
import android.widget.ListView;
-import android.widget.RadioButton;
-import android.widget.SectionIndexer;
-import android.widget.SimpleCursorAdapter;
-import android.widget.TextView;
-
-import java.io.IOException;
-import java.text.Collator;
-import java.util.Formatter;
-import java.util.Locale;
/**
- * A dummy class to handle android.intent.action.PICK Intent.
+ * A placeholder class to handle android.intent.action.PICK Intent.
*/
public class MusicPicker extends ListActivity implements View.OnClickListener {
static final boolean DBG = false;