Enables Back activity and Start home screen activity in batch mode 31/166331/32
authorRadoslaw Cybulski <r.cybulski@partner.samsung.com>
Tue, 9 Jan 2018 10:11:28 +0000 (11:11 +0100)
committerRadoslaw Cybulski <r.cybulski@partner.samsung.com>
Tue, 23 Jan 2018 13:52:13 +0000 (14:52 +0100)
Change-Id: I7b80e5a381c84cf4e5faf51340f1a69ff8056bb5

src/AppControlActivity.cpp
src/GestureActivity.cpp
src/HardwareKeyActivity.cpp
src/TapActivity.cpp

index cb7d6a0..0297bd3 100644 (file)
@@ -78,6 +78,11 @@ class StartHomeScreenActivity : public AppControlActivity<StartHomeScreenActivit
 public:
        static constexpr const char *activityType = "START_HOME_SCREEN";
        static constexpr const char *appToLaunch = "org.tizen.homescreen-efl";
+
+       Optional<unsigned int> getRequiredNumberOfArgumentsIfAllowedInBatchProcessing() const override
+       {
+               return 0;
+       }
 };
 
 class StartLockScreenActivity : public AppControlActivity<StartLockScreenActivity, false>
index bb6bc21..adbbe33 100644 (file)
@@ -76,7 +76,7 @@ public:
        static constexpr const char *activityType = "SWIPE_RIGHT";
        static constexpr const SwipeType swipeType = SWIPE_RIGHT;
 
-       Optional<unsigned int> getRequiredNumberOfArgumentsIfAllowedInBatchProcessing() const
+       Optional<unsigned int> getRequiredNumberOfArgumentsIfAllowedInBatchProcessing() const override
        {
                return 0;
        }
@@ -88,7 +88,7 @@ public:
        static constexpr const char *activityType = "SWIPE_LEFT";
        static constexpr SwipeType swipeType = SWIPE_LEFT;
 
-       Optional<unsigned int> getRequiredNumberOfArgumentsIfAllowedInBatchProcessing() const
+       Optional<unsigned int> getRequiredNumberOfArgumentsIfAllowedInBatchProcessing() const override
        {
                return 0;
        }
@@ -100,7 +100,7 @@ public:
        static constexpr const char *activityType = "SWIPE_UP";
        static constexpr SwipeType swipeType = SWIPE_UP;
 
-       Optional<unsigned int> getRequiredNumberOfArgumentsIfAllowedInBatchProcessing() const
+       Optional<unsigned int> getRequiredNumberOfArgumentsIfAllowedInBatchProcessing() const override
        {
                return 0;
        }
@@ -112,7 +112,7 @@ public:
        static constexpr const char *activityType = "SWIPE_DOWN";
        static constexpr SwipeType swipeType = SWIPE_DOWN;
 
-       Optional<unsigned int> getRequiredNumberOfArgumentsIfAllowedInBatchProcessing() const
+       Optional<unsigned int> getRequiredNumberOfArgumentsIfAllowedInBatchProcessing() const override
        {
                return 0;
        }
index 0617845..dc5b6cd 100644 (file)
@@ -41,6 +41,11 @@ public:
        static constexpr const char *activityType = "BACK";
        static constexpr const char *buttonCode = "XF86Back";
        static constexpr unsigned multiplicity = 1;
+
+       Optional<unsigned int> getRequiredNumberOfArgumentsIfAllowedInBatchProcessing() const override
+       {
+               return 0;
+       }
 };
 
 class MoreOptionsActivity : public HardwareKeyActivity<MoreOptionsActivity, true>
index e159a3f..fcda99f 100644 (file)
@@ -40,7 +40,7 @@ public:
                markAsCompleted();
        }
 
-       Optional<unsigned int> getRequiredNumberOfArgumentsIfAllowedInBatchProcessing() const
+       Optional<unsigned int> getRequiredNumberOfArgumentsIfAllowedInBatchProcessing() const override
        {
                return 1;
        }