Commit Graph

60817 Commits

Author SHA1 Message Date
Daniel Nishi
5da495ee25 Merge "Add a flag to toggle the automatic storage manager on and off." into nyc-mr1-dev am: 9746deefbb
am: 15d6c4bf7c

* commit '15d6c4bf7c5feb1e77a50ae014e3e2c27740c898':
  Add a flag to toggle the automatic storage manager on and off.

Change-Id: I39652f61fc252bfd7a50b801ea46d7d00c60e83b
2016-05-25 00:24:51 +00:00
Daniel Nishi
15d6c4bf7c Merge "Add a flag to toggle the automatic storage manager on and off." into nyc-mr1-dev
am: 9746deefbb

* commit '9746deefbbfa3f6561bdf27e7d697cc352853f13':
  Add a flag to toggle the automatic storage manager on and off.

Change-Id: Icd5688b8ea9c72c6bab9dbb0eedd895bd0b09aca
2016-05-25 00:18:39 +00:00
Daniel Nishi
9746deefbb Merge "Add a flag to toggle the automatic storage manager on and off." into nyc-mr1-dev 2016-05-25 00:10:56 +00:00
Doris Liu
1ccd7e1fc0 Merge "Fix blue channel gets updated incorrectly in ChangeText transition" 2016-05-24 23:39:41 +00:00
Johan Torås Halseth
f9d7e99834 Merge "Adding grantPermission for packageName" into nyc-mr1-dev am: b1f0e9705d
am: df296a7e68

* commit 'df296a7e68d1de4817d5176466e244b06b39a285':
  Adding grantPermission for packageName

Change-Id: Ibaa0ab46b56d1de9a0aa1a56b8e4c780239dae26
2016-05-24 22:13:56 +00:00
Johan T. Halseth
df296a7e68 Merge "Adding grantPermission for packageName" into nyc-mr1-dev
am: b1f0e9705d

* commit 'b1f0e9705d253350852d6508878b4782578fbda6':
  Adding grantPermission for packageName

Change-Id: I59b23547464b776977b69ffba1ad544fc124ef0e
2016-05-24 22:03:56 +00:00
Tianjie Xu
9ae172f9b9 Merge "Report OTA time statistics" into nyc-dev am: 86f97177e9 am: 7135fab76c
am: 375a512c0d

* commit '375a512c0d99e58285b3e6d6f1045c5e3a9774d5':
  Report OTA time statistics

Change-Id: Icbd611fe4af2dd51d1ee946a80c0e0f4370a9634
2016-05-24 21:59:28 +00:00
Johan Torås Halseth
b1f0e9705d Merge "Adding grantPermission for packageName" into nyc-mr1-dev 2016-05-24 21:58:00 +00:00
Doris Liu
bbeafd1199 Fix blue channel gets updated incorrectly in ChangeText transition
Also fixed text's alpha channel gets incorrectly reset to fully
opaque.

Bug: 28919053
Bug: 28932357
Change-Id: Ib0ae6fe56ba4e09dea69534868e764e65e888e62
2016-05-24 14:56:08 -07:00
Tianjie Xu
375a512c0d Merge "Report OTA time statistics" into nyc-dev am: 86f97177e9
am: 7135fab76c

* commit '7135fab76cb3e7f7a68547794b3ddf54f08facca':
  Report OTA time statistics

Change-Id: I82f174bfa383a26a87d45ac6675a3ae5812b50af
2016-05-24 21:47:52 +00:00
Adam Lesinski
534881d8fa Merge "Improve performance of LocaleList with Resources" into nyc-dev am: bb26248bbb am: 5e106dea45
am: 9ed84d8612

* commit '9ed84d86120dd6487eacba503f45f6d147f05fbf':
  Improve performance of LocaleList with Resources

Change-Id: I7c1694545f9eee940ca7065f3ac5aee5e2a7b27c
2016-05-24 21:47:36 +00:00
Adam Lesinski
9ed84d8612 Merge "Improve performance of LocaleList with Resources" into nyc-dev am: bb26248bbb
am: 5e106dea45

* commit '5e106dea4545547f3f7c50dad30f792809659b96':
  Improve performance of LocaleList with Resources

Change-Id: I733cdad0b30069ac7830fa91ef0188dd0f0cfac9
2016-05-24 21:41:20 +00:00
Tianjie Xu
acf91cd6c5 Merge "Report OTA time statistics" into nyc-dev
am: 86f97177e9

* commit '86f97177e959cb40229010b90f066fd602d6a06f':
  Report OTA time statistics

