Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 10a9147e authored by Quddus Chong's avatar Quddus Chong
Browse files

docs: Update M resources landing page to include a 'Videos' section.

Change-Id: I5163c13a8c6b881c8036eee4bb5829677734f5b4
parent fc1e7adf
Loading
Loading
Loading
Loading
+19 −4
Original line number Diff line number Diff line
@@ -49,15 +49,30 @@ footer.hide=1
<section class="dac-section dac-gray dac-small dac-invert" id="latest"><div class="wrap">
  <h2 class="norule">Latest</h2>
  <div class="resource-widget resource-flow-layout col-16"
      data-query="type:youtube+tag:androidm, type:blog+tag:marshmallow"
      data-query="type:blog+tag:marshmallow"
      data-sortOrder="-timestamp"
      data-cardSizes="6x3"
      data-cardSizes="6x6"
      data-maxResults="12"
      data-initial-results="3"></div>
</div></section>
</section>

<section class="dac-section"><div class="wrap">
<section class="dac-section" id="videos"><div class="wrap">
  <h1 class="dac-section-title">Videos</h1>
  <div class="dac-section-subtitle">
    Watch these videos to understand and use the features provided in Android
    Marshmallow.
  </div>

  <div class="resource-widget resource-flow-layout col-16"
       data-query="collection:marshmallow/landing/videos"
       data-sortOrder="-timestamp"
       data-cardSizes="6x6"
       data-initial-results="3"></div>
  </div>
</section>

<section class="dac-section dac-gray" id="resources"><div class="wrap">
  <h1 class="dac-section-title">Resources</h1>
  <div class="dac-section-subtitle">
    Essential information to help you get your apps ready for Android 6.0.
@@ -66,6 +81,6 @@ footer.hide=1
  <div class="resource-widget resource-flow-layout col-16"
       data-query="collection:marshmallow/landing/more"
       data-cardSizes="6x6"
       data-maxResults="16"></div>
       data-initial-results="3"></div>
  </div>
</section>
 No newline at end of file
