summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/DeviceInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core/DeviceInfo.cs')
-rw-r--r--Xamarin.Forms.Core/DeviceInfo.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/Xamarin.Forms.Core/DeviceInfo.cs b/Xamarin.Forms.Core/DeviceInfo.cs
index dc83075..722ef50 100644
--- a/Xamarin.Forms.Core/DeviceInfo.cs
+++ b/Xamarin.Forms.Core/DeviceInfo.cs
@@ -2,17 +2,18 @@
using System.ComponentModel;
using System.Runtime.CompilerServices;
-namespace Xamarin.Forms
+namespace Xamarin.Forms.Internals
{
- internal abstract class DeviceInfo : INotifyPropertyChanged, IDisposable
+ public abstract class DeviceInfo : INotifyPropertyChanged, IDisposable
{
DeviceOrientation _currentOrientation;
bool _disposed;
+ [EditorBrowsable(EditorBrowsableState.Never)]
public DeviceOrientation CurrentOrientation
{
get { return _currentOrientation; }
- internal set
+ set
{
if (Equals(_currentOrientation, value))
return;