244665 Commits

Author SHA1 Message Date
Joe Fernandez
7222e897a9 Revert "Revert "docs: Add Videos section to N Preview landing page""
This reverts commit 3460516d209f1eb621973ece3fac5b2013fd8c1c.

Change-Id: I8a7fb9c32ef5d2cab7df9d851de47574a2db8900
2016-06-20 21:10:03 +00:00
Joe Fernandez
3460516d20 Revert "docs: Add Videos section to N Preview landing page"
Reverting this change since I don't have confirmation that the videos will ship by 10am on 6/15.

This reverts commit a1f02ff4e439d9de58ed4a788a52c2f73cfc36ce.

Change-Id: I854c589436bcc4e146770415898996826f552b21
2016-06-15 04:06:40 +00:00
Joe Fernandez
a1f02ff4e4 docs: Add Videos section to N Preview landing page
b/29215717

Change-Id: I0bcd995a0a458e7624d1e8a689cb3eb249f9397d
2016-06-13 18:10:12 -07:00
Tianjie Xu
8872a604b9 Merge "Collect statistics of source build version" into nyc-dev 2016-06-10 17:13:54 +00:00
Chong Zhang
792918e5fd Merge "Use user id 0 to get missing appId for debugger" into nyc-dev 2016-06-10 17:06:10 +00:00
TreeHugger Robot
4bcf66030d Merge "Fix framebuffer incomplete errors" into nyc-dev 2016-06-10 16:03:22 +00:00
TreeHugger Robot
094c40b2cc Merge "BatteryStats: Record fine grained battery discharge" into nyc-dev 2016-06-10 02:12:23 +00:00
Adam Lesinski
d75bc225ac Merge "BatteryStats: Bump checkin format version to 18" into nyc-dev 2016-06-10 00:53:44 +00:00
Adam Lesinski
b55d741c9a BatteryStats: Bump checkin format version to 18
Bug:28811636
Change-Id: If2229c438e60f20746c91bccbcaa6d72ca5f0802
2016-06-09 17:46:19 -07:00
Adam Lesinski
3ee3f63eb8 BatteryStats: Record fine grained battery discharge
For devices that report battery discharge via a coulomb counter,
record how much of the battery was discharged while the screen
was on/off.

Bug:28743761
Change-Id: Ie2d1708864352029ff466c1fed14fc057e19b93b
2016-06-09 17:37:22 -07:00
Phil Weaver
4663b4e806 Merge "Stop magnifying surface insets." into nyc-dev 2016-06-10 00:08:22 +00:00
Chris Craik
d4fe4d3b30 Fix framebuffer incomplete errors
bug:29127615

Primarily fixes case where 0 dimensioned layers could be
created/updated. Additionally, adds more logging in incomplete
framebuffer cases, if they still occur.

Change-Id: Ib90dbbafd6905aca3c8f46e64064e13a308f713d
2016-06-09 17:05:27 -07:00
Chong Zhang
d25944e120 Use user id 0 to get missing appId for debugger
When forceStopPackageLocked is used to kill existing app process for
relaunching with debugger, user id could be -1 and getPackageUid will
already return -1. This results in killPackageProcessesLocked() not
able to find and kill the app, and wait for debugger will.

This also revert commit 55c9d739 (ag/969408) which tried to fix the
same problem but got it wrong. It's valid to -D when the process is
already running, as we're supposed to kill it. The really problem is
that the killing fails because of bad appId.

bug: 28980761
Change-Id: Ibebdcc26865464216a1f4b6773e540921cdad7d2
2016-06-09 16:38:51 -07:00
Chris Tate
9faaf5418a Merge "Don't allow restore sessions during backups" into nyc-dev 2016-06-09 23:34:23 +00:00
Phil Weaver
f8af34365c Merge "Improve accessibility window title behavior" into nyc-dev 2016-06-09 23:32:10 +00:00
Christopher Tate
09893e9a41 Don't allow restore sessions during backups
Gracefully no-op if apps attempt to restore themselves while there is
a backup pass in flight.

Bug 29135379

Change-Id: I8f0b5cd9d149b703e1de7a3a0b4b54c3aff766b6
2016-06-09 16:28:26 -07:00
Tianjie Xu
c1ff246f1a Collect statistics of source build version
Parse the last_install and report the source build version of an ota
update.
Related CL in: ag/1121141

