Fix typo in DevicePolicyManager documentation

Typo in DevicePolicyManager documentation
See: http://code.google.com/p/android/issues/detail?id=60235

Change-Id: Ic120297cfdc46ec49f870e0750ec831ba6362399
fix "Adding a list" demo code error

See: http://code.google.com/p/android/issues/detail?id=60125

The bug is on this page:
http://developer.android.com/guide/topics/ui/dialogs.html#AlertDialog

The code for the AlertDialog "adding a list" is currently:
@Override
public Dialog onCreateDialog(Bundle savedInstanceState) {
    AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
    builder.setTitle(R.string.pick_color);
           .setItems(R.array.colors_array, new DialogInterface.OnClickListener() {
               public void onClick(DialogInterface dialog, int which) {
               // The 'which' argument contains the index position
               // of the selected item
           }
    });
    return builder.create();
}

It's a small error:
    builder.setTitle(R.string.pick_color);
           .setItems(R.array.colors_array, new

should be

    builder.setTitle(R.string.pick_color)
           .setItems(R.array.colors_array, new

The ";" should not be there.

Change-Id: Ib80a51287ab1d17f6f4cd9dfff0d62b9e1874623
fix typo in training article: "SMP Primer for Android"

See: http://code.google.com/p/android/issues/detail?id=60136

On page http://developer.android.com/training/articles/smp.html, do a page search for "C+++", that should probably be "C++"

Change-Id: I1aa5ff2ab116fa3131fbd64f6ee203aac39fe8bd
Fix SELinux.java doc errors

This fixes five errors when building the Java docs. It also
removes two obsolete lines.

Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>
Navbar: Fix MDPI & HDPI landscape layout

Before: http://i.imgur.com/89SmFbX.png
After: http://i.imgur.com/UbuAggD.png

Change-Id: I6623cb97881313886de39a67baa98f7bd4b0696a
PreferenceFragment : Set title if specified

Set the title of the preference activity if specified by the
preference screen.

Example of where it is broken :

Settings -> Accessibility
Title says "Accessibility", but preferencescreen's android:title attribute
specified "Accessibility settings"

Change-Id: Icc89cf6bc37e3f6fc98c6bc05a0ef47185daa52c
Lockscreen: Fix mdpi layout issues

Before: http://i.imgur.com/gXNUt97.png
After: http://i.imgur.com/ppevA6M.png

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I5bc893f12096d288d04d7cfa442b471002178a3a
AudioService: allow volume control on analog dock

This re-enables volume control on some Motorola docks.

Change-Id: If7751867de2c0cefb5a8518b5a6a607a9676b946