Skip to content

Commit 3448658

Browse files
committed
Severity "error"
1 parent c8a4333 commit 3448658

File tree

11 files changed

+34
-17
lines changed

11 files changed

+34
-17
lines changed

blackboard/app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ dependencies {
5757
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
5858
exclude group: 'com.android.support', module: 'support-annotations'
5959
})
60-
compile 'com.android.support:appcompat-v7:25.3.1'
60+
compile 'com.android.support:appcompat-v7:28.0.0'
6161
compile 'com.android.support.constraint:constraint-layout:1.0.2'
6262
testCompile 'junit:junit:4.12'
6363
}

drum/app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ dependencies {
5757
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
5858
exclude group: 'com.android.support', module: 'support-annotations'
5959
})
60-
compile 'com.android.support:appcompat-v7:25.3.1'
60+
compile 'com.android.support:appcompat-v7:28.0.0'
6161
compile 'com.android.support.constraint:constraint-layout:1.0.2'
6262
testCompile 'junit:junit:4.12'
6363
}

kitkitschoollogger/kitkitlogger/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ android {
77
buildToolsVersion "28.0.3"
88

99
defaultConfig {
10-
minSdkVersion 16
10+
minSdkVersion 17
1111
targetSdkVersion 28
1212
versionCode 1
1313
versionName "1.0"
@@ -35,7 +35,7 @@ dependencies {
3535
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
3636
exclude group: 'com.android.support', module: 'support-annotations'
3737
})
38-
compile 'com.android.support:appcompat-v7:25.1.0'
38+
compile 'com.android.support:appcompat-v7:28.0.0'
3939
testCompile 'junit:junit:4.12'
4040
}
4141

launcher/app/build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ android {
44
compileSdkVersion 28
55
buildToolsVersion '28.0.3'
66
defaultConfig {
7-
minSdkVersion 16
7+
minSdkVersion 17
88
targetSdkVersion 28
99

1010
applicationId "com.maq.xprize.kitkitlauncher.hindi"
@@ -75,8 +75,8 @@ dependencies {
7575
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
7676
exclude group: 'com.android.support', module: 'support-annotations'
7777
})
78-
compile 'com.android.support:appcompat-v7:25.1.0'
79-
compile 'com.android.support:design:25.1.0'
78+
compile 'com.android.support:appcompat-v7:28.0.0'
79+
compile 'com.android.support:design:28.0.0'
8080
compile 'com.android.support.constraint:constraint-layout:1.0.2'
8181
// compile 'com.jakewharton.timber:timber:4.6.0'
8282
testCompile 'junit:junit:4.12'
@@ -85,7 +85,7 @@ dependencies {
8585
compile files('libs/commons-io-2.5.jar')
8686
compile 'org.apmem.tools:layouts:1.10@aar'
8787
compile project(':kitkitlogger')
88-
compile "com.android.support:appcompat-v7:25.0.+"
88+
compile "com.android.support:appcompat-v7:28.0.0"
8989
//englishCompile project(path: ':kitkitlogger', configuration: 'englishRelease')
9090
//swahiliCompile project(path: ':kitkitlogger', configuration: 'swahiliRelease')
9191
}

launcher/app/src/main/java/com/maq/xprize/kitkitlauncher/hindi/ToolsAppView.java

+3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
import android.content.Context;
44
import android.graphics.Typeface;
5+
import android.os.Build;
56
import android.support.annotation.Nullable;
7+
import android.support.annotation.RequiresApi;
68
import android.support.v4.content.ContextCompat;
79
import android.util.AttributeSet;
810
import android.util.TypedValue;
@@ -46,6 +48,7 @@ public ToolsAppView(Context context, @Nullable AttributeSet attrs, int defStyleA
4648
init(context);
4749
}
4850

51+
@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
4952
public ToolsAppView(Context context, @Nullable AttributeSet attrs, int defStyleAttr, int defStyleRes) {
5053
super(context, attrs, defStyleAttr, defStyleRes);
5154
init(context);

library/app/build.gradle

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ android {
55
buildToolsVersion '28.0.3'
66
defaultConfig {
77
applicationId "com.maq.xprize.kitkitlibrary.english"
8-
minSdkVersion 16
8+
minSdkVersion 17
99
targetSdkVersion 28
1010
versionCode 5
1111
versionName "1.1.0"
@@ -106,10 +106,10 @@ dependencies {
106106
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
107107
exclude group: 'com.android.support', module: 'support-annotations'
108108
})
109-
compile 'com.android.support:support-v13:25.1.0'
110-
compile 'com.android.support:appcompat-v7:25.1.0'
111-
compile 'com.android.support:percent:25.1.0'
112-
compile 'com.android.support:design:25.1.0'
109+
compile 'com.android.support:support-v13:28.0.0'
110+
compile 'com.android.support:appcompat-v7:28.0.0'
111+
compile 'com.android.support:percent:28.0.0'
112+
compile 'com.android.support:design:28.0.0'
113113
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
114114
testCompile 'junit:junit:4.12'
115115
compile project(':kitkitlogger')

library/app/src/main/java/com/maq/xprize/kitkitlibrary/english/BookDetailActivity.java

+3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
package com.maq.xprize.kitkitlibrary.english;
22

33
import android.annotation.SuppressLint;
4+
import android.os.Build;
45
import android.os.Bundle;
6+
import android.support.annotation.RequiresApi;
57
import android.view.View;
68

79
import com.maq.kitkitlogger.KitKitLoggerActivity;
@@ -10,6 +12,7 @@
1012
*/
1113

1214
public class BookDetailActivity extends KitKitLoggerActivity {
15+
@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
1316
@Override
1417
protected void onCreate(Bundle savedInstanceState) {
1518
super.onCreate(savedInstanceState);

library/app/src/main/java/com/maq/xprize/kitkitlibrary/english/MainActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ public int getCount() {
583583

584584
}
585585

586-
public static class VideoAdapter extends RecyclerView.Adapter<VideoAdapter.ViewHolder> {
586+
public static class VideoAdapter extends RecyclerView.Adapter<VideoAdapter.ViewHolder> implements com.maq.xprize.kitkitlibrary.english.VideoAdapter {
587587
private Activity mActivity;
588588
private ArrayList<VideoData> mItems;
589589

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package com.maq.xprize.kitkitlibrary.english;
2+
3+
import android.view.ViewGroup;
4+
5+
interface VideoAdapter {
6+
MainActivity.VideoAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType);
7+
8+
void onBindViewHolder(MainActivity.VideoAdapter.ViewHolder holder, int position);
9+
10+
int getItemCount();
11+
}

marimba/app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ android {
4646
}
4747
}
4848
}
49-
49+
5050
lintOptions {
5151
abortOnError false
5252
}
@@ -57,7 +57,7 @@ dependencies {
5757
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
5858
exclude group: 'com.android.support', module: 'support-annotations'
5959
})
60-
compile 'com.android.support:appcompat-v7:25.3.1'
60+
compile 'com.android.support:appcompat-v7:28.0.0'
6161
compile 'com.android.support.constraint:constraint-layout:1.0.2'
6262
testCompile 'junit:junit:4.12'
6363
}

writingboard/app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ dependencies {
5656
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
5757
exclude group: 'com.android.support', module: 'support-annotations'
5858
})
59-
compile 'com.android.support:appcompat-v7:25.3.1'
59+
compile 'com.android.support:appcompat-v7:28.0.0'
6060
compile 'com.android.support.constraint:constraint-layout:1.0.2'
6161
testCompile 'junit:junit:4.12'
6262
compile project(':kitkitlogger')

0 commit comments

Comments
 (0)