Change feature from "http://tizen.org/feature/sensor.accelerometer" to
"http://tizen.org/feature/screen.auto_rotation"
Change-Id: Ifa548b725950b982e8df78408cfce4a3bfa0d8c7
Signed-off-by: MuHong Byun <mh.byun@samsung.com>
[OneTimeSetUp]
public void Init()
{
- _support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.accelerometer");
+ _support = TSSensorHelper.CheckCapability("http://tizen.org/feature/screen.auto_rotation");
}
[Test]
[OneTimeSetUp]
public void Init()
{
- _support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.accelerometer");
+ _support = TSSensorHelper.CheckCapability("http://tizen.org/feature/screen.auto_rotation");
}
[Test]
[Description("Testing Tizen.Sensor.AutoRotationSensor class")]
public class AutoRotationSensorTests
{
- private static string AutoRotationSensorKey = "http://tizen.org/feature/sensor.accelerometer";
+ private static string AutoRotationSensorKey = "http://tizen.org/feature/screen.auto_rotation";
private static bool support = false;
private static bool CheckCapability()