185627 Commits

Author SHA1 Message Date
Filip Gruszczynski
81c47fc23a am 86318d76: Merge "Option for going home when going to sleep for devices without physical button." into lmp-mr1-modular-dev
* commit '86318d768a2c5043e1261e9daacf1497d1e4a732':
  Option for going home when going to sleep for devices without physical button.
2015-03-17 18:35:17 +00:00
Filip Gruszczynski
17413eb575 Add animation to zeroing burn in protection.
Also don't shift immediately after starting ambient mode, but wait until
the first update.

Bug: 19521822
Change-Id: Id0b267d0f30e4533195dcfadbed726db0866e4db
2015-03-17 11:30:12 -07:00
Filip Gruszczynski
86318d768a Merge "Option for going home when going to sleep for devices without physical button." into lmp-mr1-modular-dev 2015-03-17 18:29:30 +00:00
John Spurlock
83957a3f7d QS: 'Cast screen' -> 'Cast'.
Bug: 19773357
Change-Id: I967c972986af4eb97374d7cde1d3b19fb28986ff
2015-03-17 14:23:03 -04:00
John Spurlock
b94f2d6cad Audio: Flag volume adjustments from hardware keys.
Bug: 19793279
Change-Id: If20d70c13c9e7d1f8a6b31e0069564073d30e2bc
2015-03-17 14:15:02 -04:00
Jean-Michel Trivi
422cb3c6b5 Merge "Notify newly registered audio focus listener of current focus owner" 2015-03-17 18:05:04 +00:00
James Cook
4bd79b7556 Recents: Tapping on background returns to launcher
Conceptually the area outside the recents task stack looks like a
"desktop". Make a non-scroll tap outside the task stack close
recents and return to the launcher.

Bug: 19271451
Change-Id: I9e639d6b5c6127bc37e1003152ef7a6fcbc2c2f3
2015-03-17 10:59:44 -07:00
Ruben Brunk
443ab2c7db camera2: Release surface in ImageReader#close and fix legacy cleanup
Bug: 19694090
Change-Id: I344ad707dbd414db023e4770769b5237bd3bbb4e
2015-03-17 17:49:29 +00:00
Jeff Tinker
5f1be4be08 Merge "Deprecate redundant event, should handle via NotProvisionedException" 2015-03-17 17:49:11 +00:00
Tobias Sargeant
9ad4c44308 Merge "Add visual state callbacks to the WebView." 2015-03-17 17:07:11 +00:00
Ricky Wai
323b30e849 Add Email.ENTERPRISE_CONTENT_LOOKUP_URI
Bug: 19550046
Change-Id: I56d8e5b3817a98e00d1f73555e10ac6b780e511e
2015-03-17 17:02:01 +00:00
Wale Ogunwale
fd5767fa37 Merge "Remove duplicate move of home stack that can cause animation jank." 2015-03-17 16:53:34 +00:00
Dan Sandler
06433bd9f3 Avoid crashing on corrupted notifications.
If a notification content view has an @id/icon or
@id/right_icon, we need to make sure those ImageViews
actually have a drawable inside.

Bug: 19487078
Change-Id: I4ef6c4a10926823aa8680628097ed150d9e717d4
2015-03-17 16:34:34 +00:00
Clara Bayarri
15f78bbd6f Merge "Floating toolbars: Add content rect related methods to API" 2015-03-17 15:43:51 +00:00
Tobias Sargeant
a8352f4031 Add visual state callbacks to the WebView.
Registering a visual state callback allows the caller to be notified
after the commit, activation and swap of the current (or future) state
of the DOM tree has occurred. At the point at which the callback is
called, the caller can be sure that any DOM updates made prior to
the registration are ready to be drawn in the next WebView#onDraw.

We also provide a convenience callback related to the visual state:

* WebViewClient.onPageCommitVisible; called at the earliest point at
  which the next draw will not render contents from the previously
  loaded page.

Bug: 6375170
Change-Id: I17e706b6e6ba4a8c28c835552687c9f7a4623024
2015-03-17 15:19:07 +00:00
Yohei Yukawa
7fa1e7f20f Merge "Remove deprecated hidden public methods from InputMethodUtils." 2015-03-17 15:16:43 +00:00
Deepanshu Gupta
74bf54037c am 199a70f1: am 576801ff: am 842eee9f: am 1f9a26af: am 158c08bc: am ada85905: Fix AppCompat action bar theming.
* commit '199a70f1820c38a9f1db1697ad91c4f5f07d00aa':
  Fix AppCompat action bar theming.
2015-03-17 14:53:17 +00:00
Deepanshu Gupta
a0c3191b74 am 0f8c9d1d: am a5be9a7d: am 38467b5f: am 9a00f1c8: am 79f7fce7: am 2e4d9324: Fix NoActionBar themes rendering.
* commit '0f8c9d1df28ed10b1c9013ddd315b306868e349d':
  Fix NoActionBar themes rendering.
2015-03-17 14:53:10 +00:00
Mathieu Chartier
6f6f825ebb am 5ec7c78d: am 008ec61e: Merge "Change jit properties to be debug properties"
* commit '5ec7c78d52a5a01ed1755ad8b8e486e4c6f05a93':
  Change jit properties to be debug properties
