Fix bug #15702424 add-wifi setting screen has no title
- pass the missing EXTRA_SHOW_FRAGMENT_TITLE_RESID - define a new string for the Activity title - code cleaning: remove a non needed call to getIntent() Change-Id: I430d59c0225c6e7f23e78edf5644d07ef33a9d98
This commit is contained in:
@@ -476,7 +476,7 @@ public class SettingsActivity extends Activity
|
||||
mIsShortcut = isShortCutIntent(intent) || isLikeShortCutIntent(intent) ||
|
||||
intent.getBooleanExtra(EXTRA_SHOW_FRAGMENT_AS_SHORTCUT, false);
|
||||
|
||||
final ComponentName cn = getIntent().getComponent();
|
||||
final ComponentName cn = intent.getComponent();
|
||||
final String className = cn.getClassName();
|
||||
|
||||
mIsShowingDashboard = className.equals(Settings.class.getName());
|
||||
|
Reference in New Issue
Block a user