Page Menu
Home
GitPull.it
Search
Configure Global Search
Log In
Files
F14911109
D123.1789937761.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Authored By
Unknown
Size
2 KB
Referenced Files
None
Subscribers
None
D123.1789937761.diff
View Options
diff --git a/app/src/main/java/it/reyboz/bustorino/ActivityPrincipal.java b/app/src/main/java/it/reyboz/bustorino/ActivityPrincipal.java
--- a/app/src/main/java/it/reyboz/bustorino/ActivityPrincipal.java
+++ b/app/src/main/java/it/reyboz/bustorino/ActivityPrincipal.java
@@ -632,7 +632,7 @@
if (showingMainFragmentFromOther){
FragmentManager fraMan = getSupportFragmentManager();
Fragment fragment = fraMan.findFragmentByTag(MainScreenFragment.FRAGMENT_TAG);
- Log.d(DEBUG_TAG, "Requested main fragment, not visible. Search by TAG: "+fragment);
+ Log.d(DEBUG_TAG, "Requested main fragment, not visible. Search by TAG returned: "+fragment);
if(fragment!=null){
//the fragment is there but not shown
probableFragment = (MainScreenFragment) fragment;
diff --git a/app/src/main/java/it/reyboz/bustorino/fragments/MainScreenFragment.java b/app/src/main/java/it/reyboz/bustorino/fragments/MainScreenFragment.java
--- a/app/src/main/java/it/reyboz/bustorino/fragments/MainScreenFragment.java
+++ b/app/src/main/java/it/reyboz/bustorino/fragments/MainScreenFragment.java
@@ -373,7 +373,7 @@
Log.d(DEBUG_TAG, "Saving instance state");
Fragment fragment = getChildFragmentManager().findFragmentById(R.id.resultFrame);
if (fragment!=null)
- getChildFragmentManager().putFragment(outState, SAVED_FRAGMENT, fragment);
+ getChildFragmentManager().putFragment(outState, SAVED_FRAGMENT, fragment);
if (fragmentHelper!=null) fragmentHelper.setBlockAllActivities(true);
instanceStateSaved = true;
@@ -483,12 +483,13 @@
ArrivalsFragment frag = (ArrivalsFragment) fragment;
frag.setReloadOnResume(false);
}
+ //deactivate
suppressArrivalsReload = false;
}
if(pendingStopID!=null){
- Log.d(DEBUG_TAG, "Re-requesting arrivals for pending stop "+pendingStopID);
+ Log.d(DEBUG_TAG, "Pending request for arrivals at stop ID: "+pendingStopID);
requestArrivalsForStopID(pendingStopID);
pendingStopID = null;
}
@@ -767,6 +768,8 @@
}
}
else {
+ Log.d(DEBUG_TAG, "This is probably the first arrivals search, preparing GUI");
+ prepareGUIForBusLines();
new AsyncArrivalsSearcher(fragmentHelper,fetchers, getContext()).execute(ID);
Log.d(DEBUG_TAG, "Started search for arrivals of stop " + ID);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Sep 20, 22:56 (1 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2167285
Default Alt Text
D123.1789937761.diff (2 KB)
Attached To
Mode
D123: Fix regression bug, prepare GUI for arrivals
Attached
Detach File
Event Timeline