+21 −7
Original line number Diff line number Diff line
@@ -1413,8 +1413,8 @@ var RESOURCE_COLLECTIONS = {
    "title": "",
    "resources": [
      "about/versions/marshmallow/android-6.0.html",
      "about/versions/marshmallow/download.html",
      "about/versions/marshmallow/samples.html"
      "about/versions/marshmallow/samples.html",
      "about/versions/marshmallow/download.html"
    ]
  },
  "autolanding": {
@@ -1648,15 +1648,29 @@ var RESOURCE_COLLECTIONS = {
       "about/versions/marshmallow/samples.html"
    ]
  },
  "marshmallow/landing/more": {
  "marshmallow/landing/videos": {
    "title": "",
    "resources": [
       "https://www.youtube.com/watch?v=yYU4DHLwoRk",
       "https://www.youtube.com/watch?v=ndBdf1_oOGA",
       "https://www.youtube.com/watch?v=C8lUdPVSzDk",
       "https://www.youtube.com/watch?v=VOn7VrTRlA4",
       "https://www.youtube.com/watch?v=HXacyy0HSW0",
       "https://www.youtube.com/watch?v=vcSj8ln-BlE",
       "https://www.youtube.com/watch?v=OW1A4XFRuyc",
       "https://www.youtube.com/watch?v=f17qe9vZ8RM",
       "https://www.youtube.com/watch?v=j3QC6hcpy90"
    ]
  },
  "marshmallow/landing/more": {
  "title": "",
  "resources": [
      "about/versions/marshmallow/android-6.0-changes.html",
      "training/permissions/index.html",
      "training/backup/auto-backup.html",
      "training/app-links/app-linking.html",
      "training/monitoring-device-state/battery-monitoring.html"
      "training/permissions/requesting.html",
      "training/backup/autosyncapi.html",
      "training/app-links/index.html",
      "training/monitoring-device-state/battery-optimization.html",
      "about/versions/marshmallow/testing.html"
    ]
  },
}
+85 −1
Original line number Diff line number Diff line
@@ -3056,12 +3056,96 @@ DISTRIBUTE_RESOURCES = DISTRIBUTE_RESOURCES.concat([
    "summary":"This video covers how to get started with the preview, important APIs to test and how to provide feedback on the preview.",
    "url":"https://www.youtube.com/watch?v=yYU4DHLwoRk",
    "group":"",
    "keywords": ["Marshmallow", "Preview"],
    "keywords": ["Marshmallow"],
    "tags": [],
    "image":"http://i1.ytimg.com/vi/yYU4DHLwoRk/maxresdefault.jpg",
    "lang":"en",
    "type":"Video"
  },
  {
    "title":"Google I/O 2015 - What's new in Android",
    "titleFriendly":"",
    "summary":"This session will highlight the most exciting new developer features of the Android platform.",
    "url":"https://www.youtube.com/watch?v=ndBdf1_oOGA",
    "group":"",
    "keywords": ["Marshmallow"],
    "tags": [],
    "image":"http://i1.ytimg.com/vi/ndBdf1_oOGA/maxresdefault.jpg",
    "lang":"en",
    "type":"Video"
  },
  {
    "title":"Fingerprint and payments APIs",
    "titleFriendly":"",
    "summary":"New fingerprint and payments APIs are introduced in M, to enable enhanced UX and security for online purchasing, banking, and retail payments.",
    "url":"https://www.youtube.com/watch?v=VOn7VrTRlA4",
    "group":"",
    "keywords": ["Marshmallow"],
    "tags": [],
    "image":"http://i1.ytimg.com/vi/VOn7VrTRlA4/maxresdefault.jpg",
    "lang":"en",
    "type":"Video"
  },
  {
    "title":"Introduction to Voice Interaction API",
    "titleFriendly":"",
    "summary":"This video covers how to use the Voice Interaction API to support system or custom voice actions.",
    "url":"https://www.youtube.com/watch?v=OW1A4XFRuyc",
    "group":"",
    "keywords": ["Marshmallow"],
    "tags": [],
    "image":"http://i1.ytimg.com/vi/OW1A4XFRuyc/maxresdefault.jpg",
    "lang":"en",
    "type":"Video"
  },
  {
    "title":"Android Auto Backup for Apps",
    "titleFriendly":"",
    "summary":"Android Backup is the automatic, cloud-based backup and restore of users’ apps when they set up a new device.",
    "url":"https://www.youtube.com/watch?v=HXacyy0HSW0",
    "group":"",
    "keywords": ["Marshmallow"],
    "tags": [],
    "image":"http://i1.ytimg.com/vi/HXacyy0HSW0/maxresdefault.jpg",
    "lang":"en",
    "type":"Video"
  },
  {
    "title":"New APIs in M for Android for Work",
    "titleFriendly":"",
    "summary":"Android M extends Android for Work functionality with a new set of APIs for Enterprise Mobility Management providers to offer new features and policy controls to IT Departments.",
    "url":"https://www.youtube.com/watch?v=vcSj8ln-BlE",
    "group":"",
    "keywords": ["Marshmallow"],
    "tags": [],
    "image":"http://i1.ytimg.com/vi/vcSj8ln-BlE/maxresdefault.jpg",
    "lang":"en",
    "type":"Video"
  },
  {
    "title":"Android for Work: Single Use Devices",
    "titleFriendly":"",
    "summary":"Android M is bringing the power of Android to all kinds of workplaces.",
    "url":"https://www.youtube.com/watch?v=j3QC6hcpy90",
    "group":"",
    "keywords": ["Marshmallow"],
    "tags": [],
    "image":"http://i1.ytimg.com/vi/j3QC6hcpy90/maxresdefault.jpg",
    "lang":"en",
    "type":"Video"
  },
  {
    "title":"Runtime Permissions in Android 6.0 Marshmallow",
    "titleFriendly":"",
    "summary":"Learn how to integrate runtime permissions into your Android app.",
    "url":"https://www.youtube.com/watch?v=C8lUdPVSzDk",
    "group":"",
    "keywords": ["Marshmallow"],
    "tags": [],
    "image":"http://i1.ytimg.com/vi/C8lUdPVSzDk/maxresdefault.jpg",
    "lang":"en",
    "type":"Video"
  },

  {
    "lang": "ja",