Android: Consistent TODO formatting
This commit is contained in:
parent
74b2410d7e
commit
c8aa077f8c
|
@ -130,8 +130,8 @@ public class AppLinkActivity extends FragmentActivity
|
||||||
|
|
||||||
private void tryPlay(AppLinkHelper.PlayAction action)
|
private void tryPlay(AppLinkHelper.PlayAction action)
|
||||||
{
|
{
|
||||||
// TODO: This approach of getting the game from the game file cache without rescanning
|
// TODO: This approach of getting the game from the game file cache without rescanning the
|
||||||
// the library means that we can fail to launch games if the cache file has been deleted.
|
// library means that we can fail to launch games if the cache file has been deleted.
|
||||||
|
|
||||||
GameFile game = GameFileCacheService.getGameFileByGameId(action.getGameId());
|
GameFile game = GameFileCacheService.getGameFileByGameId(action.getGameId());
|
||||||
|
|
||||||
|
|
|
@ -273,8 +273,8 @@ public final class EmulationActivity extends AppCompatActivity
|
||||||
|
|
||||||
updateOrientation();
|
updateOrientation();
|
||||||
|
|
||||||
// TODO: The accurate way to find out which console we're emulating is to
|
// TODO: The accurate way to find out which console we're emulating is to first
|
||||||
// first launch emulation and then ask the core which console we're emulating
|
// launch emulation and then ask the core which console we're emulating
|
||||||
sIsGameCubeGame = Platform.fromNativeInt(mPlatform) == Platform.GAMECUBE;
|
sIsGameCubeGame = Platform.fromNativeInt(mPlatform) == Platform.GAMECUBE;
|
||||||
mDeviceHasTouchScreen = getPackageManager().hasSystemFeature("android.hardware.touchscreen");
|
mDeviceHasTouchScreen = getPackageManager().hasSystemFeature("android.hardware.touchscreen");
|
||||||
mMotionListener = new MotionListener(this);
|
mMotionListener = new MotionListener(this);
|
||||||
|
|
|
@ -23,7 +23,7 @@ public class PlatformPagerAdapter extends FragmentPagerAdapter
|
||||||
{
|
{
|
||||||
R.drawable.ic_gamecube,
|
R.drawable.ic_gamecube,
|
||||||
R.drawable.ic_wii,
|
R.drawable.ic_wii,
|
||||||
R.drawable.ic_folder // WiiWare TODO Have an icon here.
|
R.drawable.ic_folder
|
||||||
};
|
};
|
||||||
|
|
||||||
public PlatformPagerAdapter(FragmentManager fm, Context context)
|
public PlatformPagerAdapter(FragmentManager fm, Context context)
|
||||||
|
@ -49,8 +49,8 @@ public class PlatformPagerAdapter extends FragmentPagerAdapter
|
||||||
{
|
{
|
||||||
// Hax from https://guides.codepath.com/android/Google-Play-Style-Tabs-using-TabLayout#design-support-library
|
// Hax from https://guides.codepath.com/android/Google-Play-Style-Tabs-using-TabLayout#design-support-library
|
||||||
// Apparently a workaround for TabLayout not supporting icons.
|
// Apparently a workaround for TabLayout not supporting icons.
|
||||||
// TODO This workaround will eventually not be necessary; switch to more legit methods when that is the case
|
// TODO: This workaround will eventually not be necessary; switch to more legit methods when that is the case
|
||||||
// TODO Also remove additional hax from styles.xml
|
// TODO: Also remove additional hax from styles.xml
|
||||||
Drawable drawable = mContext.getResources().getDrawable(TAB_ICONS[position]);
|
Drawable drawable = mContext.getResources().getDrawable(TAB_ICONS[position]);
|
||||||
drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight());
|
drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight());
|
||||||
|
|
||||||
|
|
|
@ -446,7 +446,7 @@ public final class SettingsFragmentPresenter
|
||||||
{
|
{
|
||||||
if (mGameID.equals(""))
|
if (mGameID.equals(""))
|
||||||
{
|
{
|
||||||
// TODO This controller_0 + i business is quite the hack. It should work, but only if the definitions are kept together and in order.
|
// TODO: This controller_0 + i business is quite the hack. It should work, but only if the definitions are kept together and in order.
|
||||||
Setting gcPadSetting = mSettings.getSection(Settings.SECTION_INI_CORE)
|
Setting gcPadSetting = mSettings.getSection(Settings.SECTION_INI_CORE)
|
||||||
.getSetting(SettingsFile.KEY_GCPAD_TYPE + i);
|
.getSetting(SettingsFile.KEY_GCPAD_TYPE + i);
|
||||||
sl.add(new SingleChoiceSetting(SettingsFile.KEY_GCPAD_TYPE + i, Settings.SECTION_INI_CORE,
|
sl.add(new SingleChoiceSetting(SettingsFile.KEY_GCPAD_TYPE + i, Settings.SECTION_INI_CORE,
|
||||||
|
@ -468,7 +468,7 @@ public final class SettingsFragmentPresenter
|
||||||
{
|
{
|
||||||
for (int i = 0; i < 4; i++)
|
for (int i = 0; i < 4; i++)
|
||||||
{
|
{
|
||||||
// TODO This wiimote_0 + i business is quite the hack. It should work, but only if the definitions are kept together and in order.
|
// TODO: This wiimote_0 + i business is quite the hack. It should work, but only if the definitions are kept together and in order.
|
||||||
if (mGameID.equals(""))
|
if (mGameID.equals(""))
|
||||||
{
|
{
|
||||||
Setting wiimoteSetting = mSettings.getSection(Settings.SECTION_WIIMOTE + (i + 1))
|
Setting wiimoteSetting = mSettings.getSection(Settings.SECTION_WIIMOTE + (i + 1))
|
||||||
|
|
Loading…
Reference in New Issue