Change-Id: I271c156232c49a861579acd9ce90c91fbc7e5a4f
2016-05-24 21:41:06 +00:00
Tianjie Xu
7135fab76c Merge "Report OTA time statistics" into nyc-dev
am: 86f97177e9

* commit '86f97177e959cb40229010b90f066fd602d6a06f':
  Report OTA time statistics

Change-Id: I941b48f287fe72dbb3e0f61ccdea33deab3c34c5
2016-05-24 21:41:05 +00:00
Adam Lesinski
5e106dea45 Merge "Improve performance of LocaleList with Resources" into nyc-dev
am: bb26248bbb

* commit 'bb26248bbba6e4014ea89a97b86618b7289a5f29':
  Improve performance of LocaleList with Resources

Change-Id: Ic43a26915a28d71a967eb038331a0f3c31bdfe8f
2016-05-24 21:35:56 +00:00
Tianjie Xu
86f97177e9 Merge "Report OTA time statistics" into nyc-dev 2016-05-24 21:35:25 +00:00
Adam Lesinski
5e5e871fdc Merge "Improve performance of LocaleList with Resources" into nyc-dev
am: bb26248bbb

* commit 'bb26248bbba6e4014ea89a97b86618b7289a5f29':
  Improve performance of LocaleList with Resources

Change-Id: I307b4a7c78ff04797fda041afa8106b082951bc9
2016-05-24 21:34:48 +00:00
Johan T. Halseth
244259a063 Adding grantPermission for packageName
Adding a hidden API in UsbManager for system services to grant
permissions to a specific package for a USB device without showing a
user dialog.

Bug: 28760255
Change-Id: Ie68cfc784b7894e9db12ab61bab0f7e6bfa369e3
2016-05-24 22:34:35 +01:00
Adam Lesinski
bb26248bbb Merge "Improve performance of LocaleList with Resources" into nyc-dev 2016-05-24 21:25:41 +00:00
Mady Mellor
e6a1b686c2 Merge "Children should have backgrounds" into nyc-dev am: 31e49b0964 am: 12021f5020
am: a016449a83

* commit 'a016449a83e5fcccf0d2364c1143e958b564394f':
  Children should have backgrounds

Change-Id: I17fe77a79aabeab43b790a010afd87855ff6a5ce
2016-05-24 21:19:27 +00:00
Mady Mellor
a016449a83 Merge "Children should have backgrounds" into nyc-dev am: 31e49b0964
am: 12021f5020

* commit '12021f5020a057b3c0be8643bf5a8a999f488732':
  Children should have backgrounds

Change-Id: I5343b9b9aa4fb6c5e1f343cf5f4927c44bd5489d
2016-05-24 21:13:25 +00:00
Mady Mellor
470c001355 Merge "Children should have backgrounds" into nyc-dev
am: 31e49b0964

* commit '31e49b0964cfba0b6b91e8ae67cbc04730098569':
  Children should have backgrounds

Change-Id: I4c123a7cf9efd38c46ff155a70f5b9c053e4df02
2016-05-24 21:09:33 +00:00
Mady Mellor
12021f5020 Merge "Children should have backgrounds" into nyc-dev
am: 31e49b0964

* commit '31e49b0964cfba0b6b91e8ae67cbc04730098569':
  Children should have backgrounds

Change-Id: I1f68467af9048b93631c33243f4a2dd2e67ccf81
2016-05-24 21:08:17 +00:00
Mady Mellor
31e49b0964 Merge "Children should have backgrounds" into nyc-dev 2016-05-24 20:59:50 +00:00
Selim Cinek
1ca8998d18 Merge "Fix first notification of each app is not shown" into nyc-dev am: ed353f1738 am: 40a6b1dbb5
am: a6954bc53c

* commit 'a6954bc53c7682c89f8f354bb019882e87b62bc0':
  Added accessibility action for scrolling the notifications
  Fixed a bug where the text directionality was inconsistent

Change-Id: Ica13b23532b0d207d05068d8ecbd8c01f66006ee
2016-05-24 20:26:29 +00:00
Tony Mak
a6954bc53c Merge "Fix first notification of each app is not shown" into nyc-dev am: ed353f1738
am: 40a6b1dbb5

* commit '40a6b1dbb53fd4a8d499ee9ad0ba953137cfecec':
  Added accessibility action for scrolling the notifications
  Fixed a bug where the text directionality was inconsistent

Change-Id: I820cdd49b8bd04dd05fd18f2bf8456182ba6a725
2016-05-24 20:20:58 +00:00
Selim Cinek
40a6b1dbb5 Merge changes I7773ed3a,I73d97d9a into nyc-dev
am: c178f519b9