2015-03-17 14:47:24 +00:00
Deepanshu Gupta
199a70f182 am 576801ff: am 842eee9f: am 1f9a26af: am 158c08bc: am ada85905: Fix AppCompat action bar theming.
* commit '576801ff82a85c4de19404dfe364eef7184b84e0':
  Fix AppCompat action bar theming.
2015-03-17 14:44:52 +00:00
Deepanshu Gupta
0f8c9d1df2 am a5be9a7d: am 38467b5f: am 9a00f1c8: am 79f7fce7: am 2e4d9324: Fix NoActionBar themes rendering.
* commit 'a5be9a7d2d2cbcd3892fc916c9a944745024881d':
  Fix NoActionBar themes rendering.
2015-03-17 14:44:46 +00:00
Mathieu Chartier
5ec7c78d52 am 008ec61e: Merge "Change jit properties to be debug properties"
* commit '008ec61e0ccff0ca92cc0d2b5b73a1d620d3aad3':
  Change jit properties to be debug properties
2015-03-17 14:36:50 +00:00
Deepanshu Gupta
576801ff82 am 842eee9f: am 1f9a26af: am 158c08bc: am ada85905: Fix AppCompat action bar theming.
* commit '842eee9f816a2e35bf3c9ce6c14cd5e43684265b':
  Fix AppCompat action bar theming.
2015-03-17 14:36:05 +00:00
Deepanshu Gupta
a5be9a7d2d am 38467b5f: am 9a00f1c8: am 79f7fce7: am 2e4d9324: Fix NoActionBar themes rendering.
* commit '38467b5fbbc09ad05624454f735d27ada25565c8':
  Fix NoActionBar themes rendering.
2015-03-17 14:35:58 +00:00
Andreas Gampe
11b07c05ac am 14e436ae: am 345a8f69: Merge "Frameworks/base: Fix a comparison"
* commit '14e436aec45e7d83c2b3695c07d9740b9fd7f043':
  Frameworks/base: Fix a comparison
2015-03-17 14:29:50 +00:00
Deepanshu Gupta
842eee9f81 am 1f9a26af: am 158c08bc: am ada85905: Fix AppCompat action bar theming.
* commit '1f9a26af95abba385b612c734d1d5e32d9e3f363':
  Fix AppCompat action bar theming.
2015-03-17 14:28:37 +00:00
Deepanshu Gupta
38467b5fbb am 9a00f1c8: am 79f7fce7: am 2e4d9324: Fix NoActionBar themes rendering.
* commit '9a00f1c84b7a7936a12415a08604ac8fb98ec5ea':
  Fix NoActionBar themes rendering.
2015-03-17 14:28:33 +00:00
Deepanshu Gupta
1f9a26af95 am 158c08bc: am ada85905: Fix AppCompat action bar theming.
* commit '158c08bcf1cd0bc702748ee2a4cf6aa259c26147':
  Fix AppCompat action bar theming.
2015-03-17 14:16:50 +00:00
Deepanshu Gupta
9a00f1c84b am 79f7fce7: am 2e4d9324: Fix NoActionBar themes rendering.
* commit '79f7fce7a49e7b7cd414ff5c3fdb5cbaae45c1f1':
  Fix NoActionBar themes rendering.
2015-03-17 14:16:42 +00:00
Yohei Yukawa
6aa0378878 Remove deprecated hidden public methods from InputMethodUtils.
This is a follow up CL for a recent attempt to minimize
the number of default enabled IMEs.
- part1: I831502db502f4073c9c2f50ce7705a4e45e2e1e3
- part2: Ife93d909fb8a24471c425c903e2b7048826e17a3
- part3: I6571d464a46453934f0a8f5e79018a67a9a3c845
- part4: I871ccda787eb0f1099ba3574356c1da4b33681f3

This CL removes following deprecated hidden public methods
from InputMethodUtils as planned.
- isSystemImeThatHasEnglishKeyboardSubtype(InputMethodInfo)
- isValidSystemDefaultIme(boolean, InputMethodInfo, Context)
- containsSubtypeOf(InputMethodInfo, String, String)

This is a pure code refactoring with preserving the current
logic. Hence no behavior change is intended.

Change-Id: I1ff994cbbdef83e1e907a0d88aa9ae09d45263b4
2015-03-17 21:59:26 +09:00
Christopher Tate
bb41a5f6de Merge "Back up / restore spell checker configuration" 2015-03-17 02:17:34 +00:00
Christopher Tate
9e98b63c4c Merge "Merge restored accessibility enable state, don't overwrite" 2015-03-17 02:13:15 +00:00
Christopher Tate
3d0bdf6f71 Merge "Notification listener backup & restore" 2015-03-17 02:12:13 +00:00
Mathieu Chartier
008ec61e0c Merge "Change jit properties to be debug properties" 2015-03-17 02:04:34 +00:00
Vishwath Mohan
0ef152ad75 Merge "Handle malformed manifests in printXMLBlock" 2015-03-17 01:52:25 +00:00
Christopher Tate
06cbaddb87 Back up / restore spell checker configuration
Bug 19779845

