Skip to content

Commit

Permalink
Dev commit
Browse files Browse the repository at this point in the history
  • Loading branch information
BharathVishal committed Feb 19, 2023
1 parent f301fa5 commit a56bc8f
Show file tree
Hide file tree
Showing 7 changed files with 68 additions and 49 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ android {
jvmTarget = "11"
}
composeOptions {
kotlinCompilerExtensionVersion "1.3.2"
kotlinCompilerExtensionVersion "1.4.2"
}
packagingOptions {
resources {
Expand All @@ -45,7 +45,7 @@ android {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.6.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
implementation 'com.google.android.material:material:1.9.0-alpha01'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
package androidbatterystats.bharathvishal.com.androidbatterystats.activities

import android.annotation.SuppressLint
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import android.os.BatteryManager
import android.os.Build
import android.os.Bundle
import androidbatterystats.bharathvishal.com.androidbatterystats.constants.Constants
import androidbatterystats.bharathvishal.com.androidbatterystats.databinding.ActivityMainBinding
import androidx.appcompat.app.AppCompatActivity
import com.google.android.material.color.DynamicColors

/**
*
* Copyright 2018-2023 Bharath Vishal G.
Expand All @@ -31,6 +16,22 @@ import com.google.android.material.color.DynamicColors
*
**/


package androidbatterystats.bharathvishal.com.androidbatterystats.activities

import android.annotation.SuppressLint
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import android.os.BatteryManager
import android.os.Build
import android.os.Bundle
import androidbatterystats.bharathvishal.com.androidbatterystats.constants.Constants
import androidbatterystats.bharathvishal.com.androidbatterystats.databinding.ActivityMainBinding
import androidx.appcompat.app.AppCompatActivity
import com.google.android.material.color.DynamicColors

/*
* Created by Bharath Vishal on 20-01-2018.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/**
*
* Copyright 2018-2023 Bharath Vishal G.
*
* 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 androidbatterystats.bharathvishal.com.androidbatterystats.activities

import android.annotation.SuppressLint
Expand Down Expand Up @@ -27,24 +45,6 @@ import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import com.google.android.material.color.DynamicColors

/**
*
* Copyright 2018-2023 Bharath Vishal G.
*
* 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.
*
**/

class MainActivityCompose : ComponentActivity() {
private lateinit var activityContext: Context

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
package androidbatterystats.bharathvishal.com.androidbatterystats.activities

import android.annotation.SuppressLint
import android.content.Context
import android.content.Intent
import android.os.Build
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen

/**
*
* Copyright 2018-2023 Bharath Vishal G.
Expand All @@ -26,6 +16,16 @@ import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen
*
**/

package androidbatterystats.bharathvishal.com.androidbatterystats.activities

import android.annotation.SuppressLint
import android.content.Context
import android.content.Intent
import android.os.Build
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen

class SplashActivity : AppCompatActivity() {
private var actvityContext: Context? = null

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/**
*
* Copyright 2018-2023 Bharath Vishal G.
*
* 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 androidbatterystats.bharathvishal.com.androidbatterystats.application

import android.app.Application
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
package androidbatterystats.bharathvishal.com.androidbatterystats.constants


/**
*
* Copyright 2018-2023 Bharath Vishal G.
Expand All @@ -19,6 +16,8 @@ package androidbatterystats.bharathvishal.com.androidbatterystats.constants
*
**/

package androidbatterystats.bharathvishal.com.androidbatterystats.constants

/*
* Created by Bharath Vishal on 20-01-2018.
*/
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext.kotlin_version = '1.7.21'
ext.kotlin_version = '1.8.10'
repositories {
google()
mavenCentral()
Expand Down

0 comments on commit a56bc8f

Please sign in to comment.