245235 Commits

Author SHA1 Message Date
Narayan Kamath
99407db8dd PackageManager: Don't fail app installs if dexopt fails.
bug: 29493857
Change-Id: I953de204319b943d9389bb4c787f859e169e8d21
2016-06-20 13:35:27 +01:00
Shreyas Basarge
70b6cd903e Merge "Fix for the missing sync bug" into nyc-dev 2016-06-20 09:17:21 +00:00
Chris Wren
fddf5df01f Merge "assume a generous prior in the rate estimator" into nyc-dev 2016-06-18 19:28:18 +00:00
Selim Cinek
88086e7183 Fixed a stackoverflow in notifications
Change-Id: I29ce76593af81ad6e326d2e273fd872a4d9d4a89
Fixes: 29464060
2016-06-17 21:01:32 -07:00
Selim Cinek
e5ec413c13 Fixed a bug where a notification was incorrectly marked as removed
When unauto-bundled, it could lead to serious bugs on the lockscreen
and the header not being restored.

Change-Id: I2d6310a2bcb2f3a60402db5f1e522954f8bd0389
Fixes: 29463339
2016-06-17 20:04:16 -07:00
TreeHugger Robot
d11b5e6661 Merge "DO NOT MERGE Move SurfaceView offscreen if the app stops drawing it" into nyc-dev 2016-06-18 02:07:05 +00:00
TreeHugger Robot
fc275d244e Merge "Avoid re-calculating vsync mid-frame" into nyc-dev 2016-06-18 02:01:00 +00:00
Sudheer Shanka
1796f6fa15 Add pm operation to set user restrictions.
Bug: 29189712
Change-Id: I6fdb3b68dfe3f51119e5ce8008880fc7d9c793df
2016-06-17 18:59:07 -07:00
Selim Cinek
a554c70738 Fixed a potential issue where a notification could be empty
Change-Id: Ic4b294092a47d30c469dfbd1eb6ab31208533b1c
Fixes: 29158425
2016-06-17 18:02:12 -07:00
Roozbeh Pournader
e977b0ae59 Mark Serbian in Latin script as non-localized [DO NOT MERGE]
Serbian in Latin script is only partially localized in Android N. We
should not show it as localized in either Setup Wizard or Settings.

Bug: 29460424
Change-Id: I6829a89c49c1b5e8768b1527daa3aa9508deb491
2016-06-17 17:34:13 -07:00
TreeHugger Robot
f4ddb7ce30 Merge "Fix a race in local settings caches" into nyc-dev 2016-06-18 00:30:28 +00:00
Andre Eisenbach
1bf8782605 Merge "Fix race with BT disable in BLE_ON_STATE" into nyc-dev 2016-06-18 00:15:19 +00:00
TreeHugger Robot
838dfe60f0 Merge "Fix data race" into nyc-dev 2016-06-17 23:42:59 +00:00
Hemal Patel
ab5de09e7e Docs: Changed sample link under Related Samples
Changed the Hello Compute sample link to point to Github Android Samples page

Bug: 28928053
Change-Id: I0673620f8beb03297b5dea0b50f4ddbd9d6e25db
2016-06-17 16:29:47 -07:00
Chris Tate
4eaaf7c8ff Merge "Unspecified alarm worksource names are the rule, not the exception" into nyc-dev 2016-06-17 23:20:20 +00:00
Christopher Tate
e555cb9f4a Unspecified alarm worksource names are the rule, not the exception
Bug 29443799

Change-Id: I6457a3680a26c900ed9c8e2ac2ab3f5fc4dfc007
2016-06-17 16:11:41 -07:00
Aurimas Liutikas
f33ce4e846 Merge \\"Fix spelling error in Core App Quality docs.\\" into mnc-io-docs am: 3c8b96ad1f
am: cd9cc200d8

Change-Id: I590329103ed52b33e01b90964fa2a142c9e6e133
2016-06-17 23:11:23 +00:00
Aurimas Liutikas
cd9cc200d8 Merge \"Fix spelling error in Core App Quality docs.\" into mnc-io-docs
am: 3c8b96ad1f

Change-Id: I78b545d5bf018f7c9fd94397365753c8120700fe
2016-06-17 23:06:08 +00:00
Adrian Roos
e25c18da7d SystemUI: Override notification app name
Overrides the notification app name for all SystemUI notifications.

