Commit Graph

253881 Commits

Author SHA1 Message Date
Eino-Ville Talvala
2e2aaf6e04 ImageReader: Add discardFreeBuffers method
This method (currently @hide) discards all cached buffers for
the ImageReader, which can be useful to free up memory at the
cost of reallocationt time if more buffers are needed later.

It has no effect on acquired Images, filled Images waiting to be
acquired, or buffers being actively used by the source rendering to the
Surface.

Bug: 28695173
Change-Id: I427a8ba4ad73a267083f843dbf228bfc53a730d9
2016-07-21 17:04:19 -07:00
Andrew Solovay
d50b5a9262 Merge \\"docs: Replacing curly apostrophes with straight ones\\" into nyc-docs am: 1d545c4f83
am: adfb20c2f0

Change-Id: I1031fb300f16e0a80a4c0ca81b0eabfd4482eaa0
2016-07-21 23:58:55 +00:00
Andrew Solovay
bfeea1cc60 docs: Replacing curly apostrophes with straight ones am: abea4b1dcd
am: 85d40b4feb

Change-Id: Iac36fce8060cb0f8b8580b1c0a4872547dfaefd8
2016-07-21 23:58:53 +00:00
Andrew Solovay
adfb20c2f0 Merge \"docs: Replacing curly apostrophes with straight ones\" into nyc-docs
am: 1d545c4f83

Change-Id: Ia21fd5e04dc0565feea5207951372e6ceaf60e38
2016-07-21 23:48:00 +00:00
Andrew Solovay
85d40b4feb docs: Replacing curly apostrophes with straight ones
am: abea4b1dcd

Change-Id: I1fd344ed7087b962a66d577b1c3cb5fa0e81fbaa
2016-07-21 23:47:58 +00:00
Makoto Onuki
d67b187dcc Fix realCallingUid/Pid for startActivities()
They now match startActivityMayWait().

Bug 30277795

Change-Id: I883d74bf02cb79a19e2139134aa9be0296787fed
2016-07-21 16:35:01 -07:00
Dan Sandler
71f85e9194 Decrease default longpress timeout to 400ms.
If the device being upgraded happens to have a timeout of
500ms it will be reset to 400. If the value is something
else it will be left alone upon upgrade.

Bug: 30159825
Change-Id: Ifec70e458ce0199b61d36f7504aea02b4a974990
2016-07-21 19:23:12 -04:00
TreeHugger Robot
1d545c4f83 Merge "docs: Replacing curly apostrophes with straight ones" into nyc-docs 2016-07-21 23:07:16 +00:00
TreeHugger Robot
b68b9e78dd Merge "use printwriter instead of stdout" into nyc-mr1-dev 2016-07-21 22:55:26 +00:00
Adrian Roos
a9b43182c6 ServiceConnection: Properly serialize events
Fixes a bug where onServiceDisconnected could be delayed
such that it would be dispatched after the connection has
already reconnected.

Bug: 30182617
Change-Id: I6e3fc2f125a477bb342de601530c254c34ffb4f7
2016-07-21 15:52:47 -07:00
TreeHugger Robot
8e62ae1109 Merge "Skip failed package installs" into nyc-mr1-dev 2016-07-21 22:37:25 +00:00
Makoto Onuki
3fa345b5c2 Merge "Unit tests for "cmd shortcut"" into nyc-mr1-dev 2016-07-21 22:11:52 +00:00
Yigit Boyar
93652f20f2 Merge "Resolve ListView children's RTL properties when added" into nyc-mr1-dev 2016-07-21 21:56:56 +00:00
TreeHugger Robot
5baca59226 Merge "Add View reveal on focus hint" into nyc-mr1-dev 2016-07-21 21:05:36 +00:00
Andrii Kulian
3b3c914e62 Make sure to apply latest configuration to resources
When app is transferred from split-screen mode to fullscreen
and the app doesn't handle configuration change, relaunch is
scheduled with non-empty override config corresponding to
fullscreen size. This override config is then used in instance
of DisplayAdjustments and in size/metrics calculations in
corresponding methods of Display class. To obtain correct values
in fullscreen mode override config should be empty.
Configuration change that follows relaunch has correct (empty)
override config, but it is not really applied for resources
because final config matched current activity config.

Bug: 30185335
Change-Id: I95fb69e0c229c2c6b0c1cd79e9d60556de579ae4
2016-07-21 13:55:14 -07:00
Todd Kennedy
6341244856 Skip failed package installs
If a package installation doesn't succeed [or hasn't succeeded yet], its
structures won't be setup so we should skip them when sending first
launch broadcasts.

