Commit Graph

58728 Commits

Author SHA1 Message Date
Winson
8b1871d741 Adding tuner params for paging and full screen thumbnails.
- Adding “focused” stack state to support paging
- Changing the paging to match UX spec (only auto-page after the first
  tap)
- Removing old header focus animation

Change-Id: Id72825b8a1b1c0a2238ee184a6695b13c1d8cb1c
2015-11-23 15:55:52 -08:00
Adrian Roos
10613a9472 Merge "Visuals for Inline Reply" 2015-11-23 22:19:09 +00:00
Zhijun He
bfeaa0aee5 Merge "Camera2: add dynamic black level support" 2015-11-23 21:42:58 +00:00
Alan Viverette
432cfef802 Merge "Always assume layout params changed if app targets <= M" 2015-11-23 21:07:39 +00:00
Alan Viverette
71ec0a9ba7 Always assume layout params changed if app targets <= M
Previously we were lax about whether an app needed to call
setLayoutParams() when changing layout param (ex. height), but now
failing to call set will break layout.

Bug: 25801251
Bug: 25836190
Change-Id: I4431526ab38b9e3cbdf3553e41db6251d2a7fbc3
2015-11-23 15:54:10 -05:00
Zhijun He
cd950b682c Camera2: add dynamic black level support
Also add the optical black regions static memtadata.

Bug: 23011454
Change-Id: I217f33e89e046991f4cded7f7213ce6793ec4e68
2015-11-23 12:09:10 -08:00
Adrian Roos
fe84e1f436 Visuals for Inline Reply
Change-Id: I374a7ec82795f95fe2f3ce8c9e6b02c1479433af
2015-11-23 20:07:49 +00:00
Jorim Jaggi
1aaed1a162 Merge "Don't play animation when docking stack with affordance" 2015-11-23 18:43:38 +00:00
Makoto Onuki
42490c074d Merge "Remove UserManager.setSystemControlledUserRestriction()" 2015-11-23 18:42:55 +00:00
Makoto Onuki
ac65e1e1db Remove UserManager.setSystemControlledUserRestriction()
Now that we don't have UM.setUserRestriction*s*() that could remove
all existing restrictions, there's almost no point handling
DISALLOW_RECORD_AUDIO differently.

Now DISALLOW_RECORD_AUDIO is handled just like other restrictions,
except we don't persist it.

Bug 24954662

Change-Id: I27875b4a74dd95a3ce6bb774081eeaf718eaec15
2015-11-23 10:41:42 -08:00
Jorim Jaggi
030979c1e4 Don't play animation when docking stack with affordance
Change-Id: I1bb8ae4047e3de3a4ea159e7fad718914b9b5ba7
2015-11-23 18:35:02 +00:00
Alan Treadway
883f12ac5a Merge "Revert "Disable multiple user for corp-liable mode"" 2015-11-23 17:58:39 +00:00
Alan Treadway
86e5d6b868 Revert "Disable multiple user for corp-liable mode"
This reverts commit 1dc510eb5b.

Change-Id: I12ea8275369cbdc4e95b21c7f5d51b4f0e5da7b2
2015-11-23 17:40:54 +00:00
Alan Viverette
12209b9afe Merge "Only look for nearest child View in ViewGroup" 2015-11-23 17:26:38 +00:00
Niels Egberts
38afea91ef Merge "Fix docs build failure." 2015-11-23 15:40:23 +00:00
Niels Egberts
5fd28893f2 Fix docs build failure.
Change-Id: If8d215f34a48e0c61aec0d35f10f1bfd633a4254
2015-11-23 15:39:21 +00:00
Nicolas Prévot
959ad4a029 Merge "Fix doc for EXTRA_PROVISIONING_COLOR." 2015-11-23 15:15:08 +00:00
Ricky Wai
9aa233899f Merge "Add work contacts directory support in Quick Contacts API" 2015-11-23 14:50:06 +00:00
Ricky Wai
494b95d302 Add work contacts directory support in Quick Contacts API
Bug: 25764505

