Remove unused kill switch image resource

Change image resource order
This commit is contained in:
deeppandya
2024-06-06 02:16:05 -04:00
parent a99f6f33ff
commit a12e559677
7 changed files with 44 additions and 204 deletions
@@ -5,11 +5,8 @@
package org.chromium.chrome.browser.vpn.activities;
import android.content.Intent;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import androidx.appcompat.app.ActionBar;
import androidx.appcompat.widget.Toolbar;
@@ -34,9 +31,7 @@ public class VpnAlwaysOnActivity extends AsyncInitializationActivity {
ActionBar actionBar = getSupportActionBar();
assert actionBar != null;
actionBar.setDisplayHomeAsUpEnabled(true);
actionBar.setTitle(
getResources()
.getString(R.string.always_on_vpn));
actionBar.setTitle(getResources().getString(R.string.always_on_vpn));
ViewPager killSwitchTutorialViewPager = findViewById(R.id.kill_switch_tutorial_view_pager);
@@ -67,9 +67,6 @@ public class AlwaysOnPagerAdapter extends PagerAdapter {
ImageView killSwitchTutorialImage = view.findViewById(R.id.kill_switch_tutorial_image);
int killSwitchImage = mImageResources.get(position);
if (position == 2) {
killSwitchImage = R.drawable.ic_vpn_always_on_4;
}
killSwitchTutorialImage.setImageResource(killSwitchImage);
collection.addView(view);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long