Skip to content

Commit

Permalink
Merge pull request #23 from idealclover/dev
Browse files Browse the repository at this point in the history
v0.2.1.5
  • Loading branch information
idealclover authored Feb 23, 2019
2 parents 93cbf74 + 6ae0e66 commit d5039fd
Show file tree
Hide file tree
Showing 101 changed files with 488 additions and 792 deletions.
17 changes: 9 additions & 8 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 27
compileSdkVersion 28
defaultConfig {
// applicationId "com.idealclover.njuclassschedule"
applicationId "com.idealclover.wheretosleepinnju"
applicationId "com.lilystudio.wheretosleepinnju"
minSdkVersion 21
targetSdkVersion 27
versionCode 3
versionName "0.2.0"
targetSdkVersion 28
versionCode 4
versionName "0.2.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand All @@ -35,13 +34,15 @@ dependencies {
exclude group: 'com.android.support', module: 'support-annotations'
})
testImplementation 'junit:junit:4.12'
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:design:27.1.1'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'org.jsoup:jsoup:1.10.3'
implementation 'io.reactivex:rxjava:1.1.3'
implementation 'io.reactivex:rxandroid:1.0.1'
implementation 'com.google.code.gson:gson:2.8.2'
implementation 'com.zhy:okhttputils:2.6.2'
implementation 'com.tencent.bugly:crashreport_upgrade:latest.release'
implementation 'com.tencent.bugly:nativecrashreport:latest.release'
}


6 changes: 5 additions & 1 deletion app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,8 @@
-keep class okio.**{*;}

#glide
-dontwarn com.bumptech.glide.**
-dontwarn com.bumptech.glide.**

#bugly
-dontwarn com.tencent.bugly.**
-keep public class com.tencent.bugly.**{*;}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.idealclover.wheretosleepinnju;
package com.lilystudio.wheretosleepinnju;

import android.content.Context;
import android.support.test.InstrumentationRegistry;
Expand All @@ -21,6 +21,6 @@ public void useAppContext() throws Exception {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();

assertEquals("com.idealclover.wheretosleepinnju", appContext.getPackageName());
assertEquals("com.lilystudio.wheretosleepinnju", appContext.getPackageName());
}
}
43 changes: 31 additions & 12 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,45 +1,64 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.idealclover.wheretosleepinnju">
package="com.lilystudio.wheretosleepinnju">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<!--<uses-permission android:name="android.permission.CAMERA" />-->
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<!--<uses-permission android:name="android.permission.READ_LOGS" />-->
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />

<!--android:roundIcon="@mipmap/ic_launcher_round"-->

<application
android:name=".app.app"
android:name="com.lilystudio.wheretosleepinnju.app.app"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/nanjingBlueTheme">
<activity
android:name=".course.CourseActivity"
android:name="com.lilystudio.wheretosleepinnju.course.CourseActivity"
android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".setting.SettingActivity"></activity>
<activity android:name=".impt.ImptActivity"></activity>
<activity android:name=".add.AddActivity"></activity>
<activity android:name=".mg.MgActivity"></activity>
<activity android:name=".about.AboutActivity"></activity>
<activity android:name=".conf.ConfActivity"></activity>
<activity android:name="com.lilystudio.wheretosleepinnju.setting.SettingActivity" />
<activity android:name="com.lilystudio.wheretosleepinnju.impt.ImptActivity" />
<activity android:name="com.lilystudio.wheretosleepinnju.add.AddActivity" />
<activity android:name="com.lilystudio.wheretosleepinnju.mg.MgActivity" />
<activity android:name="com.lilystudio.wheretosleepinnju.about.AboutActivity" />
<activity android:name="com.lilystudio.wheretosleepinnju.conf.ConfActivity" />
<!--<activity android:name=".school.SchoolActivity"></activity>-->

<receiver android:name=".widget.OneWidget">
<activity
android:name="com.tencent.bugly.beta.ui.BetaActivity"
android:configChanges="keyboardHidden|orientation|screenSize|locale"
android:theme="@android:style/Theme.Translucent" />
<receiver android:name="com.lilystudio.wheretosleepinnju.widget.OneWidget">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/widget_one" />
</receiver>
<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="${applicationId}.fileProvider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths"/>
</provider>
</application>

</manifest>

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit d5039fd

Please sign in to comment.