Change-Id: I61f9d13ea03352e3df1686ee4b3bcc43e9a9a760
2015-11-23 13:32:45 +00:00
Nicolas Prevot
cd2d85941a Fix doc for EXTRA_PROVISIONING_COLOR.
Change-Id: Ic6fdb7978658e0187af9e2b29960dbd0a803dc85
2015-11-23 13:27:21 +00:00
Niels Egberts
a66bc0d082 Merge "Restrict audioformat to 8bit, 16bit or float PCM with an annotation and a warning." 2015-11-23 12:22:46 +00:00
Nicolas Prévot
fbabc7f552 Merge "Add extra in DevicePolicyManager to colorize the provisioning." 2015-11-23 11:51:35 +00:00
Niels Egberts
a24b50bee1 Restrict audioformat to 8bit, 16bit or float PCM with an annotation and
a warning.

TextToSpeech.synthesizeToFile has only ever worked with 8bit and 16bit
PCM. In case of float PCM an invalid file would be generated and in case
of other encodings the TTS engine would crash.

Also add more annotations to SynthesisCallback.

Change-Id: I1c44a44509e9b53bb2e1b0f2044b1a5919875e1c
2015-11-23 10:15:39 +00:00
Mahaver Chopra
71c84e515e Merge "Disable multiple user for corp-liable mode" 2015-11-23 10:07:43 +00:00
Przemyslaw Szczepaniak
9ad08ec5be Switch RecoverySystem impl to use sun.security.pkcs
Due to org.apache.harmony.security package removal,
RecoverySystem#verifyPackage was rewritten to use
sun.security.pkcs package for verifining package
signature.

(cherry-picked from 84acbd76f7e1300e8404ac1b94f008826f9cc0fb)

Change-Id: I3a2058982beadab1aaae793c25db5c6f7387a72b
2015-11-21 14:51:05 +00:00
Sandra Kwan
4657518dcf Merge "AccountManager: add startUpdateCredentials API." 2015-11-21 01:05:06 +00:00
Sandra Kwan
e68c37eead AccountManager: add startUpdateCredentials API.
Adding startUpdateCredentials API to AccountManager and
AbstractAccountAuthenticator.

Change-Id: Id9a1ff86764f2fde01fd8482594e4ae34e1f3bd1
2015-11-20 16:44:31 -08:00
Filip Gruszczynski
a7308c1bd8 Merge "Handling touch events on the caption." 2015-11-21 00:42:01 +00:00
Vladislav Kaznacheev
15d8e43ce2 Merge "Implement View.cancelDragAndDrop" 2015-11-20 23:58:21 +00:00
Vladislav Kaznacheev
82063913ae Implement View.cancelDragAndDrop
View.cancelDragAndDrop cancels a drag operation initiated by
View.startDragAndDrop.

It has to be called on a View in the same window (under the
same ViewRootImpl) that the view which started the drag.

Bug: 24415683
Change-Id: If9a265fd8cc4d26b207d582d0d02d5c9ae78eba1
2015-11-20 15:22:36 -08:00
Fyodor Kupolov
09b108e2bb Merge "Added keep-uninstalled-packages DO policy" 2015-11-20 23:18:29 +00:00
Fyodor Kupolov
cb6fd80721 Added keep-uninstalled-packages DO policy
This policy allows DO to specify a list of apps to cache even without being
installed on any user.

Bug: 23938464
Change-Id: I2eeab7f148409739fc23a5c44e955ad12b63fd04
2015-11-20 14:51:56 -08:00
Vladislav Kaznacheev
3fac65d960 Merge "Add View.startDragAndDrop and deprecate View.startDrag" 2015-11-20 22:18:30 +00:00
Filip Gruszczynski
edb6e12014 Merge "Remove allow_stacked_button_bar from support library." 2015-11-20 22:02:57 +00:00
Alan Viverette
3c5aeef512 Merge "Dispatch the actual PopupWindow dismiss callback to PopupMenu" 2015-11-20 21:59:19 +00:00
Filip Gruszczynski
a33bdf372c Handling touch events on the caption.
We need a more sophisticated touch handling to support overlaying the
caption. The touch events need to be routed in following order:
close/maximize buttons, application content, caption dragging.

