Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit 6b816f7

Browse files
authored
[Core,iOS,Droid,UWP,Tizen] Remove MediaElement (#12007)
* [Core,UWP,iOS,Android] Remove MediaElement * [Tizen] Remove MediaElement * [WPF] Remove reference to MediaElement * [Tests] Remove MediaSourceTests * [Core] Remove MediaSource * [Tizen] Remove extra files related with MediaElement * Update ExperimentalFlags.cs * [Controls] Removing References to MedialElement strings * [Controls] Remove reference to MediaElement flag
1 parent c05e04d commit 6b816f7

File tree

42 files changed

+6
-4238
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+6
-4238
lines changed

Stubs/Xamarin.Forms.Platform.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,6 @@ internal class _PageRenderer { }
166166
#endif
167167
internal class _MasterDetailPageRenderer { }
168168

169-
[RenderWith (typeof(MediaElementRenderer))]
170-
internal class _MediaElementRenderer { }
171-
172169
[RenderWith(typeof(RefreshViewRenderer))]
173170
internal class _RefreshViewRenderer { }
174171

Xamarin.Forms.ControlGallery.Android/FormsAppCompatActivity.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ protected override void OnCreate(Bundle bundle)
4545

4646
#if TEST_EXPERIMENTAL_RENDERERS
4747
#else
48-
Forms.SetFlags("UseLegacyRenderers", "SwipeView_Experimental", "MediaElement_Experimental");
48+
Forms.SetFlags("UseLegacyRenderers", "SwipeView_Experimental");
4949
#endif
5050
Forms.Init(this, bundle);
5151

Xamarin.Forms.ControlGallery.Tizen/ControlGallery.Tizen.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ static void Main(string[] args)
2222
{
2323
var app = new MainApplication();
2424
FormsMaps.Init("HERE", "write-your-API-key-here");
25-
Forms.SetFlags("CollectionView_Experimental", "Shell_Experimental", "MediaElement_Experimental");
25+
Forms.SetFlags("CollectionView_Experimental", "Shell_Experimental");
2626
Forms.Init(app);
2727
FormsMaterial.Init();
2828
app.Run(args);

Xamarin.Forms.ControlGallery.WPF/MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public partial class MainWindow : FormsApplicationPage
1010
public MainWindow()
1111
{
1212
InitializeComponent();
13-
Forms.SetFlags("CarouselView_Experimental", "MediaElement_Experimental", "RadioButton_Experimental");
13+
Forms.SetFlags("CarouselView_Experimental", "RadioButton_Experimental");
1414
Xamarin.Forms.Forms.Init();
1515
FormsMaps.Init("");
1616
LoadApplication(new Controls.App());

Xamarin.Forms.ControlGallery.WindowsUniversal/App.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ protected override void OnLaunched(LaunchActivatedEventArgs e)
7171

7272
rootFrame.NavigationFailed += OnNavigationFailed;
7373

74-
Forms.SetFlags("Shell_UWP_Experimental", "SwipeView_Experimental", "MediaElement_Experimental");
74+
Forms.SetFlags("Shell_UWP_Experimental", "SwipeView_Experimental");
7575
Forms.Init (e);
7676
//FormsMaps.Init (Controls.App.Config["UWPMapsAuthKey"]);
7777

Xamarin.Forms.ControlGallery.iOS/AppDelegate.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public override bool FinishedLaunching(UIApplication uiApplication, NSDictionary
151151
App.IOSVersion = int.Parse(versionPart[0]);
152152

153153
Xamarin.Calabash.Start();
154-
Forms.SetFlags("SwipeView_Experimental", "MediaElement_Experimental");
154+
Forms.SetFlags("SwipeView_Experimental");
155155
Forms.Init();
156156
FormsMaps.Init();
157157
FormsMaterial.Init();

Xamarin.Forms.Controls/CoreGallery.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,6 @@ public override string ToString()
415415
new GalleryPageFactory(() => new ListViewDemoPage(), "ListView Demo Gallery - Legacy"),
416416
new GalleryPageFactory(() => new MapGallery(), "Map Gallery - Legacy"),
417417
new GalleryPageFactory(() => new MapWithItemsSourceGallery(), "Map With ItemsSource Gallery - Legacy"),
418-
new GalleryPageFactory(() => new MediaElementDemoPage(), "MediaElement"),
419418
new GalleryPageFactory(() => new MapElementsGallery(), "Map Elements Gallery - Legacy"),
420419
new GalleryPageFactory(() => new MinimumSizeGallery(), "MinimumSize Gallery - Legacy"),
421420
new GalleryPageFactory(() => new MultiGallery(), "Multi Gallery - Legacy"),

Xamarin.Forms.Controls/GalleryPages/MediaElementDemoPage.cs

Lines changed: 0 additions & 190 deletions
This file was deleted.

Xamarin.Forms.Core.UnitTests/Markup/DefaultBindablePropertiesTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ public void AllBindableElementsInCoreHaveDefaultBindablePropertyOrAreExcluded()
4848
{ typeof(InputView), na },
4949
{ typeof(ItemsLayout), na },
5050
{ typeof(LinearItemsLayout), na },
51-
{ typeof(MediaSource), na },
5251
{ typeof(Menu), na },
5352
{ typeof(MultiTrigger), na },
5453
{ typeof(NavigableElement), na },

Xamarin.Forms.Core.UnitTests/MediaElementTests.cs

Lines changed: 0 additions & 92 deletions
This file was deleted.

0 commit comments

Comments
 (0)