OSDN Git Service

docs: Update code snippet so it doesn't depend on the sample app
authorAndrew Solovay <asolovay@google.com>
Fri, 16 Oct 2015 23:00:36 +0000 (16:00 -0700)
committerAndrew Solovay <asolovay@google.com>
Tue, 20 Oct 2015 22:49:53 +0000 (15:49 -0700)
commitf01aca2caf43bedf35c7faa7401cbac45391cba1
tree1a52ea5863693fb9fbe4baf01ae5933a86132b14
parent673e47363c6c6fc5e129568bd71a2e0554fc1372
docs: Update code snippet so it doesn't depend on the sample app

The code snippet was copied straight from the MediaBrowserService
sample app. Since the code snippet consisted almost entirely of
calls to *other* methods in that sample app, the snippet wasn't
very helpful--and it wouldn't be helpful to add a lot of verbiage
explaining the sample app. So instead, I made the code more generic
(e.g. comments saying "You need to write code to check for XYZ")
followed by a link to the sample app.

Fixed other miscellaneous problems in the code snippets while we had
the file open.

See first comment for doc stage location.

bug: 20008288
Change-Id: Ic080ebffcc43e332ec3335b730c07ef5f8b64fa9
docs/html/training/auto/audio/index.jd