* commit 'c178f519b94b239aa02633dae7127e619f5b0aa6':
  Added accessibility action for scrolling the notifications
  Fixed a bug where the text directionality was inconsistent

Change-Id: Id9b18a7cdd1ed97a06916e6a29b7294551c33acf
2016-05-24 20:16:16 +00:00
Tony Mak
f03a50c4cb Merge "Fix first notification of each app is not shown" into nyc-dev
am: c178f519b9

* commit 'c178f519b94b239aa02633dae7127e619f5b0aa6':
  Added accessibility action for scrolling the notifications
  Fixed a bug where the text directionality was inconsistent

Change-Id: I42fa93677ccd0d58d7b71f274f77af867f065ac4
2016-05-24 20:16:05 +00:00
Selim Cinek
c178f519b9 Merge changes I7773ed3a,I73d97d9a into nyc-dev
* changes:
  Added accessibility action for scrolling the notifications
  Fixed a bug where the text directionality was inconsistent
2016-05-24 20:01:24 +00:00
Tianjie Xu
dcd3644f22 Report OTA time statistics
Read time and I/O for OTA update from last_install, and report the
statistics using MetricsLogger.histogram.

Bug: 28658632
Change-Id: I7fd06a82cbabd346d6d44f81ebad08f6baf4b8d0
2016-05-24 13:00:30 -07:00
Adam Lesinski
b61e405397 Improve performance of LocaleList with Resources
We allow each individual Resources object to select the best
Locale for the given APK. This allows one update to the configuration
instead of multiple updates, once the locale is chosen.

The Java locale is selected from the app context's locale.

Bug:28625993
Bug:27325465
Change-Id: I99e1e53f522e560f3b80bbd1e1c605f552dbdff0
2016-05-24 12:54:48 -07:00
Mady Mellor
b0a824687f Children should have backgrounds
To add a background to children of a group, a couple of things
are changed when a group is in the expanded state:
- The parent's shadow + background is removed
- The group header is given a background and elevation
- The children are elevated to cast a shadow and have backgrounds
- When it's fully expanded the dividers won't be shown
- There's extra height added to the parent so that the child
  may cast the bottom shadow of the group
- As the children move into the bottom stack the last visible
  one alters its height and the ones below it are hidden
  to achieve the clipping effect

Fixes: 27591195
Fixes: 28655641
Change-Id: I0484308843e9b8bc10391387e54de07973a48f7d
2016-05-24 11:39:12 -07:00
Doris Liu
92f1384449 Merge "Improve the property modification effiency of VectorDrawable animators" 2016-05-24 17:13:36 +00:00
Kenny Guy
acda99f46e Merge "Set accessibility string for suspended widgets." into nyc-dev am: 7b4b2fbc0a am: d7d4203050
am: 91dfd02233

* commit '91dfd02233b4d5b75154f4a1ee3ce8450d06c429':
  Set accessibility string for suspended widgets.

Change-Id: I6a431beb2c3e0aec06d8b168caf0909d52d3119d
2016-05-24 14:38:11 +00:00
Kenny Guy
91dfd02233 Merge "Set accessibility string for suspended widgets." into nyc-dev am: 7b4b2fbc0a
am: d7d4203050

* commit 'd7d420305094d8e267c8fc3cee5ab2252bf1280c':
  Set accessibility string for suspended widgets.

Change-Id: I26a41681436009fb1fc6fc57c102539be0096687
2016-05-24 13:26:56 +00:00
Kenny Guy
d7d4203050 Merge "Set accessibility string for suspended widgets." into nyc-dev
am: 7b4b2fbc0a

* commit '7b4b2fbc0afd9cff3d4bb647b0ed7dc79ab747dc':
  Set accessibility string for suspended widgets.

Change-Id: Idc35229ca5da9b460c0b806b3833196d66c48499
2016-05-24 13:20:31 +00:00
Kenny Guy
7185fc8cc3 Merge "Set accessibility string for suspended widgets." into nyc-dev
am: 7b4b2fbc0a

* commit '7b4b2fbc0afd9cff3d4bb647b0ed7dc79ab747dc':
  Set accessibility string for suspended widgets.

Change-Id: Iedafb99a35224a37e816c510284ebfc01fe3c87d
2016-05-24 13:20:25 +00:00
Kenny Guy
7b4b2fbc0a Merge "Set accessibility string for suspended widgets." into nyc-dev 2016-05-24 13:11:12 +00:00
Gustav Sennton
c4446568cc resolve merge conflicts of 00b735a to master
Change-Id: Ief4ed37cf8de3e2d4279a1267717dd6a54702b7c
2016-05-24 12:54:11 +01:00
Gustav Sennton
00b735a310 Merge "Load WebView even if WebView relro creation times out." into nyc-dev am: a2fbfbce9e
am: 930ad20ef4

