Skip to content

Commit 72239e1

Browse files
committed
Revert back to old nav
1 parent a26e26b commit 72239e1

20 files changed

+242
-141
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
/build
77
/captures
88
.externalNativeBuild
9+
*.icloud

app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ apply plugin: 'com.android.application'
22
//apply plugin: "com.flurry.android.symbols"
33

44
android {
5-
compileSdkVersion 30
5+
compileSdkVersion 33
66
defaultConfig {
77
applicationId "me.ghui.v2er"
88
minSdkVersion 27
9-
targetSdkVersion 30
9+
targetSdkVersion 33
1010
versionCode rootProject.ext.app.versionCode
1111
versionName rootProject.ext.app.versionName
1212
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'

app/src/main/AndroidManifest.xml

+20
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<activity
2929
android:name=".module.general.RouteActivity"
3030
android:screenOrientation="portrait"
31+
android:exported="true"
3132
android:theme="@style/SplashTheme">
3233
<intent-filter>
3334
<action android:name="android.intent.action.MAIN" />
@@ -59,81 +60,100 @@
5960
</activity>
6061
<activity
6162
android:name=".module.home.MainActivity"
63+
android:exported="true"
6264
android:screenOrientation="portrait"
6365
android:theme="@style/NoneSlideBackableTheme" />
6466
<activity
6567
android:name=".module.drawer.dailyhot.DailyHotActivity"
6668
android:label="@string/page_daily_hot"
69+
android:exported="true"
6770
android:screenOrientation="portrait" />
6871
<activity
6972
android:name=".module.shortcuts.DailyHotShortcut"
7073
android:label="@string/page_daily_hot"
74+
android:exported="true"
7175
android:screenOrientation="portrait"
7276
android:theme="@style/NoneSlideBackableTheme"
7377
android:windowSoftInputMode="adjustResize" />
7478
<activity
7579
android:name=".module.create.CreateTopicActivity"
7680
android:label="@string/page_create_topic"
81+
android:exported="true"
7782
android:screenOrientation="portrait"
7883
android:windowSoftInputMode="adjustResize" />
7984
<activity
8085
android:name=".module.shortcuts.CreateTopicShortcut"
8186
android:label="@string/page_create_topic"
87+
android:exported="true"
8288
android:screenOrientation="portrait"
8389
android:theme="@style/NoneSlideBackableTheme" />
8490
<activity
8591
android:name=".module.topic.TopicActivity"
8692
android:label="话题"
93+
android:exported="true"
8794
android:screenOrientation="portrait"
8895
android:windowSoftInputMode="stateHidden|adjustResize" />
8996
<activity
9097
android:name=".module.login.LoginActivity"
98+
android:exported="true"
9199
android:label="登录V2EX"
92100
android:screenOrientation="portrait" />
93101
<activity
94102
android:name=".module.login.TwoStepLoginActivity"
103+
android:exported="true"
95104
android:label="两步验证"
96105
android:screenOrientation="portrait" />
97106
<activity
98107
android:name=".module.login.SignInWithGoogleActivity"
99108
android:label="Sign in With Google"
109+
android:exported="true"
100110
android:screenOrientation="portrait" />
101111
<activity
102112
android:name=".module.user.UserHomeActivity"
113+
android:exported="true"
103114
android:label="主页"
104115
android:screenOrientation="portrait" />
105116
<activity
106117
android:name=".module.drawer.care.SpecialCareActivity"
107118
android:label="特别关注"
119+
android:exported="true"
108120
android:screenOrientation="portrait" />
109121
<activity
110122
android:name=".module.drawer.star.StarActivity"
111123
android:label="收藏"
124+
android:exported="true"
112125
android:screenOrientation="portrait" />
113126
<activity
114127
android:name=".module.shortcuts.StarTopicShortcut"
115128
android:label="收藏"
129+
android:exported="true"
116130
android:screenOrientation="portrait"
117131
android:theme="@style/NoneSlideBackableTheme" />
118132
<activity
119133
android:name=".module.node.NodeTopicActivity"
120134
android:label="节点"
135+
android:exported="true"
121136
android:screenOrientation="portrait" />
122137
<activity
123138
android:name=".module.general.WapActivity"
139+
android:exported="true"
124140
android:label="" />
125141
<activity
126142
android:name=".module.pay.WXPayActivity"
127143
android:label=""
144+
android:exported="true"
128145
android:theme="@style/TranslucentTheme" />
129146
<activity
130147
android:name=".module.gallery.GalleryActivity"
148+
android:exported="true"
131149
android:theme="@style/GalleryTheme" />
132150
<activity
133151
android:name=".module.settings.UserManualActivity"
152+
android:exported="true"
134153
android:label="常见问题" />
135154
<activity
136155
android:name=".module.append.AppendTopicActivity"
156+
android:exported="true"
137157
android:label="添加附言" />
138158
<activity android:name=".general.PageHost" />
139159
</application>
1.33 KB
Loading
1.47 KB
Loading
1.24 KB
Loading
1.42 KB
Loading
2.22 KB
Loading
2.42 KB
Loading
2.07 KB
Loading
2.32 KB
Loading
2.98 KB
Loading
3.19 KB
Loading
2.94 KB
Loading
3.31 KB
Loading

gradle.properties

+9-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,15 @@
1313
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1414
# org.gradle.parallel=true
1515
#Sat Mar 04 11:07:15 CST 2017
16-
org.gradle.jvmargs=-Xmx1536m
16+
org.gradle.jvmargs=-Xmx1536M \
17+
--add-exports=java.base/sun.nio.ch=ALL-UNNAMED \
18+
--add-opens=java.base/java.lang=ALL-UNNAMED \
19+
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED \
20+
--add-opens=java.base/java.io=ALL-UNNAMED \
21+
--add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED \
22+
--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
23+
--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED \
24+
--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
1725
systemProp.http.proxyPort=6153
1826

1927
android.useAndroidX=true

gradle/wrapper/gradle-wrapper.jar

5.76 KB
Binary file not shown.
+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#Sun May 16 10:37:50 CST 2021
21
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
42
distributionPath=wrapper/dists
5-
zipStorePath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
64
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)