Commit Graph

176 Commits

Author SHA1 Message Date
Daniel Yu
aa67ac1817 resolve merge conflicts of ac5b340 to nyc-dev
Change-Id: I3a7af34cdf7656896a3895c61c8c58d6f8f094a0
2016-06-24 11:13:40 -07:00
Daniel Yu
83b25f7c46 docs: Fixing MediaSession note in PIP preview docs
Updating PIP preview docs to mention that devs need to
use MediaSession.setCallback to get input events while in
PIP mode, and not MediaSession.setMediaButtonReceiver.

Note: Changes also include changes made previously for
DP4 in a different branch that for some reason were not
auto-merged into mnc-io-docs, so including these changes
as well to ensure they don't get overwritten.

Bug: 29215189
Change-Id: Iab51c26ebd1f1403633eb9a1616d43690173446c
2016-06-22 10:07:32 -07:00
Dan Yu
189ef624d1 Merge \\"docs: Clarifying direct boot notification messages\\" into mnc-io-docs am: 120fd583d5
am: 4c5e5ec6d5

Change-Id: I2bfe82b79c928d10b7725315d42b00a1994bbd52
2016-06-14 19:59:36 +00:00
Dan Yu
120fd583d5 Merge "docs: Clarifying direct boot notification messages" into mnc-io-docs 2016-06-14 19:49:12 +00:00
Daniel Yu
23a7c7e087 docs: Clarifying direct boot notification messages
Adding details on which notification message to listen for
when developing apps that need to interact with direct boot mode.
Note: This is a doc fix for the N direct boot feature docs, but
not specific to any preview release.

Bug: 28729775
Change-Id: If6b239e7aa92bced735cfa1e72d8891d193a420c
2016-06-14 08:33:39 -07:00
Kevin Hufnagle
f6250cc7df Merge "docs: Expanded description of "Key Attestation" N Preview feature." into nyc-dev 2016-06-14 02:53:30 +00:00
Kevin Hufnagle
23239ca66e docs: Expanded description of "Key Attestation" N Preview feature.
The Key Attestation section within the Android N Preview "API
Overview" page now links to a separate page, which contains a
procedure for completing the attestation process, as well as the
certificate schema and its elements' associated descriptions.

Bug: 28851641
Change-Id: If96af7f5e7e6ba9297f48f20c669591b1a9ee9ce
2016-06-13 16:42:15 -07:00
Andrew Solovay
2cb6ca1892 Merge \\"docs: Corrected method name in multi-window docs\\" into mnc-io-docs am: 0e68b6b5fc
am: 2c0261224a

Change-Id: I52a482a04b5a8789d48a5347c9a5fc63010462b6
2016-06-13 21:24:19 +00:00
Andrew Solovay
7ebbf85590 docs: Corrected method name in multi-window docs
Confirmed on nyc-dev, the method name is
Activity.RequestDragAndDropPermissions(), not--as incorrectly
stated--Activity.RequestDropPermissions(). Updating preview docs
accordingly.

See first comment for doc stage location.

bug: 29057218
Change-Id: If147a9a5758abbe8fc46a6b40720e1328c78a095
2016-06-10 13:17:08 -07:00
Dan Yu
22dec763a3 Merge "docs: Updates for picture-in-picture docs for N DP4" into nyc-dev 2016-06-08 16:22:27 +00:00
Eric Schmidt
d0ef8a0147 docs: Added CL commands for data-saver testing am: b603eae9b3
am: 2d05938af9

* commit '2d05938af9e572ca9582552ad966c18b7b83e94f':
  docs: Added CL commands for data-saver testing

Change-Id: Ic0f9a82f05dc32b162013df51c155f2a1a206c45
2016-06-07 21:52:54 +00:00
Eric Schmidt
b603eae9b3 docs: Added CL commands for data-saver testing
Bug: 28951799
Change-Id: I03ae59b1d98b8e58dc859c8158b318718c8a9f13
2016-06-07 21:22:52 +00:00
Eric Schmidt
9ad88ce3fe Merge "docs: Fixed background optmizations code snippet" into mnc-io-docs am: 0b8eb8c1e8
am: 76297d719d