* commit '930ad20ef492a02994ad8efec9821c0fb46e5ba2':
  Load WebView even if WebView relro creation times out.

Change-Id: I043822e0eb95fb540d68a903ed87855c1340f70b
2016-05-24 10:50:56 +00:00
Gustav Sennton
930ad20ef4 Merge "Load WebView even if WebView relro creation times out." into nyc-dev
am: a2fbfbce9e

* commit 'a2fbfbce9ef09ed7a98222e67709aa086e548c79':
  Load WebView even if WebView relro creation times out.

Change-Id: Iae015c9bc199836db71553cbbcea7d8842eb8dda
2016-05-24 10:46:29 +00:00
Gustav Sennton
a44129dd55 Merge "Load WebView even if WebView relro creation times out." into nyc-dev
am: a2fbfbce9e

* commit 'a2fbfbce9ef09ed7a98222e67709aa086e548c79':
  Load WebView even if WebView relro creation times out.

Change-Id: Icf6e99e3f3dfc9b1f4244f5da63e32b3d741459c
2016-05-24 10:46:16 +00:00
Gustav Sennton
a2fbfbce9e Merge "Load WebView even if WebView relro creation times out." into nyc-dev 2016-05-24 10:39:32 +00:00
Pavlin Radoslavov
ad791cf956 Reduced the impact of "synchronized" statements am: eb50a39e98 am: 13b1a15db0
am: 813d5bd9b3

* commit '813d5bd9b36642a06618995fa3d116b9c79b0d6f':
  Reduced the impact of "synchronized" statements

Change-Id: Ib2fa9a53a234418308b07f61d7f3d1eaa61898f6
2016-05-24 02:41:51 +00:00
Pavlin Radoslavov
813d5bd9b3 Reduced the impact of "synchronized" statements am: eb50a39e98
am: 13b1a15db0

* commit '13b1a15db07b2187b8a134f54e574e2c6a76dadc':
  Reduced the impact of "synchronized" statements

Change-Id: I84d731281a7424a6d9fe4ae633f47a97a0446aa7
2016-05-24 02:38:29 +00:00
Pavlin Radoslavov
13b1a15db0 Reduced the impact of "synchronized" statements
am: eb50a39e98

* commit 'eb50a39e98acb78d16465041bb5c172aa1637e97':
  Reduced the impact of "synchronized" statements

Change-Id: I60a4b0e656b283f83c49c3c0211943b4854867e0
2016-05-24 02:34:28 +00:00
Pavlin Radoslavov
c6a3503100 Reduced the impact of "synchronized" statements
am: eb50a39e98

* commit 'eb50a39e98acb78d16465041bb5c172aa1637e97':
  Reduced the impact of "synchronized" statements

Change-Id: I272dba69e9011720356a3c5b9ca849de281f5027
2016-05-24 02:34:23 +00:00
Doris Liu
9f3b31b953 Improve the property modification effiency of VectorDrawable animators
Previously, the VectorDrawable animators modify the VD properties by
doing reflection based on the property name. This CL avoids the overhead
of calling reflection by wrapping the setters of VD objects in
Float/IntProperty.

Bug: 28124049
Change-Id: I562c8d749fdfe508564c82a700a92e835cdd9ff4
2016-05-23 18:33:24 -07:00
Pavlin Radoslavov
eb50a39e98 Reduced the impact of "synchronized" statements
* Removed "synchronized" statements that are not needed
* Replaced "synchronized" statements with Read/Write lock as
 appropriate. The lock protects the access to and the setting of
 BluetoothAdapter.mService and BluetoothManagerService.mBluetooth and
 associated state.

Bug: 28734075
Bug: 28799467
Change-Id: I8f8281c505f0a1ae0add1e14a3caba1f5b2a98e4
2016-05-24 01:17:29 +00:00
Dianne Hackborn
4debcd04a1 Merge "PIP: Handle configuration changes" into nyc-dev am: 75822138ad am: 74ebf3ec67
am: c21fa8c3f6

* commit 'c21fa8c3f62f0fff8145a3512554b4b432104db4':
  Fix issue #28868955: CTS: PendingIntentTest failures; Regressed in NRD48x

Change-Id: Ie07d802b416a0b6a04777dc762d5968b93fa1a2c
2016-05-24 00:39:39 +00:00