Bug: 28658632
Change-Id: I5e835c144aabe97fda681f60397ebf4416f7bd4f
2016-06-09 16:00:11 -07:00
Svetoslav Ganov
c94872e940 Merge "Protect the android.intent.action.CALL_PRIVILEGED broadcast" into nyc-dev 2016-06-09 22:44:51 +00:00
Dianne Hackborn
4781525399 Merge "Fix more of issue #28689719: Runtime restart" into nyc-dev 2016-06-09 22:16:27 +00:00
Chris Tate
52e323bd38 Merge "Turn down factory-default lock wallpaper support" into nyc-dev 2016-06-09 22:07:00 +00:00
TreeHugger Robot
9e9c78f8ce Merge "ResourcesManager: Apply ContextThemeWrapper config" into nyc-dev 2016-06-09 21:16:03 +00:00
TreeHugger Robot
7a37f8945f Merge "Make Activity.getReferrer tolerate custom Parcelables in intents" into nyc-dev 2016-06-09 20:57:53 +00:00
Christopher Tate
36cb2a7a91 Turn down factory-default lock wallpaper support
The infrastructure is here but not yet fully plumbed, so gracefully
provide the historical behavior until the rest is in place.

Bug 29220492

Change-Id: I36feaf68099d85e4ae11a5262002ee85346703ed
2016-06-09 13:47:19 -07:00
Phil Weaver
155edc693e Improve accessibility window title behavior
Un-reverts ag/1057448, but uses a version of Resources#getText
that returns null rather than throw an exception when no title
is available. This is the same call made before, so this change
should be safer.

Bug: 28744278
Change-Id: I8c123f4f6d74f796ab9e8ffcf955aaf881770da1
2016-06-09 13:45:46 -07:00
Philip P. Moltmann
142fc425c4 Merge "Cache resources needed to sort media sizes." into nyc-dev 2016-06-09 20:35:59 +00:00
Andrii Kulian
1a77efe9ba Merge "Don't update mTaskToReturnTo when task is cleared" into nyc-dev 2016-06-09 20:27:29 +00:00
Dianne Hackborn
41bfaf870e Fix more of issue #28689719: Runtime restart
Change-Id: I0cce1cef884cf1508f1e726ea3439a5ffee84993
2016-06-09 12:58:25 -07:00
Pavlin Radoslavov
7ee53be300 Unlock mBluetoothLock.readLock() instead of double-locking it
Bug: 29011117
Change-Id: Ie9e359c3ee079c2cecc33f11cfff7c0dc6406be1
2016-06-09 12:58:07 -07:00
Adam Lesinski
c1b0ebf579 ResourcesManager: Apply ContextThemeWrapper config
The ContextThemeWrapper's configuration override must also
be applied to ResourcesManager during a configuration change.

Bug:27644297
Change-Id: Ic126308b753979c18801d422a8243aa4daf45147
2016-06-09 12:57:45 -07:00
Adam Powell
d3c63a66f2 Make Activity.getReferrer tolerate custom Parcelables in intents
Referrer information is passed as an intent extra to each Activity,
therefore if that intent contains a custom parcelable unmarshaling
the intent extras will fail in a call to getReferrer. Insulate apps
from this concern and log a warning when it happens.

Bug 28972438

Change-Id: I37dbc033bfcfe816e4b58b382c012854fbed943b
2016-06-09 12:36:16 -07:00
TreeHugger Robot
4624d687f7 Merge "PiP animation: Move window with resize when ending animation." into nyc-dev 2016-06-09 19:28:11 +00:00
Philip P. Moltmann
5398f2731b Merge "Handling of Fuji Xerox in RecommendationService." into nyc-dev 2016-06-09 19:24:05 +00:00
Andrii Kulian
4b7f2d46be Don't update mTaskToReturnTo when task is cleared
If activity launch has moved other task that was over home while
clearing task - don't override its mTaskToReturnTo not to loose
the original value of other task.

Bug: 28986980
Change-Id: Ib1680769fbb8a8d99f2b210c8d9cd8fe6fd5a196
2016-06-09 11:46:23 -07:00
Eric Schmidt
b1a99c46b6 Merge \\"docs: Added links to performance resources section\\" into mnc-io-docs am: e4b1149320
am: 2dea7d3836

Change-Id: I73d48da51be02656ae636686b42253c35ebc3762
2016-06-09 17:56:38 +00:00
Eric Schmidt
2dea7d3836 Merge \"docs: Added links to performance resources section\" into mnc-io-docs
am: e4b1149320

