Commit 5a707ad7 by Kim Jinsung

端末再起動時、自動的にアプリ起動されない問題対応

トイレIDの最小値の設定変更
parent 4ccd46c3
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<!-- The following two intent-filters are the key to set homescreen --> <!-- The following two intent-filters are the key to set homescreen -->
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </intent-filter>
</activity> </activity>
...@@ -37,6 +36,7 @@ ...@@ -37,6 +36,7 @@
<receiver android:name=".receiver.OnBootReceiver"> <receiver android:name=".receiver.OnBootReceiver">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" /> <action android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter> </intent-filter>
</receiver> </receiver>
</application> </application>
......
...@@ -67,7 +67,7 @@ public class USBToiletDefaultJson { ...@@ -67,7 +67,7 @@ public class USBToiletDefaultJson {
return false; return false;
} }
if (getToiletId() < 0 || getToiletId() > 1000000) { if (getToiletId() < 1 || getToiletId() > 1000000) {
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment