mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
remove some logging
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
7745e75f5f
commit
227b7bc080
@ -363,13 +363,10 @@ class MainActivity : BaseActivity(), ActionBarProvider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun onBackPressed() {
|
override fun onBackPressed() {
|
||||||
Log.d(TAG, "onBackPressed")
|
|
||||||
if (router!!.getControllerWithTag(LockedController.TAG) != null) {
|
if (router!!.getControllerWithTag(LockedController.TAG) != null) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!router!!.handleBack()) {
|
if (!router!!.handleBack()) {
|
||||||
Log.d(TAG, "back press was not handled by top controller. call onBackPressed...")
|
|
||||||
super.onBackPressed()
|
super.onBackPressed()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1803,8 +1803,6 @@ class ChatController(args: Bundle) :
|
|||||||
if (inConversation) {
|
if (inConversation) {
|
||||||
Log.d(TAG, "execute joinRoomWithPassword in onAttach")
|
Log.d(TAG, "execute joinRoomWithPassword in onAttach")
|
||||||
joinRoomWithPassword()
|
joinRoomWithPassword()
|
||||||
// replace with getRoomInfo() ? otherwise getRoomInfo is not called periodically after coming
|
|
||||||
// back to app when it was in background
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1905,8 +1903,6 @@ class ChatController(args: Bundle) :
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun joinRoomWithPassword() {
|
private fun joinRoomWithPassword() {
|
||||||
Log.d(TAG, "joinRoomWithPassword. currentConversation==null ?:" + (currentConversation == null).toString())
|
|
||||||
|
|
||||||
if (!validSessionId()) {
|
if (!validSessionId()) {
|
||||||
Log.d(TAG, "sessionID was not valid -> joinRoom")
|
Log.d(TAG, "sessionID was not valid -> joinRoom")
|
||||||
var apiVersion = 1
|
var apiVersion = 1
|
||||||
|
@ -245,9 +245,6 @@ abstract class BaseController(@LayoutRes var layoutRes: Int, args: Bundle? = nul
|
|||||||
calculateValidParentController()
|
calculateValidParentController()
|
||||||
}
|
}
|
||||||
actionBar!!.title = title
|
actionBar!!.title = title
|
||||||
Log.d(TAG, "setTitle: $title")
|
|
||||||
} else {
|
|
||||||
Log.d(TAG, "title was not set!!!!")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user