- Update to SDK 28
This commit is contained in:
parent
c27ecd713e
commit
2552d13382
@ -1,13 +1,13 @@
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
android {
|
||||
compileSdkVersion 27
|
||||
compileSdkVersion 28
|
||||
defaultConfig {
|
||||
applicationId "net.schueller.peertube"
|
||||
minSdkVersion 23
|
||||
targetSdkVersion 27
|
||||
versionCode 100
|
||||
versionName "1.0.0"
|
||||
targetSdkVersion 28
|
||||
versionCode 101
|
||||
versionName "1.0.1"
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
buildTypes {
|
||||
@ -20,14 +20,18 @@ android {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
applicationVariants.all { variant ->
|
||||
variant.resValue "string", "versionName", variant.versionName
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
|
||||
implementation 'com.android.support:appcompat-v7:27.1.1'
|
||||
implementation 'com.android.support:cardview-v7:27.1.1'
|
||||
implementation 'com.android.support:recyclerview-v7:27.1.1'
|
||||
implementation 'com.android.support:appcompat-v7:28.0.0'
|
||||
implementation 'com.android.support:cardview-v7:28.0.0'
|
||||
implementation 'com.android.support:recyclerview-v7:28.0.0'
|
||||
|
||||
implementation 'com.google.android.gms:play-services-auth:16.0.1'
|
||||
|
||||
@ -39,7 +43,7 @@ dependencies {
|
||||
implementation 'com.google.code.gson:gson:2.8.2'
|
||||
|
||||
// implementation 'org.webrtc:google-webrtc:1.0.+'
|
||||
implementation 'com.android.support:design:27.1.1'
|
||||
implementation 'com.android.support:design:28.0.0'
|
||||
|
||||
implementation 'com.blackboardtheory:android-iconify-fontawesome:3.0.1-SNAPSHOT'
|
||||
|
||||
@ -50,7 +54,7 @@ dependencies {
|
||||
|
||||
implementation 'de.hdodenhof:circleimageview:2.2.0'
|
||||
|
||||
implementation 'com.android.support:support-v4:27.1.1'
|
||||
implementation 'com.android.support:support-v4:28.0.0'
|
||||
testImplementation 'junit:junit:4.12'
|
||||
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
||||
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
||||
|
@ -248,7 +248,7 @@ public class VideoListActivity extends AppCompatActivity {
|
||||
|
||||
/*Log the URL called*/
|
||||
Log.d("URL Called", call.request().url() + "");
|
||||
Toast.makeText(VideoListActivity.this, "URL Called: " + call.request().url(), Toast.LENGTH_SHORT).show();
|
||||
// Toast.makeText(VideoListActivity.this, "URL Called: " + call.request().url(), Toast.LENGTH_SHORT).show();
|
||||
|
||||
call.enqueue(new Callback<VideoList>() {
|
||||
@Override
|
||||
|
@ -20,7 +20,7 @@ public class BottomNavigationViewHelper {
|
||||
for (int i = 0; i < menuView.getChildCount(); i++) {
|
||||
BottomNavigationItemView item = (BottomNavigationItemView) menuView.getChildAt(i);
|
||||
//noinspection RestrictedApi
|
||||
item.setShiftingMode(false);
|
||||
//item.setShiftingMode(false);
|
||||
// set once again checked value, so view will be updated
|
||||
//noinspection RestrictedApi
|
||||
item.setChecked(item.getItemData().isChecked());
|
||||
|
@ -39,7 +39,7 @@
|
||||
|
||||
<android.support.design.widget.BottomNavigationView
|
||||
android:id="@+id/navigation"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="0dp"
|
||||
android:layout_marginStart="0dp"
|
||||
|
@ -53,5 +53,6 @@
|
||||
<string name="pref_description_torrent_player">Videos playback via a torrent stream</string>
|
||||
<string name="pref_title_license">License</string>
|
||||
<string name="pref_description_license">\n<b>GNU Affero General Public License v3.0</b>\n\nPermissions of this strongest copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.</string>
|
||||
<string name="pref_title_version">Version</string>
|
||||
|
||||
</resources>
|
||||
|
@ -22,6 +22,10 @@
|
||||
android:summary="@string/pref_description_torrent_player"
|
||||
android:defaultValue="false" />
|
||||
|
||||
<Preference
|
||||
android:title="@string/pref_title_version"
|
||||
android:summary="@string/versionName" />
|
||||
|
||||
<Preference
|
||||
android:title="@string/pref_title_license"
|
||||
android:summary="@string/pref_description_license" />
|
||||
|
Loading…
Reference in New Issue
Block a user