Skip to content

Commit 82bac64

Browse files
committed
Updated kotlin version and dependencies
1 parent 1c2fb5e commit 82bac64

File tree

3 files changed

+20
-15
lines changed

3 files changed

+20
-15
lines changed

app/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ dependencies {
2929
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
3030
implementation 'androidx.appcompat:appcompat:1.1.0'
3131
implementation 'androidx.core:core-ktx:1.1.0'
32-
api 'com.google.dagger:dagger:2.0'
33-
annotationProcessor 'com.google.dagger:dagger-compiler:2.0'
34-
testImplementation 'junit:junit:4.12'
32+
api 'com.google.dagger:dagger:2.25.4'
33+
annotationProcessor 'com.google.dagger:dagger-compiler:2.25.4'
34+
testImplementation 'junit:junit:4.13'
3535
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
3636
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
3737
}

app/src/main/AndroidManifest.xml

+15-9
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
package="com.litekite.systemui"
55
android:sharedUserId="android.uid.systemui">
66

7+
<!-- Using OpenGL ES 2.0 -->
8+
<uses-feature
9+
android:glEsVersion="0x00020000"
10+
android:required="true" />
11+
712
<!-- SysUI must be the one to define this permission; its name is
813
referenced by the core OS. -->
914
<permission
@@ -362,15 +367,6 @@
362367
android:name="android.permission.WATCH_APPOPS"
363368
tools:ignore="ProtectedPermissions" />
364369

365-
<!-- to read and change hvac values in a car -->
366-
<uses-permission android:name="android.car.permission.CONTROL_CAR_CLIMATE" />
367-
368-
<!-- to be able to detect the driving state in a car-->
369-
<uses-permission android:name="android.car.permission.CAR_DRIVING_STATE" />
370-
371-
<!-- Permission necessary to change car audio volume through CarAudioManager -->
372-
<uses-permission android:name="android.car.permission.CAR_CONTROL_AUDIO_VOLUME" />
373-
374370
<!-- Permission to control Android Debug Bridge (ADB) -->
375371
<uses-permission android:name="android.permission.MANAGE_DEBUGGING" />
376372

@@ -381,6 +377,16 @@
381377
<!-- Permission to change the display color -->
382378
<uses-permission android:name="android.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS" />
383379

380+
<!-- Automotive Permissions -->
381+
<!-- to read and change hvac values in a car -->
382+
<uses-permission android:name="android.car.permission.CONTROL_CAR_CLIMATE" />
383+
384+
<!-- to be able to detect the driving state in a car-->
385+
<uses-permission android:name="android.car.permission.CAR_DRIVING_STATE" />
386+
387+
<!-- Permission necessary to change car audio volume through CarAudioManager -->
388+
<uses-permission android:name="android.car.permission.CAR_CONTROL_AUDIO_VOLUME" />
389+
384390
<!-- This permission is required to monitor car power state. -->
385391
<uses-permission android:name="android.car.permission.CAR_POWER" />
386392

build.gradle

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4-
ext.kotlin_version = '1.3.50'
4+
ext.kotlin_version = '1.3.61'
55
repositories {
66
google()
77
jcenter()
8-
98
}
109
dependencies {
1110
classpath 'com.android.tools.build:gradle:3.5.3'
@@ -25,4 +24,4 @@ allprojects {
2524

2625
task clean(type: Delete) {
2726
delete rootProject.buildDir
28-
}
27+
}

0 commit comments

Comments
 (0)