* commit '76297d719d5bbe2dcce65c357591c22b1a1d3293':
  docs: Fixed background optmizations code snippet

Change-Id: I66a1141d843dedb78b3abbbfa7820367779087b9
2016-06-03 02:59:57 +00:00
Eric Schmidt
0b8eb8c1e8 Merge "docs: Fixed background optmizations code snippet" into mnc-io-docs 2016-06-03 02:41:46 +00:00
Billy Lamberta
a092b6cdb9 docs: work minisite post-launch fixes am: 9fec73a47c
am: 84903c24ed

* commit '84903c24ed74c75a2217648a96931cc3045143ea':
  docs: work minisite post-launch fixes

Change-Id: I0477d9cb98a79a5d9b218e33877178562e53cbd5
2016-06-02 22:04:13 +00:00
Billy Lamberta
9fec73a47c docs: work minisite post-launch fixes
* Localization for table of contents.

* Replace occurrences of 'app restrictions' with the preferred
term 'managed configurations' (see go/afw-words). Update resource
card titles and add page redirects.

* In guide, update language for SSO with Chrome Custom Tabs.
(Cherry-picked from 1056063.)

* Add resource card for 'Your Apps at Work' video.

bug: 28378252, 27744376
Change-Id: I8bc2e87d0486159bdd6680600b783af7334c3a58
2016-06-02 13:04:57 -07:00
Daniel Yu
81bd120f26 docs: Updates for picture-in-picture docs for N DP4
Adding two updates requested by eng for DP4: Devs should
use onStop/Start to pause and resume video playback instead
of onPause/Resume. Devs should manage audio focus properly
while in PIP mode to avoid interferring with other audio apps.

Bug: 29045184
Change-Id: Id3c302ff13b76c84bc3f4a51dd2dbf9688403669
2016-06-01 12:59:30 -07:00
Eric Schmidt
28ed18877b Merge "docs: Fixed \'MessageStyle\' typo" into mnc-io-docs am: 8ef79a9246
am: 51500a1c5a

* commit '51500a1c5ad6ce1bde1f8966f9835b42d9419a95':
  docs: Fixed 'MessageStyle' typo

Change-Id: I87addb7b46d0985b2cbfc92e6f0f9a7d44ce8963
2016-06-01 18:25:35 +00:00
Eric Schmidt
556dff9c73 docs: Fixed background optmizations code snippet
Bug: 28341003
Change-Id: I42b26f52ac6f17b684a8a9673b5acd9d9e647a7f
2016-06-01 11:13:57 -07:00
Eric Schmidt
804482222c docs: Fixed 'MessageStyle' typo
Bug: 28964745
Change-Id: Ida96fbae10fa70c4cfffdad8642cfb4c8132c3a3
2016-05-31 11:56:03 -07:00
Chad Brubaker
86bceb87ca Merge "Merge "Track changes to network security config manifest configuration" into mnc-mr-docs am: c0f99aebdc" into mnc-io-docs am: ce99e3c571
am: 11b56641e5

* commit '11b56641e5e466f5ca14bd118e819c3f04820d38':
  Track changes to network security config manifest configuration

Change-Id: I25e463154d084223dbafdf3e2ab99bfdb52769fb
2016-05-26 04:47:44 +00:00
Chad Brubaker
094e1470d9 Merge "Track changes to network security config manifest configuration" into mnc-mr-docs
am: c0f99aebdc

* commit 'c0f99aebdc7c803600e12cbe0d940219069eb066':
  Track changes to network security config manifest configuration