Change-Id: Ib1fa097035dce4d6e4c55ac6d87aa26bacceade8
2016-06-09 17:45:53 +00:00
Eric Schmidt
e4b1149320 Merge "docs: Added links to performance resources section" into mnc-io-docs 2016-06-09 17:37:26 +00:00
Robert Carr
a9408d4a48 PiP animation: Move window with resize when ending animation.
At the end of the animation (when going from larger to smaller),
we are left with a scaled surface, that we want to seamlessly
resize to an unscaled surface of the new size. Because we have scaled
the shadow region of the surface, the position of the content
will differ before and after the resize applies. We use new
SurfaceFlinger API to cause position updates to apply after
resize. Because we have to switch into SCALING_MODE_FREEZE,
we could end up prematurely cropping the window, so we
switch to using screen space crop for the pinned stack.

Bug: 28899837
Change-Id: I9b762a237413e4fa3d432e67d30c7125bfef484c
2016-06-09 10:31:17 -07:00
Aurimas Liutikas
e82ac10fa2 Merge \\"Correct the size of example bitmap for xxhdpi.\\" into mnc-io-docs am: 396ed8d2cf
am: 6e70538600

Change-Id: I0714693f2f19107d056be72944343c9636a0ff7e
2016-06-09 16:57:02 +00:00
Aurimas Liutikas
9ac187304b Merge \\"Remove duplicate the from AppBar documentation.\\" into mnc-io-docs am: f9f7a29fe9
am: 9bd21c0fbb

Change-Id: Ib9c0255b772b0fc47d46758abdace1cf6bc9b045
2016-06-09 16:56:58 +00:00
Aurimas Liutikas
248eb25863 Merge \\"Fix code example in testing-support-library.\\" into mnc-io-docs am: e172a4b692
am: 5b8233126d

Change-Id: Iee54ea9150f67b2595df3919ee06d307778d6666
2016-06-09 16:56:54 +00:00
Aurimas Liutikas
d8b2c49475 Merge \\"Fix a link to CustomTabsCallback in support-library docs.\\" into mnc-io-docs am: 2ff2814a4a
am: 5d75a24896

Change-Id: Iaa7fa74ba79eb4b6ea2bdc8274ab1498cb6b79f5
2016-06-09 16:56:50 +00:00
Aurimas Liutikas
6e70538600 Merge \"Correct the size of example bitmap for xxhdpi.\" into mnc-io-docs
am: 396ed8d2cf

Change-Id: Idb10cf41ebddc99613fcac41e9b6367c6e6b9e46
2016-06-09 16:45:15 +00:00
Aurimas Liutikas
9bd21c0fbb Merge \"Remove duplicate the from AppBar documentation.\" into mnc-io-docs
am: f9f7a29fe9

Change-Id: I7c79f4df131bbb7f2f5189af901cd75ac240c194
2016-06-09 16:45:13 +00:00
Aurimas Liutikas
5b8233126d Merge \"Fix code example in testing-support-library.\" into mnc-io-docs
am: e172a4b692

Change-Id: I47e39e2a19289d12d1d54000c974ef9c1c97839a
2016-06-09 16:45:12 +00:00
Aurimas Liutikas
5d75a24896 Merge \"Fix a link to CustomTabsCallback in support-library docs.\" into mnc-io-docs
am: 2ff2814a4a

Change-Id: Ic1b3b40336bc22503ac86aea96bd98b705adf96d
2016-06-09 16:45:10 +00:00
Aurimas Liutikas
396ed8d2cf Merge "Correct the size of example bitmap for xxhdpi." into mnc-io-docs 2016-06-09 16:42:17 +00:00
Aurimas Liutikas
f9f7a29fe9 Merge "Remove duplicate the from AppBar documentation." into mnc-io-docs 2016-06-09 16:41:55 +00:00
Philip P. Moltmann
620c5af97b Handling of Fuji Xerox in RecommendationService.
- Display name
- Fix exclusion of Fuji from Xerox plugin

Bug: 28908572
Change-Id: I00c235a4eb09a681717eb3be65d586246a069f4b
2016-06-09 09:40:00 -07:00
Aurimas Liutikas
e172a4b692 Merge "Fix code example in testing-support-library." into mnc-io-docs 2016-06-09 16:39:26 +00:00
Aurimas Liutikas
2ff2814a4a Merge "Fix a link to CustomTabsCallback in support-library docs." into mnc-io-docs 2016-06-09 16:39:15 +00:00