Change-Id: I89a88480dc6d311a232cae5a236279b2f0a9df3a
Fixes: 30258737
2016-07-21 13:53:01 -07:00
Andrew Solovay
abea4b1dcd docs: Replacing curly apostrophes with straight ones
Need to have a CL ready to go in case that's necessary to force
a docs build on the new branch, so I'm setting up this one. Doing
nothing but changing ’ to ' in a few files.

Change-Id: I408f9152d4898e75ab34a92606620afeaf4d3ab9
2016-07-21 13:50:23 -07:00
Makoto Onuki
7848856e6b Merge "Follow-up to multiple intents support" into nyc-mr1-dev 2016-07-21 20:46:48 +00:00
Sreevani Sreejith
fb947ecf11 Merge \"Merge \\\"docs: Fixed typo.\\\" into mnc-io-docs am: 71f742920d am: 9b911b8736\" into nyc-dev
am: 7e9ce5ceaa

Change-Id: I6322203aa7a83b69fbdb892cd99a0992c4717d89
2016-07-21 20:43:03 +00:00
sreevanis
05d873aaf5 Merge \\\"docs: Fixed typo.\\\" into mnc-io-docs am: 71f742920d am: 01f12a9e18
am: daaa7b7e5b

Change-Id: I7a138db4a96049c2369bcf89b60519dda2dbd7b5
2016-07-21 20:43:01 +00:00
Android Build Merger (Role)
7e9ce5ceaa Merge "Merge \\"docs: Fixed typo.\\" into mnc-io-docs am: 71f742920d am: 9b911b8736" into nyc-dev 2016-07-21 20:39:27 +00:00
Sreevani Sreejith
96b4483984 Merge \\"docs: Fixed typo.\\" into mnc-io-docs am: 71f742920d
am: 9b911b8736

Change-Id: If294d38647849c51c2ba46b041417346a410c533
2016-07-21 20:38:53 +00:00
Sreevani Sreejith
daaa7b7e5b Merge \\"docs: Fixed typo.\\" into mnc-io-docs am: 71f742920d
am: 01f12a9e18

Change-Id: I3c72f75050a4426d4e67fd6a73b7d0f3bc8eff71
2016-07-21 20:38:48 +00:00
Adrian Roos
bbb6919945 HIC: Base on elapsed time instead of RTC
Bug: 27405075
Change-Id: I703a870cf230ddccc9c89a9507e3ee900609f592
2016-07-21 13:34:54 -07:00
sreevanis
01f12a9e18 Merge \"docs: Fixed typo.\" into mnc-io-docs
am: 71f742920d

Change-Id: Ia489afb465582c6600d35ffed5826816b4043746
2016-07-21 20:32:55 +00:00
sreevanis
9b911b8736 Merge \"docs: Fixed typo.\" into mnc-io-docs
am: 71f742920d

Change-Id: Ife230ca465a93b9cad9367d302fe402e574f3175
2016-07-21 20:32:51 +00:00
Alan Viverette
2b4e14cfcc Better docs for ImageView legacy tint
Bug: 30283225
Change-Id: Ic748c2cc341edf44aed0202aa55a57584bd928c1
2016-07-21 16:25:13 -04:00
Sreevani Sreejith
71f742920d Merge "docs: Fixed typo." into mnc-io-docs 2016-07-21 20:24:51 +00:00
Selim Cinek
02965424b7 Merge changes I4a7b64dc,Ic7df8d38 into nyc-mr1-dev
* changes:
  Fixes a usability issue where groups were clearable
  Fixed a bug where notifications could reappear
2016-07-21 20:12:13 +00:00
Alan Viverette
11ace9eedb Ensure forwarding listener target is long-clickable
Bug: 28550349
Change-Id: Id9bb74eee0c91919e3167e3a8a316e3921652df5
2016-07-21 16:04:33 -04:00
TreeHugger Robot
d2b30510c2 Merge "Remove date & time picker dialog titles to conform to Material spec" into nyc-mr1-dev 2016-07-21 19:33:18 +00:00
Makoto Onuki
9e04446d6f Merge "Update current.txt to reflect result type change" into nyc-mr1-dev 2016-07-21 19:22:27 +00:00
Brad Ebinger
dee7dffb5d Merge "Add CarrierConfig to remove hold during Ims Calls" into nyc-mr1-dev 2016-07-21 18:40:43 +00:00
Makoto Onuki
0eed441c0c Follow-up to multiple intents support
- More unit tests
 - LauncherApps.startShortcut() now supports sourceBounds
 (again)
- Updated the javadoc.

Bug 30218829