Change-Id: I46fc434934428ffbdfd7816c0a3b2590f97d4713
2016-05-26 04:26:11 +00:00
Chad Brubaker
c0f99aebdc Merge "Track changes to network security config manifest configuration" into mnc-mr-docs 2016-05-26 04:09:40 +00:00
Chad Brubaker
56f2f91793 Merge "Fix incorrect cleartext attribute" into mnc-mr-docs am: f2e0a719d0 am: 56f32483b0
am: d1df52a46b

* commit 'd1df52a46beb5babd0d9f3257b2ade53c9c763cf':
  Fix incorrect cleartext attribute

Change-Id: I613e1eae55525d0326a8513ed25903bbaf0d3fb9
2016-05-25 18:36:47 +00:00
Chad Brubaker
56f32483b0 Merge "Fix incorrect cleartext attribute" into mnc-mr-docs
am: f2e0a719d0

* commit 'f2e0a719d00c4a7c6865f6784efc9b3f88421136':
  Fix incorrect cleartext attribute

Change-Id: I83bfa396764d6724ceb483e256a96b929c7886d4
2016-05-25 18:16:03 +00:00
Chad Brubaker
80fd4e1292 Fix incorrect cleartext attribute
Bug: 28914756
Change-Id: Icb3b34b8b088eb8c03eb0b7049670df6d65973f9
2016-05-23 15:30:52 -07:00
Chad Brubaker
ef88f26b03 Track changes to network security config manifest configuration
Bug: 28908502
Bug: 28763009
Change-Id: If104c2344287ac3e19c34ff0e7cbff0cd6e95c98
2016-05-23 13:09:54 -07:00
Tony Mak
53b5df43b4 Rename PROPERTY_WORK_CALL to PROPERTY_ENTERPRISE_CALL based on API review
TODO: After updating all places that use the SDK, remove/hide the old API

Bug: 28842878

Change-Id: I131be644439080dd0507cd10d8bd6618246ee7ad
2016-05-20 15:39:38 +00:00
Andrii Kulian
13778161ea Merge "Update docs for minWidth/minHeight attributes" into nyc-dev 2016-05-19 01:42:15 +00:00
Hemal Patel
593de1ab98 Docs: Fixed a wrong adb command example
Bug: 28310568

Change-Id: Ie727a7dcbcba23a6fed36ff6b1572096d3cc7832
2016-05-17 17:51:51 -07:00
Andrii Kulian
3bc57882c8 Update docs for minWidth/minHeight attributes
Rename WindowLayout#minimalWidth and #minimalHeight to #minWidth
and #minHeight to be consistent with other APIs.

Bug: 28775586
Change-Id: I6064db6aa41a32118619b69c7db07a612f5597ac
2016-05-17 12:36:22 -07:00
David Friedman
bf56921d35 Merge "Docs: CL for continuing work on tactically merged N-DP3 docs." into mnc-io-docs 2016-05-17 03:17:41 +00:00
David Friedman
182e8b53ea Docs: CL for continuing work on tactically merged N-DP3 docs.
This CL continues the work from ag/1036623 and ag/1036124.

Change-Id: Ic1e026ed9f53a389a0435c2b8e21edfe9ef635c4
2016-05-16 19:39:08 -07:00
Dirk Dougherty
b33f36497d Merge "Update default image for n preview docs. Update tools resources." into mnc-mr-docs
am: 0a957d5aa2

* commit '0a957d5aa28920f8854070676955f941e3ae6726':
  Update default image for n preview docs. Update tools resources.

Change-Id: I3fa206d3bfc74d20cb74e19f0d084d62fb47c0e2
2016-05-16 22:31:30 +00:00
Dirk Dougherty
9ae42db319 Update default image for n preview docs. Update tools resources.
Change-Id: I25dcaa9ad0a0b44e84aff49a08481b643b03ea28
2016-05-16 13:55:23 -07:00
Andrew Solovay
c88130c572 docs: Updates to multi-window and related docs. am: 4d93a21980
am: 8263d6c0a3

* commit '8263d6c0a35a5467764ed12d6586ab176fdc15ff':
  docs: Updates to multi-window and related docs.

