Skip to content

Commit

Permalink
修复小米8上运行崩溃问题,感谢提出bug的朋友。
Browse files Browse the repository at this point in the history
  • Loading branch information
lilongweidev committed Jul 26, 2021
1 parent 90842db commit c2e4da9
Show file tree
Hide file tree
Showing 14 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <!-- 读取扩展存储 -->
<uses-permission android:name="android.permission.INTERNET" /><!--网络访问-->
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" /><!--应用安装-->
<uses-permission android:name="android.permission.RECORD_AUDIO"/><!--录音-->
<uses-permission android:name="android.permission.RECORD_AUDIO" /><!--录音-->

<application
android:name=".WeatherApplication"
android:allowBackup="true"
android:icon="@mipmap/icon_logo"
android:label="@string/app_name"
android:largeHeap="true"
android:networkSecurityConfig="@xml/network_security_config"
android:roundIcon="@mipmap/icon_logo"
android:supportsRtl="true"
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
4 changes: 2 additions & 2 deletions app/src/main/res/drawable/selector_collection.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/icon_collection" android:state_checked="true"/>
<item android:drawable="@drawable/icon_not_collection" android:state_checked="false"/>
<item android:drawable="@mipmap/icon_collection" android:state_checked="true"/>
<item android:drawable="@mipmap/icon_not_collection" android:state_checked="false"/>
</selector>
Binary file modified download/code.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c2e4da9

Please sign in to comment.