Change-Id: Iae208ffd4911d149246ccfd0c4380544c2aafffc
2016-07-21 11:33:37 -07:00
Rob Carr
736a5af504 Merge "Also report resize when frame changes without inset change." into nyc-mr1-dev 2016-07-21 17:59:47 +00:00
Chong Zhang
45e6d2dc8b Clean up surfaces when app is resumed without being stopped.
When quickly toggling between two apps, app could be resumed while
it's stopping but not yet stopped. Upon resuming, it could have
surfaces that's marked mDestroying and waiting for the stopped
to be destroyed.

We need to dispose these surfaces properly. If the window is already
removed, we destroy them. Otherwise, clear mDestroying flag so that
the window is ready to be used again. Leaving mDestroying=true makes
the window ineligible for certain things such as receiving wallpaper.

bug: 30255354
Change-Id: Id881653550595ab8e702d6950949bf202ac5a0d9
2016-07-21 10:17:39 -07:00
Amanda Kassay
ce78cff77e Merge \"Adding projec.yaml files to all top/sub categories.\" into nyc-dev
am: 5a76378471

Change-Id: Ibf98357a67297ee6bb20d58d2c1063917aa5c7b1
2016-07-21 17:09:46 +00:00
Amanda Kassay
5a76378471 Merge "Adding projec.yaml files to all top/sub categories." into nyc-dev 2016-07-21 17:02:13 +00:00
Makoto Onuki
79621c94ce Update current.txt to reflect result type change
Bug 30218829

Change-Id: I5b4788961a5ef4e7d8f396f55a311ec0d174b0f1
2016-07-21 09:49:00 -07:00
Bill Yi
d6498d1120 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-07-21 16:09:13 +00:00
Bill Yi
7a81bcd670 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 30233028
Change-Id: If78d06c444ccd169c81a1ec4e5d8af86c846ced9
2016-07-21 09:07:41 -07:00
Srinath Sridharan
6c92c0eb5c Merge "Adding a new getThreadScheduler() method." into nyc-mr1-dev 2016-07-21 16:00:40 +00:00
Benjamin Franz
0eadbe6d36 Merge \\\\\"DO NOT MERGE Block the user from entering safe boot mode\\\\\" into mnc-dev am: 3e582390b3 am: 7abd7ba093 am: 87534f4ac9 am: cb805b35f3 -s ours
am: 662e2a7975

Change-Id: Ib1fe35a3725c38157a0612d838aca173b77b5981
2016-07-21 15:39:52 +00:00
Billy Lamberta
199e855f9f Merge \"docs: work - Managed configuration bundles am: ef57498142 am: ba633fc919\" into nyc-dev
am: 7dbcfcadd5

Change-Id: Ibf90220d894e5d50a0080489e4966289e998873a
2016-07-21 15:39:50 +00:00
Billy Lamberta
cb3ae89fbd docs: work - Managed configuration bundles am: ef57498142 am: 9684f2cd2f
am: c7cffa3e6a

Change-Id: Ifc44d30b39e0123fe51aff6603ea23530385a136
2016-07-21 15:39:48 +00:00
Amanda Kassay
576bda4222 Fix for b/30088807 Dashboard page repeating charts three times on mobile. Staged: https://android-dot-devsite.googleplex.com/about/dashboards/index.html am: 83fb75ded3
am: e9d58227bb

Change-Id: I53746a89ee71386ca5184bcf6539f43f4d4d10cb
2016-07-21 15:39:45 +00:00
Benjamin Franz
662e2a7975 Merge \\\\"DO NOT MERGE Block the user from entering safe boot mode\\\\" into mnc-dev am: 3e582390b3 am: 7abd7ba093 am: 87534f4ac9
am: cb805b35f3  -s ours

Change-Id: Icbc3d0dbcce8e079a895f194c13a5fa35957bc09
2016-07-21 15:27:28 +00:00
Android Build Merger (Role)
7dbcfcadd5 Merge "docs: work - Managed configuration bundles am: ef57498142 am: ba633fc919" into nyc-dev 2016-07-21 15:22:32 +00:00
Mark Lu
081b4b3265 Merge \"docs: fixed \'@\' signs that were escaped improperly\" into nyc-dev
am: a7ce29962c

Change-Id: I767392c1b039e0c3c0307504a077a8afb18e6b8a
2016-07-21 15:22:27 +00:00
Billy Lamberta
c5ec6c443d docs: work - Managed configuration bundles am: ef57498142
am: ba633fc919

Change-Id: I819bc7a7568f4ea753b053338c7f73f64e80ec0e
2016-07-21 15:21:58 +00:00