From 6f478ed9d3075fccfad49dbd7138a89140c27865 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Mon, 28 Sep 2015 14:33:56 +0200 Subject: [PATCH] LiblinphoneTester: automatic scrolling during tests --- LiblinphoneTester/DetailViewController.m | 2 ++ submodules/linphone | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/LiblinphoneTester/DetailViewController.m b/LiblinphoneTester/DetailViewController.m index a8423dcd1..342c21625 100644 --- a/LiblinphoneTester/DetailViewController.m +++ b/LiblinphoneTester/DetailViewController.m @@ -169,6 +169,7 @@ static NSString *const kAllTestsName = @"Run All tests"; LOGE(@"Test already in progress"); return; } + in_progress = TRUE; for (NSIndexPath *index in paths) { TestItem *test = _tests[index.row]; @@ -198,6 +199,7 @@ static NSString *const kAllTestsName = @"Run All tests"; LOGI(@"Test Passed!"); test.state = TestStatePassed; } + [self.tableView scrollToRowAtIndexPath:index atScrollPosition:UITableViewScrollPositionMiddle animated:YES]; dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ [self updateItem:paths withAnimation:TRUE]; }); diff --git a/submodules/linphone b/submodules/linphone index 7cbbb6b17..f582965b1 160000 --- a/submodules/linphone +++ b/submodules/linphone @@ -1 +1 @@ -Subproject commit 7cbbb6b17e4f1de3fa48f89c541092754f3455b4 +Subproject commit f582965b14e8b777db47d52634ba518ec33cae23