am 55d12486: Merge "Give storage provider access to secondary devices." into klp-dev

* commit '55d12486df5e801dc8e74d96abdf87a250bc0ba1':
  Give storage provider access to secondary devices.
am 34163e82: am 55d12486: Merge "Give storage provider access to secondary devices." into klp-dev

* commit '34163e8259db8661afbb267e3b899b64f429bcb7':
  Give storage provider access to secondary devices.
Merge "Fix Tethys asset" into klp-dev
am fed822cb: Merge "Fix Tethys asset" into klp-dev

* commit 'fed822cb8e17579dfa792b40ebe82683088e7779':
  Fix Tethys asset
Delegate existence of account check to Authenticator.

Current AccountManager code for getAuthToken checks if the account
in the request exists. If the account does not exist then it throws
an exception which leads to a runtime exception being thrown by
AccountManager in the client. In perticular, Checkin client code
hits this issue when accounts are deleted by user. As the exception
is thrown from the getAuthToken method call and is a RuntimeException
it is not caught by the client. Futhermore, Checkin runs in one of the
important processes and this exception makes the process crash.

This cl, does the following:
1) Delegates the account exists check to Authentictor which in turn
would cause an AuthenticatorException which is a checked exception.
2) Replaces some of the runtime exceptions thrown by AccountManagerService
with calling AccountManagerResponse.onError() which causes more graceful
failure on the client.
3) Correctly passes on the error returned by Authenticator to
AccountManager. Earlier if Authenticator returned an error code to
the AccountManager, it ignored the error and returned null token to the
client which was incorrect.

Bug: 10856295
Change-Id: Ie250fec601d46f6dfecd74677b478bfd4e9dcfad
am f99e8650: am fed822cb: Merge "Fix Tethys asset" into klp-dev

* commit 'f99e8650c931026e0e119ede672ee12a2d2867a7':
  Fix Tethys asset
am 09e7e0ef: Delegate existence of account check to Authenticator.

* commit '09e7e0ef8bcd8b7b78b79fb570de2032871f0c97':
  Delegate existence of account check to Authenticator.
am 64234cfc: am 09e7e0ef: Delegate existence of account check to Authenticator.

* commit '64234cfc1e0e74774492c2b8208da38ab0250469':
  Delegate existence of account check to Authenticator.
Fix bug #11586041 Regression: text truncation in Clock

Background padding should be used only and only if
- no padding is already defined into a layout file
- an explicit call to setBackground() / setBackgroundDrawable() has been done

Change-Id: I0a732c61b898e006ee86377bcbe7691740d68111
Work on issue #11634365: Leaking restarting services

Tighten up some flows to try to avoid any chance of leaving
a restarting service on the list, add a log to the only remaining
place I could find that we could get in to trouble for some
reason.

Change-Id: Iffb9be9d97deefc6cf0c5790eedfeb6e4e8a36bc
Merge "Disallow transient status bar on the keyguard." into klp-dev
fix typo and clarify meminfo discussion
bug: 11589682

Change-Id: I3b46e6e2ae768284270b3e46c39c7cf14e65d7f7
Merge "Work on issue #11634365: Leaking restarting services" into klp-dev
am 4c6b1afb: fix typo and clarify meminfo discussion bug: 11589682

* commit '4c6b1afb5b1c750b762ec446604834676f1e306b':
  fix typo and clarify meminfo discussion bug: 11589682
am 778eaf4b: Merge "Disallow transient status bar on the keyguard." into klp-dev

* commit '778eaf4bece18d08e91df1d405337a18c3abcd57':
  Disallow transient status bar on the keyguard.
am 596e409e: Merge "Work on issue #11634365: Leaking restarting services" into klp-dev

* commit '596e409ec9703e5071bb9a0de08787cde7745f7a':
  Work on issue #11634365: Leaking restarting services
am 57a81a78: am 4c6b1afb: fix typo and clarify meminfo discussion bug: 11589682

* commit '57a81a7839a50fe8f360f8fd82f857ea095a8a1d':
  fix typo and clarify meminfo discussion bug: 11589682
am da721a99: am 778eaf4b: Merge "Disallow transient status bar on the keyguard." into klp-dev

* commit 'da721a99febae345d28f9afa5b9679a1c54a2f6b':
  Disallow transient status bar on the keyguard.
am 0259c010: am 596e409e: Merge "Work on issue #11634365: Leaking restarting services" into klp-dev

* commit '0259c010221c73db11ee52b4b0758a179e5c0db1':
  Work on issue #11634365: Leaking restarting services
PreferencesFragment showing the breadcrumb area in single pane mode.

If the PreferenceActivity is running in a single pane mode we are
not showing the headers and the breadcrumb area. However, when this
activity is restarted and has a saved state to restore we are trying
to use headers even in a single pane mode. As a result the breadcrumb
area is shown and the content is shifted to the bottom with an empty
space at the top. This change ignores the saved headers from the
saved instance state in a single pane mode. Note that in such a case
these headers are null anyway as we do not use them.

bug:11242762

Change-Id: I2828bc82762695d9c93fb4ca43933598a9b12b87