Change-Id: Ib8382f0296f0726b64494d3b1fd8237e13adb540
2015-03-16 18:29:42 -07:00
Clara Bayarri
cba5fc22d1 Floating toolbars: Add content rect related methods to API
This CL adds the ActionMode.Callback2 abstract class and the rect
invalidate method needed to add the content rect API for Floating
Toolbars. It also extends the existing ActionModeCallbackWrapper in
DecorView to handle the case when ActionMode.Callback is provided
instead of Callback2, falling back to a default implementation.

Change-Id: Ia918ddfcfdf73d0e4cafd24c4a0573245d497cfe
2015-03-17 01:07:14 +00:00
Christopher Tate
2d4aadca94 Merge restored accessibility enable state, don't overwrite
We do not want to accidentally disable the user's currently-enabled
accessibility service(s); presumably they turned them on during
setup for a reason.  We now merge the prior + current states rather
than simply replacing the current state with the former.

Bug 19427367

Change-Id: I96eb47df57318c88066c5da6862f23f656639148
2015-03-16 17:39:07 -07:00
Andreas Gampe
14e436aec4 am 345a8f69: Merge "Frameworks/base: Fix a comparison"
* commit '345a8f69ea2acd6d3ecf4c200cb33e8037f8798c':
  Frameworks/base: Fix a comparison
2015-03-17 00:25:04 +00:00
Deepanshu Gupta
158c08bcf1 am ada85905: Fix AppCompat action bar theming.
* commit 'ada8590547348b77d8cbd56abdb8fadb3e72c015':
  Fix AppCompat action bar theming.
2015-03-17 00:21:02 +00:00
Deepanshu Gupta
79f7fce7a4 am 2e4d9324: Fix NoActionBar themes rendering.
* commit '2e4d93245764a1c1d7515361ddbb8fc1665f814e':
  Fix NoActionBar themes rendering.
2015-03-17 00:20:58 +00:00
Andreas Gampe
345a8f69ea Merge "Frameworks/base: Fix a comparison" 2015-03-17 00:12:25 +00:00
Dongwon Kang
8c6e4b3980 Merge "TIF: Add getDescription() method to TvTrackInfo." 2015-03-16 23:58:05 +00:00
Christopher Tate
6597e3435f Notification listener backup & restore
We now back up & restore the set of enabled notification listeners.  Post-
restore, a listener that had been enabled on the ancestral device will be
enabled on the current device as soon as it's installed, matching the
user's previous configuration.  After this has happened the enable/disable
state for that app is not "sticky"; disabling it again will work as
expected.

The infrastructure for accomplishing this is general: it can be leveraged
by any ManagedServices derivative.  There's a bit of extra wiring in the
settings provider to support the restore-time information flow as well.
This is because ManagedServices -- like many other parts of the system --
monitors writes to the settings provider and does work in response to new
writes of the elements that it cares about.  Unfortunately this means that
there is no way to use the BackupAgent's restoreFinished() hook to post-
process the restored data: by the time it is run, the ManagedService's
observers have already executed and culled any unknown components from
the description that was just pushed into settings.

As of this patch, the settings provider's restore logic knows that a
particular settings element will require a message to interested observers
about the restore-driven change.  The message is delivered as a broadcast,
and is sent after the new value has been committed to the settings db.
Adding other system ManagedService handling that parallels this will only
require adding a new corresponding entry to the table of individual settings
for which the relevant "this settings element is being restored" broadcast
is sent, found in SettingsHelper.

(It isn't sent for all settings elements because very few settings elements
have semantics that require it; 3rd party code won't be running yet during
platform restore anyway; and sending up to hundreds of broadcasts during
setup & restore is far from ideal.)

Bug 19254153

Change-Id: Ib8268c6cb273862a3ee089d2764f3bff4a299103
2015-03-16 16:24:28 -07:00
Mathieu Chartier
1ad10ef1e4 Change jit properties to be debug properties
Bug: 19735273
Change-Id: I266cf447a7af0595366bf89109d2823094f5cf41
2015-03-16 16:22:52 -07:00
Mike Lockwood
277e8960b7 Merge "MidiDeviceInfo: Fix NPE for devices with no port names" 2015-03-16 23:20:22 +00:00
Jean-Michel Trivi
60fd084331 Notify newly registered audio focus listener of current focus owner
When an AudioPolicy with an AudioPolicyFocusListener gets registered,
  notify it automatically of the current focus owner, i.e. the
  top of the stack, if there is one.

Bug 19194917

Change-Id: I66fa141ce9550349d107288fc36ddab50898dc45
2015-03-16 16:04:00 -07:00
Tor Norbye
7339cf3585 Merge "Add @TransitionRes for transition resource integers" 2015-03-16 23:03:41 +00:00
Mike Lockwood
0caf689ab4 MidiDeviceInfo: Fix NPE for devices with no port names
Change-Id: I703709f84b6b1951b67918c9762bb84a142d855c
2015-03-16 16:03:17 -07:00
Jeff Brown
1f61b22624 Merge "Reduce SQLite logspam." 2015-03-16 22:53:22 +00:00