Change-Id: Ia571cf3a38f1cd621bba6bc35d9b2b836361d7b5
2016-05-13 22:00:39 +00:00
Andrew Solovay
4d93a21980 docs: Updates to multi-window and related docs.
Clarified behavior when activity is resized or put in fullscreen
mode, per b/28580007 . Also (per email from o-o) removed misleading
statement about when onStop() might or might not be called.

Both changes can go live now (multiwindow update applies to DP1 & 2,
and onStop() clarification applies to all versions of API), so I'll
submit as soon as this is approved.

See first comment for doc stage location.

bug: 28580007
Change-Id: Ib008f24e5796ec7810b67c91e512e679680d4afd
2016-05-13 13:33:55 -07:00
David Friedman
272db39ad8 Merge "docs: Continue CL of notifications updates" into mnc-io-docs 2016-05-13 02:36:40 +00:00
Eric Schmidt
c563e0b99b docs: Continue CL of notifications updates
Bug: 28520914
Change-Id: If0bbd5c503e4149fcd8f1db34fe7847a6cbefd20
2016-05-12 18:33:25 -07:00
Adarsh Fernando
b1386a73ac Docs: Added new Whitelist feature to Data Saver for DP3 (Part 2)
Bug: 28447739
Change-Id: Ibdbf0bd315fc228b076c5b91061bcb8080de96d3
2016-05-12 17:10:41 -07:00
Adarsh Fernando
ef189e9346 Merge "Docs: Added new Whitelist feature to Data Saver for DP3" into mnc-io-docs 2016-05-12 00:21:54 +00:00
Eric Schmidt
f087f0674e Merge "docs: Updates to notifications for DP3" into mnc-io-docs 2016-05-12 00:08:26 +00:00
Dan Yu
957a1ad775 Merge "docs: Updating TV recording API docs for N DP3" into mnc-io-docs 2016-05-11 23:09:37 +00:00
Eric Schmidt
57a83b5510 docs: Updates to notifications for DP3
Bug: 28520914
Change-Id: Ic90cadbb63afcba9223c022d9728a9989aa9dc71
2016-05-11 13:17:13 -07:00
Adarsh Fernando
2ba8e2a120 Docs: Added new Whitelist feature to Data Saver for DP3
Bug: 28447739
Change-Id: I064d927435b1b71d13b8728493060019f84805c1
2016-05-10 14:19:07 -07:00
Daniel Yu
3f2dd58872 docs: Updating Scoped Directory Access docs for N DP3
Adding info about new getStorageVolume(File) API.

Bug: 28449136

Change-Id: I33f91a65cb9c926a9f1569bf4bea637f622c1e71
2016-05-09 21:59:22 +00:00
Daniel Yu
9bef35b598 docs: Updating TV recording API docs for N DP3
Updating TV recording docs: change for TvInputManager.updateTvInputInfo(),
adding info on new android:canRecord attribute.

Bug: 28451239

Change-Id: I11bdb41245c5aedec566211b853293ed079c140c
2016-05-09 21:56:59 +00:00
Daniel Yu
ff091e1708 docs: Fixing various minor issues
Fixes to minor issues (typos and other things that don't require
editorial review) in Android docs.

Staged page URLs provided in CL comments.

Bug: 28172346
Bug: 22411462
Bug: 26422744
Bug: 26776224
Change-Id: Ic3aa8495a1d76a5ce3bccb5037b4172443664d0b
2016-04-20 11:00:37 -07:00
Adarsh Fernando
58cd6d4d03 Docs: Background optimizations 'foreground' -> 'running app' fix.
Change-Id: I2ad646f09303a8472a00a1132d50cfa9a8c8409a
2016-04-19 08:16:03 -07:00
Kevin Hufnagle
4a17d8f871 Merge "docs: Enhanced description of "direct reply" workflow." into mnc-mr-docs 2016-04-12 23:46:55 +00:00