Fix icon color in dark mode

am: e30f61f739

Change-Id: I04179fd328a393e8bd5ff891bd86665a8f37cbbb
This commit is contained in:
Raff Tsai
2019-05-27 09:47:10 -07:00
committed by android-build-merger
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,8 @@ Copyright (C) 2015 The Android Open Source Project
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
android:viewportHeight="24.0"
android:tint="?android:attr/colorControlNormal">
<path
android:fillColor="#FF000000"
android:pathData="M5 17h14v2H5zm7,-12L5.33 15h13.34z"/>

View File

@@ -130,7 +130,6 @@ public class StorageVolumePreference extends Preference {
public void onBindViewHolder(PreferenceViewHolder view) {
final ImageView unmount = (ImageView) view.findViewById(R.id.unmount);
if (unmount != null) {
unmount.setImageTintList(ColorStateList.valueOf(Color.parseColor("#8a000000")));
unmount.setOnClickListener(mUnmountListener);
}