Commit 8be8e010 authored by Asher Simonds's avatar Asher Simonds Committed by Arvin Quilao

FMRadio: adaptive icon

Change-Id: I95c0cd920c72d7a7dba952dece5f6228dbbf3988
Signed-off-by: default avatarJoey <joey@lineageos.org>
parent 13c3ded9
......@@ -43,7 +43,7 @@
<application
android:hardwareAccelerated="true"
android:icon="@drawable/ic_launcher"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name" >
<activity
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2018 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/ic_background"/>
<foreground android:drawable="@mipmap/ic_foreground"/>
</adaptive-icon>
......@@ -186,7 +186,7 @@ public class FmRecordActivity extends Activity implements
.setContentText(getText(R.string.record_notification_message))
.setShowWhen(false)
.setAutoCancel(true)
.setSmallIcon(R.drawable.ic_launcher)
.setSmallIcon(R.mipmap.ic_launcher)
.setLargeIcon(largeIcon)
.addAction(R.drawable.btn_fm_rec_stop_enabled, getText(R.string.stop_record),
pendingIntent);
......
......@@ -1819,7 +1819,7 @@ public class FmService extends Service implements FmRecorder.OnRecorderStateChan
if (null == mNotificationBuilder) {
mNotificationBuilder = new Notification.Builder(mContext);
mNotificationBuilder.setSmallIcon(R.drawable.ic_launcher);
mNotificationBuilder.setSmallIcon(R.mipmap.ic_launcher);
mNotificationBuilder.setShowWhen(false);
mNotificationBuilder.setAutoCancel(true);
......
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