Updates to match prebuilts drop

Test: build
Bug: 77482321
Change-Id: I65a2cffb0a921ef6acb58ff500a7da8a8f870e76
This commit is contained in:
Jason Monk
2018-04-03 18:36:42 -04:00
parent a8c53f7dcb
commit 20210122bd
5 changed files with 15 additions and 8 deletions

View File

@@ -24,6 +24,7 @@ import android.graphics.drawable.Icon;
import android.net.Uri;
import android.net.wifi.WifiManager;
import android.support.annotation.VisibleForTesting;
import android.support.v4.graphics.drawable.IconCompat;
import android.util.Log;
import com.android.settings.R;
@@ -203,7 +204,8 @@ public class SettingsSliceProvider extends SliceProvider {
.addEndItem(new SliceAction(getBroadcastIntent(ACTION_WIFI_CHANGED),
null, finalWifiEnabled))
.setPrimaryAction(
new SliceAction(getIntent(Intent.ACTION_MAIN), null, null)))
new SliceAction(getIntent(Intent.ACTION_MAIN),
(IconCompat) null, null)))
.build();
}