Change-Id: Ic7676069aa03d5b83f0fbe0e8c3ad9820453118a
Fixes: 26517701
2016-06-17 16:00:06 -07:00
Aurimas Liutikas
3c8b96ad1f Merge "Fix spelling error in Core App Quality docs." into mnc-io-docs 2016-06-17 22:57:03 +00:00
Svetoslav Ganov
8c35dcc7ae Fix a race in local settings caches
We send a handle to the generation tracker along with the first accessed
setting but don't send the generation id of when the setting was
actually looked up. So by the time the client gets the setting with the
generation tracker from which to get and cache the last generation the
setting may have changed. We need to pass the generation id along with
the value and the generation tracker.

bug:29458487

Change-Id: I0ac4955ba5b10b547f8fe653a7c28e048a4691eb
2016-06-17 15:30:45 -07:00
TreeHugger Robot
f6824b51cc Merge "Add pm operation to set user restrictions." into nyc-dev 2016-06-17 22:03:59 +00:00
Amith Yamasani
8cbe1a6309 Merge "Clean up ex-users in lock settings db" into nyc-dev 2016-06-17 21:56:00 +00:00
Svetoslav Ganov
7ef9f61be6 Merge "Don't dispatch Uris with appended user handle" into nyc-dev 2016-06-17 21:51:34 +00:00
Adrian Roos
a4b5486a70 Fix data race
Fixes a race in BluetoothControllerImpl that could lead
to a ConcurrentModificationException, by moving the manipulation
of the callbacks array to the handler.

Change-Id: I7c3be74d239d4706f55357f54e539b7b6439e76d
Fixes: 29390132
2016-06-17 14:44:20 -07:00
Winson Chung
b1f3404f8f Merge "Ensure that the tint is properly applied in docked mode." into nyc-dev 2016-06-17 21:29:04 +00:00
Calvin On
a0b91d77d6 Fix race with BT disable in BLE_ON_STATE
This will restart the BT stack when it detects a transition
into OFF state while the user enable flag (mEnable) is set.

Bug: 29363429
Change-Id: I9839119b34c4694ad92e96240c6989008b2f8d52
2016-06-17 21:18:21 +00:00
John Reck
501ff9acfe Avoid re-calculating vsync mid-frame
Fixes: 29072773

By using computeFrameTime AnimationContext would
potentially end up modifying the latest vsync if
a very-slow frame was received from the UI thread.

This could potentially desync animations that were
RT & UI thread 'synchronized', but more significantly
it would confuse the swap chain which tries to only
draw one frame per vsync causing unneccessary frame
drops.

Change-Id: Ibd2ec3157ce32fee1eec8d56837c45a35e622895
2016-06-17 20:44:43 +00:00
Dianne Hackborn
6bc33b07f4 Merge "Work on issue #29328569: NPE in " com.google.android.configupdater"" into nyc-dev 2016-06-17 20:33:22 +00:00
John Reck
34bf49e4de DO NOT MERGE Move SurfaceView offscreen if the app stops drawing it
Bug: 29360411
Change-Id: Iefb9d7a9dafb34a2b4f79130a2a8b5a7cf7de906
(cherry picked from commit aa6e84f21ddf89ea649a3f00044bc23adfe86978)
2016-06-17 20:26:10 +00:00
TreeHugger Robot
dd65ee628f Merge "QS Edit: Fix auto-selecting add location" into nyc-dev 2016-06-17 20:22:46 +00:00
Selim Cinek
73cf02a078 Fixed a bug where the expanded layout would flash
When the heads up disappeared from the shade, it's layout would
switch to the expanded state. We're now delaying this until
the animation is done.

Change-Id: I6c5c970f6b471fb10b197922dfea520b07c84abc
Fixes: 	29318819
2016-06-17 13:08:00 -07:00
Chris Wren
888b7a8faf assume a generous prior in the rate estimator
currently with one data point the estimator is biased high. If we don't
have any data we want to be biased low to allow the first interaction
to be an isolated burst.

Also add metrics for enqueue rate to make it easier to debug this
code in the future (currently we only have metrics after the
rate limiter).

Bug: 29379789
Change-Id: I7b1d379290a55f120d039fd29d1bc0abbc6d4932
2016-06-17 15:50:30 -04:00
Andrii Kulian
d3bbb13fe2 Compare intent filter when launching adjacent
When we're looking for a task during adjacent launch, we need to
perform full intent filter comparison instead of just comparing
components.