Bug: 25486369
Change-Id: I9d4e971fb055c217c0bd83f0490fb42a5c22e93b
2015-11-20 13:25:24 -08:00
Vladislav Kaznacheev
e311034ee8 Add View.startDragAndDrop and deprecate View.startDrag
This in preparation to adding a new method to cancel an
ongoing drag. This method cannot be called cancelDrag,
stopDrag or endDrag because these names are already
taken by View-derived classes in the framework or in
important apps.

Change-Id: Ie21a778c3253b2d526c0c1bcc423c374ca70ee01
2015-11-20 12:59:42 -08:00
Julia Reynolds
e31444f7c9 Merge "Implement notification ranking by topic." 2015-11-20 20:31:08 +00:00
Alan Viverette
708aa9d964 Dispatch the actual PopupWindow dismiss callback to PopupMenu
Previously the dismiss callback was called immediately after the menu
received a close request; however, the dismiss callback implies that
the menu's window has finished animating and been removed from the
window manager.

Also cleans up handling of mPopup in MenuPopupHelper to prevent
unnecessary MenuPopup allocations and convert unnecessary fields into
method arguments.

Bug: 25323707
Change-Id: I8e3877ae6c40b4d0f1df23a4ff4fa48a7df34e0d
2015-11-20 15:21:30 -05:00
Alan Viverette
be5ec13acf Merge "By default, display PopupMenu at Gravity.START and resolve X offset" 2015-11-20 19:27:44 +00:00
Julia Reynolds
233a5f97ea Implement notification ranking by topic.
Including sensitive notification visibility & DND bypass.

Bug: 22451710
Change-Id: I5f3a0c6d59de0495cb904bad6f886eb29ed4bda4
2015-11-20 14:25:07 -05:00
Alan Viverette
7add7e0496 Only look for nearest child View in ViewGroup
NearestTouchDelegate may still be assigned to non-ViewGroup views, but
we won't attempt to find a target child View until the touch moves into
a ViewGroup.

Bug: 25813455
Change-Id: I570f88fee63623110e3463e8d4579cca8113fd5e
2015-11-20 14:19:39 -05:00
Ritesh Reddy
07e0aef1ff Merge "Enabled backup/restore of Charging Sounds" 2015-11-20 19:02:07 +00:00
Filip Gruszczynski
66f1ba01c1 Remove allow_stacked_button_bar from support library.
Bug: 25394588
Change-Id: Id7896746aebeab273297f3c5e78f0f794fa5bc82
2015-11-20 10:57:19 -08:00
Alan Viverette
d6443f60e1 By default, display PopupMenu at Gravity.START and resolve X offset
Bug: 25801269
Change-Id: I8c8090a59780c131cee2d56b668f1c4e062b8ebe
2015-11-20 13:57:15 -05:00
Adam Lesinski
e98c57a829 Merge "Fix batterystats battery level int packing" 2015-11-20 18:53:03 +00:00
Adam Lesinski
3944c81cd7 Fix batterystats battery level int packing
We introduced some new flag at the lowest significant bit of the
battery level int but failed to account for it when unpacking.

Bug:25596467
Change-Id: I4320e6fcc208ec6de249b14fe3e399ab2f32d839
2015-11-20 18:49:50 +00:00
Ritesh Reddy
f8f121330e Enabled backup/restore of Charging Sounds
Included the charging_sounds key in the Settings to backup/restore

Bug: 25694355
Change-Id: I4a8653f32b58ab326019698784b8cf60c6c0220e
2015-11-20 18:41:08 +00:00
Ricky Wai
9f8b27b4ea Merge "Add ContactsContract.Contacts.CORP_CONTENT_FILTER_URI" 2015-11-20 17:37:47 +00:00
Nicolas Prevot
caf11cdc12 Add extra in DevicePolicyManager to colorize the provisioning.
The dpc may pass an extra to indicate a color that will be used
to colorize the provisioning.

BUG:25678389
Change-Id: I8b818cca3dbb5300cec2de7b861bdff90200cf7c
2015-11-20 16:18:30 +00:00