Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 521f50b2 authored by Michael W's avatar Michael W Committed by Michael Bestas
Browse files

Dialer: Fix resource imports

Resource processor has been enabled by default in BP1A.
Fix all errors by importing com.android.dialer.R instead of the
current imports.

Change-Id: I6fe0184984de901946cbce0c4edce93b6ac03af0
parent 64270168
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/*
 * Copyright (C) 2014 The Android Open Source Project
 * Copyright (C) 2023 The LineageOS Project
 * Copyright (C) 2023-2025 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.
@@ -25,7 +25,7 @@ import android.util.AttributeSet;
import android.view.View;
import android.widget.LinearLayout;

import com.android.dialer.contacts.resources.R;
import com.android.dialer.R;
import com.android.dialer.theme.base.ThemeComponent;

public class ViewPagerTabStrip extends LinearLayout {
+2 −2
Original line number Diff line number Diff line
/*
 * Copyright (C) 2014 The Android Open Source Project
 * Copyright (C) 2023 The LineageOS Project
 * Copyright (C) 2023-2025 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.
@@ -35,7 +35,7 @@ import android.widget.Toast;
import androidx.viewpager.widget.PagerAdapter;
import androidx.viewpager.widget.ViewPager;

import com.android.dialer.contacts.resources.R;
import com.android.dialer.R;

/**
 * Lightweight implementation of ViewPager tabs. This looks similar to traditional actionBar tabs,
+2 −2
Original line number Diff line number Diff line
/*
 * Copyright (C) 2009 The Android Open Source Project
 * Copyright (C) 2023 The LineageOS Project
 * Copyright (C) 2023-2025 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.
@@ -32,7 +32,7 @@ import android.widget.EditText;
import androidx.core.content.ContextCompat;

import com.android.contacts.common.model.dataitem.DataKind;
import com.android.dialer.contacts.resources.R;
import com.android.dialer.R;

import java.text.Collator;
import java.util.ArrayList;
+2 −2
Original line number Diff line number Diff line
/*
 * Copyright (C) 2009 The Android Open Source Project
 * Copyright (C) 2023 The LineageOS Project
 * Copyright (C) 2023-2025 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.
@@ -42,8 +42,8 @@ import android.view.inputmethod.EditorInfo;
import com.android.contacts.common.model.dataitem.DataKind;
import com.android.contacts.common.util.CommonDateUtils;
import com.android.contacts.common.util.ContactDisplayUtils;
import com.android.dialer.R;
import com.android.dialer.common.LogUtil;
import com.android.dialer.contacts.resources.R;

import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
+2 −1
Original line number Diff line number Diff line
/*
 * Copyright (C) 2009 The Android Open Source Project
 * Copyright (C) 2025 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.
@@ -32,8 +33,8 @@ import android.provider.ContactsContract.CommonDataKinds.Website;

import com.android.contacts.common.model.dataitem.DataKind;
import com.android.contacts.common.util.CommonDateUtils;
import com.android.dialer.R;
import com.android.dialer.common.LogUtil;
import com.android.dialer.contacts.resources.R;

import java.util.ArrayList;
import java.util.Locale;
Loading