Skip to content

Commit

Permalink
No Vibrate
Browse files Browse the repository at this point in the history
  • Loading branch information
HMBSbige committed Sep 15, 2019
1 parent 659a852 commit 323bf14
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 12 deletions.
8 changes: 4 additions & 4 deletions app/src/main/assets/pages/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -273,12 +273,12 @@
</style>
</head>
<body>
<p>A <a href="https://github.com/shadowsocksrr/shadowsocks-rss/">ShadowsocksRR</a> client for Android, written in Java.</p>
<p>A <a href="https://github.com/hmbsbige/shadowsocks-rss/">ShadowsocksR</a> client for Android, written in Java.</p>


<p>这是一个可以使用 <a href="https://github.com/shadowsocksrr/shadowsocks-rss/">ShadowsocksRR</a> 特性的版本。</p>
<p>这是一个可以使用 <a href="https://github.com/hmbsbige/shadowsocks-rss/">ShadowsocksR</a> 特性的版本。</p>

<p>参与修改:<a href="https://github.com/Akkariiin">Akkariiin</a>, <a href="https://github.com/esdeathlove/">esdeathlove</a>, <a href="https://github.com/glzjin">glzjin</a>, <a href="https://github.com/breakwa11"/>breakwa11</a>, <a href="https://github.com/captain-miao"/>captain-miao</a></p>
<p>参与修改:<a href="https://github.com/HMBSbige">HMBSbige</a>, <a href="https://github.com/Akkariiin">Akkariiin</a>, <a href="https://github.com/esdeathlove/">esdeathlove</a>, <a href="https://github.com/glzjin">glzjin</a>, <a href="https://github.com/breakwa11"/>breakwa11</a>, <a href="https://github.com/captain-miao"/>captain-miao</a></p>

<p>图标修改:<a href="https://github.com/Hexhu">Hexhu</a>, <a href="https://twitter.com/huihuimoe">灰灰</a></p>

Expand All @@ -292,7 +292,7 @@

<p>转换成Java语言:<a href="https://github.com/xhvay"/>vay</a></p>

<p>此版本目前承认的 APP 发布渠道为 <a href="https://github.com/shadowsocksrr/shadowsocksr-android">Github 上本项目的 Releases</a>,如果您是在其他渠道下载的话请自己注意安全。</p>
<p>此版本目前承认的 APP 发布渠道为 <a href="https://github.com/HMBSbige/ShadowsocksR-Android">Github 上本项目的 Releases</a>,如果您是在其他渠道下载的话请自己注意安全。</p>

<hr>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
import android.os.PowerManager;
import android.os.RemoteException;

import androidx.core.app.NotificationCompat;
import androidx.core.content.ContextCompat;

import com.github.shadowsocks.aidl.IShadowsocksService;
import com.github.shadowsocks.aidl.IShadowsocksServiceCallback;
import com.github.shadowsocks.database.Profile;
Expand All @@ -61,9 +64,6 @@
import java.util.List;
import java.util.Locale;

import androidx.core.app.NotificationCompat;
import androidx.core.content.ContextCompat;

import static com.github.shadowsocks.ShadowsocksApplication.app;

/**
Expand Down Expand Up @@ -232,7 +232,7 @@ private void initWithUpdateAction() {
private void initNotificationBuilder() {
String channelId = "net_speed";
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
NotificationChannel channel = new NotificationChannel(channelId, "NetSpeed", NotificationManager.IMPORTANCE_DEFAULT);
NotificationChannel channel = new NotificationChannel(channelId, "NetSpeed", NotificationManager.IMPORTANCE_MIN);
nm.createNotificationChannel(channel);
}
builder = new NotificationCompat.Builder(service, channelId)
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-ja/strings.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">SSRR</string>
<string name="app_name">ShadowsocksR</string>
<string name="quick_toggle">スイッチ</string>

<string name="misc_cat">その他</string>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-ru/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,5 @@
<!-- status -->
<string name="sent">Отправлено:</string>
<string name="received">Получено:</string>
<string name="app_name">ShadowsocksR</string>
</resources>
2 changes: 1 addition & 1 deletion app/src/main/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">SSRR</string>
<string name="app_name">ShadowsocksR</string>
<string name="quick_toggle">开关</string>

<string name="misc_cat">其他</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-zh-rTW/strings.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<string name="app_name">SSRR</string>
<string name="app_name">ShadowsocksR</string>
<string name="quick_toggle">開關</string>

<string name="misc_cat">其他</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<string name="app_name">SSRR</string>
<string name="app_name">ShadowsocksR</string>
<string name="quick_toggle">Toggle</string>

<!-- global/misc category -->
Expand Down

0 comments on commit 323bf14

Please sign in to comment.