Skip to content

Commit

Permalink
Bug Fix. Android 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
YoshihideSogawa committed Nov 4, 2015
1 parent 362ea4f commit 8c7602e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ private boolean showChatHead(Context context) {
*/
@SuppressLint("NewApi")
private boolean showFloatingAd(Context context) {
// API23未満かチェック
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.LOLLIPOP) {
// API22以下かチェック
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.LOLLIPOP_MR1) {
context.startService(new Intent(context, FloatingAdService.class));
return true;
}
Expand Down

0 comments on commit 8c7602e

Please sign in to comment.