Bug: 29424577
Change-Id: I10f271986a8dc405e28a053e4cb122c1e9aa6ee0
2016-06-17 12:41:39 -07:00
TreeHugger Robot
fc70b07385 Merge "QS API: Fix mService and mTile being null once and for all" into nyc-dev 2016-06-17 18:38:26 +00:00
Android Build Merger (Role)
68bfdd71b5 Merge "Merge \\"Docs: Completed updates to the Data Binding docs\\" into mnc-io-docs am: eebe22fef6 am: f693ea687f" into nyc-dev 2016-06-17 18:35:51 +00:00
Hemal Patel
f12c00dea4 Merge \\"Docs: Completed updates to the Data Binding docs\\" into mnc-io-docs am: eebe22fef6
am: f693ea687f

Change-Id: I235e73606098e54fc14568c6437af314f9bea337
2016-06-17 18:35:24 +00:00
Joe Fernandez
9f0722a4c7 Merge "docs: NDK r12 release notes and downloads" into nyc-dev 2016-06-17 18:35:09 +00:00
Yigit Boyar
f693ea687f Merge \"Docs: Completed updates to the Data Binding docs\" into mnc-io-docs
am: eebe22fef6

Change-Id: I47b4003b1bd1bb5cdfc12bde543dd2c9d8babdcc
2016-06-17 18:31:17 +00:00
Hemal Patel
eebe22fef6 Merge "Docs: Completed updates to the Data Binding docs" into mnc-io-docs 2016-06-17 18:25:48 +00:00
Chong Zhang
2756d0707f Merge "Do a forceLayout if pending insets is changed after relayout window" into nyc-dev 2016-06-17 18:22:30 +00:00
Joe Fernandez
d5ca5aa4a0 docs: NDK r12 release notes and downloads
b/29188616

Change-Id: Ida2b9b0e308799f9001127006e3be84318857aaa
2016-06-17 11:07:07 -07:00
Jason Monk
968d2695ff QS: Fix missing tiles
It was possible for the state to be updated in the background
but before the callback was actually registered and never propagate
to the UI.  Call the callback directly after it is added (from the
QS thread) to ensure that the current state gets sent out on tiles
being added.

Change-Id: Idd76dce5cbc9dc9c99f9b3dc13998751fd170582
Fixes: 29419435
2016-06-17 13:48:44 -04:00
Mady Mellor
4f9404f6f2 Merge "Fix shade background not aligning with bottom of a group" into nyc-dev 2016-06-17 17:22:36 +00:00
Jason Monk
3aee783837 Merge "Bring out your toggles" into nyc-dev 2016-06-17 17:22:02 +00:00
Jason Monk
0c0df7943c QS Edit: Fix auto-selecting add location
We depend on a layout listener for when we ask for focus, but layout
sometimes doesn't happen.  Make it always happen.

Change-Id: I7c805470c6ce9863bf7eac627f59d49191ce8946
Fixes: 29126464
2016-06-17 13:15:34 -04:00
Alan Viverette
6d823891bb Only block invalidation in DrawableContainer initialization
Blocking (un)scheduling breaks AnimationDrawable's internal consistency.

Bug: 29309316
Change-Id: I59c79a4a9a92b599cd94bd941ae78ac25b874add
2016-06-17 13:08:42 -04:00
Jason Monk
a3453b8bd9 QS API: Fix mService and mTile being null once and for all
Change-Id: Idd82e4c2f6cfc2b30432e15e23963c1d7a959e43
Fixes: 29121793
2016-06-17 13:04:05 -04:00
Wale Ogunwale
7774bd554c Always report window move to client
ag/1037916 added logic to only report window movement to the client
if the window doesn't have a task or its stack is bounds animating.
This causes problems on the client side for window that don't fall
into this category as they will have the wrong information of where
they are no screen.

Bug: 29093176
Change-Id: I958174af430f2c4003a1c0a74956964d209c0e4a
2016-06-17 09:44:22 -07:00
Aurimas Liutikas
377617b983 Fix spelling error in Core App Quality docs.
Bug:
https://code.google.com/p/android/issues/detail?id=213248

Change-Id: Idf83eb4fdc09bc3c78a7786b4bf11707178092c7
(cherry picked from commit 08b10586120f3db6e29e5ece9c3e05462f0c01e9)
2016-06-17 16:27:10 +00:00