Daniel Sandler
0ec462005d
Fix build.
...
We don't need purgeResources public since it's part of the
ashmem internal optimization.
Change-Id: I65ba7545cf4801a8b97f3ece9b5ee5100c0f1c97
2015-06-24 01:27:05 -04:00
Daniel Sandler
25a5f30128
Merge "Use ashmem backed bitmaps for passing around notifications" into mnc-dev
2015-06-24 02:09:58 +00:00
Simranjit Singh Kohli
29124960c6
Merge "[Modify LastAuthenticatedTimestamp behaviour]:" into mnc-dev
2015-06-24 01:24:45 +00:00
Alan Viverette
b1825feac0
Merge "Throw IAE on invalid measure spec size" into mnc-dev
2015-06-23 23:41:03 +00:00
Dianne Hackborn
fcaed60650
Merge "Fix issue #20654534 : API Review: android.app.assist" into mnc-dev
2015-06-23 23:34:22 +00:00
Ruben Brunk
a39fcc5875
Merge "Update DngCreator to handle pre-correction dimens." into mnc-dev
2015-06-23 23:33:22 +00:00
Alan Viverette
ac6cfb32fe
Throw IAE on invalid measure spec size
...
Crash immediately so that we can track down the cause. If we let it
through, we'll hit an ISE later in dispatchVsync() and never know why.
Bug: 21948478
Change-Id: I84edf93cdf09d755419e18a7606b7b6cbd059956
2015-06-23 16:23:49 -07:00
Ruben Brunk
b8f4c6ab1e
Update DngCreator to handle pre-correction dimens.
...
Bug: 20491394
Change-Id: I0cdf7cec104bcb5683139c81fc52c8a0a7d2365c
2015-06-23 16:23:03 -07:00
Svetoslav Ganov
2c99ea3524
Merge "Remove not needed contacts related permissions." into mnc-dev
2015-06-23 23:04:20 +00:00
Svetoslav Ganov
6d2c0e5ee2
Remove not needed contacts related permissions.
...
This reverts commit ed5ff51b2c .
Change-Id: If2407e4e474a438d95e1b7ad1aa6f441bb3ace08
2015-06-23 23:03:55 +00:00
Zach Johnson
08a244cee8
Update CarrierService long lived binding API
...
Should take a metadata approach instead of a separate
intent.
b/21080696
Change-Id: Ib6e2ec0d3258e419aa14ae9e598a8147505feb84
2015-06-23 14:31:13 -07:00
Jeff Davidson
8d9ad19341
Merge "Default permissions for carrier apps." into mnc-dev
2015-06-23 20:43:06 +00:00
Alex Klyubin
90c9e4eb54
Merge "Keymaster key validity dates are optional." into mnc-dev
2015-06-23 20:35:30 +00:00
Dianne Hackborn
8ecf16d186
Fix issue #20654534 : API Review: android.app.assist
...
Remove the old ViewAssistStructure class.
Change-Id: I5eca7bc7af93cda5f654c9094a3aa07fe4958da2
2015-06-23 13:09:21 -07:00
Jorim Jaggi
a0d58ae574
Use ashmem backed bitmaps for passing around notifications
...
Avoids many copies during IPC and duplicate Java heap consumption in
system_server, SystemUI, etc.
Bug: 18386420
Change-Id: Id5ac9406062d472f7848009d65f12131f5f4dac9
2015-06-23 19:55:41 +00:00
Amith Yamasani
862ab87bda
Merge "Runtime permissions cannot be set on legacy apps by device policy" into mnc-dev
2015-06-23 19:43:41 +00:00
Paul Jensen
9065b81016
Merge "Disallow requesting networks with mutable NetworkCapabilities." into mnc-dev
2015-06-23 19:40:38 +00:00
Paul Jensen
dafd561298
Merge "Add NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL" into mnc-dev
2015-06-23 19:40:02 +00:00
Dianne Hackborn
a6fb1e70ff
Merge "Fix issue #20654534 : API Review: android.app.assist" into mnc-dev
2015-06-23 19:33:04 +00:00
Maxim Bogatov
e5a4a91c01
Merge "Transfer a11y node with a11y event" into mnc-dev
2015-06-23 19:26:58 +00:00
Alex Klyubin
d6c7799b9a
Keymaster key validity dates are optional.
...
This CL makes Android Keystore framework code add
KM_TAG_ACTIVE_DATETIME, KM_TAG_ORIGINATION_EXPIRE_DATETIME, and
KM_TAG_USAGE_EXPIRE_DATETIME tags to the authorizations set only
if the corresponding time instants were specified through the
framework-level API. This is fine because these tags are optional as
it turns out.
Bug: 18088752
Change-Id: I6a5ae4cadb441e61576231815e6bec6e9248bc72
2015-06-23 12:06:27 -07:00
Amith Yamasani
0bf8f7cc39
Runtime permissions cannot be set on legacy apps by device policy
...
Clarify docs that runtime permissions can be granted or revoked by
a profile owner/device owner only for MNC apps and not legacy apps.
Check the targetSdkVersion and return false if legacy app.
Remove all policy flags from permissions when cleaning up
a device or profile owner.
Bug: 21835304
Bug: 21889278
Change-Id: I4271394737990983449048d112a1830f9d0f2d78
2015-06-23 12:01:36 -07:00
Zhijun He
aeec90a050
Merge "Camera2: update high speed recording API java doc" into mnc-dev
2015-06-23 18:52:17 +00:00
Xiaohui Chen
a2c159fede
Merge "system_server: optimize app idle parole state change" into mnc-dev
2015-06-23 18:23:36 +00:00
Hiroshi Yamauchi
a1ee09c843
Merge "Clarify art.gc.gc-count-rate-histogram runtime stat." into mnc-dev
2015-06-23 18:14:50 +00:00
Paul Jensen
bb2e0e9816
Disallow requesting networks with mutable NetworkCapabilities.
...
It's not clear what it means to request a network with a mutable
NetworkCapability like NET_CAPABILITY_VALIDATED or
NET_CAPABILITY_CAPTIVE_PORTAL. Presently requesting such a network
would fail in a number of different ways:
1. The NetworkFactories would fail to match the request against their
filter which doesn't include stateful NetworkCapabilities.
2. If the NetworkFactories did match, they'd bring up networks to try
and satisfy the requests, but the networks would not have any
mutable NetworkCapabilities initially so they'd be reaped.
Because of these problems it's safest to simply disallow these
requests.
Bug: 21343774
Change-Id: I56303242b81d39b370b8d5d1e32059bfcfc25949
2015-06-23 14:13:10 -04:00
Paul Jensen
3d194eae6f
Add NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL
...
Bug: 21343774
Bug: 20898908
Change-Id: I23069a6cba346999d1b2eeaa445023bd6bf4ef94
2015-06-23 14:09:01 -04:00
Zhijun He
3c1ff68d69
Camera2: update high speed recording API java doc
...
Bug: 21442271
Change-Id: Iff5889394f7723eb0fd7319b9513cd0dca04b927
2015-06-23 11:06:01 -07:00
George Mount
ff0924c72d
Merge "Suppress Layout during Visibility transitions" into mnc-dev
2015-06-23 17:56:48 +00:00
Keisuke Kuroyanagi
1384d1d900
Merge "Fix: TextView makes new layouts too frequently." into mnc-dev
2015-06-23 17:56:48 +00:00
Maxim Bogatov
2f55a3f0b8
Transfer a11y node with a11y event
...
b/19870218
Change-Id: I29519d029cb7a154de09627afab7a0307abe85bd
2015-06-23 10:23:43 -07:00
Yin-Chia Yeh
d772b5e363
Merge "Camera: document expected thumbnail size in capture result" into mnc-dev
2015-06-23 17:12:42 +00:00
Yin-Chia Yeh
5988311cbb
Camera: document expected thumbnail size in capture result
...
Codegen document update only.
Bug: 21880406
Change-Id: I058f6af62ff341943f7fdf6eefe8303431211970
2015-06-23 10:11:57 -07:00
Jeff Davidson
2a88031208
Default permissions for carrier apps.
...
Grant permissions in the PHONE and LOCATION buckets to default carrier
apps as defined by the telephony stack. Provide a system API to grant
default permissions for carrier apps, as the set of apps may change
when a new SIM is inserted.
Since the phone process is separate from the system process, we need
to allow for binder calls to these APIs.
Also fix a log tag that is too long (android.util.Log drops messages
silently if the tag is > 23 characters).
Bug: 21696731
Change-Id: I98ca0c49c69f621f835ba57c1fd0505f2cec0d0d
2015-06-23 09:55:23 -07:00
Wale Ogunwale
dd7705bbf2
Merge "Update surfaces secure flag on screen capture setting change" into mnc-dev
2015-06-23 16:49:43 +00:00
Dianne Hackborn
b74128978a
Merge "Fix issue #21254610 : StrictMode uses Log.wtf which crashes apps on L+" into mnc-dev
2015-06-23 16:46:37 +00:00
Dianne Hackborn
6af40c8338
Merge "Fix issue #21799741 : AbstractThreadedSyncAdapter crashes..." into mnc-dev
2015-06-23 16:45:50 +00:00
Wale Ogunwale
f5ad42f432
Update surfaces secure flag on screen capture setting change
...
Also, added 'wm screen-capture [userId] [true|false]'
command.
Bug: 20934462
Change-Id: I14711003d7691fc4495428c12c9ff3457cd3773c
2015-06-23 09:08:29 -07:00
Lorenzo Colitti
e2d921da29
Merge "Re-hide onPreCheck and unhide NET_CAPABILITY_VALIDATED." into mnc-dev
2015-06-23 14:41:57 +00:00
Michael Wright
805fc82ea9
Merge "Add method to set action button on MotionEvent" into mnc-dev
2015-06-23 12:48:56 +00:00
Zoltan Szatmary-Ban
2c3c66a2cf
Merge "Introduce Settings.Global.WIFI_DEVICE_OWNER_CONFIGS_LOCKDOWN" into mnc-dev
2015-06-23 08:44:49 +00:00
Seigo Nonaka
02ebcdb911
Merge "Revive Null check for backward compatibility." into mnc-dev
2015-06-23 08:31:12 +00:00
Chris Banes
3ae5e8b25b
Merge "Fix leak for MenuInflater + setActionBar" into mnc-dev
2015-06-23 07:05:43 +00:00
Bart Sears
1ef23adef8
Merge "Revert "Remove not needed contacts related perissions."" into mnc-dev
2015-06-23 06:18:20 +00:00
Bart Sears
ed5ff51b2c
Revert "Remove not needed contacts related perissions."
...
Broke the build, reverting.
This reverts commit a2991da0d6 .
Change-Id: I2bdfa70fbd8a6c03e48426f85eeb63896762d5da
2015-06-23 06:16:25 +00:00
Eino-Ville Talvala
b14a1ac057
Merge changes from topic 'remove-high-res' into mnc-dev
...
* changes:
Camera2: Fix StreamConfigurationMap#isOutputSupportedFor for depth
Camera2: Remove HIGH_RESOLUTION level and modify FULL requirements
2015-06-23 06:07:04 +00:00
Svet Ganov
2b5bec9356
Merge "Remove not needed contacts related perissions." into mnc-dev
2015-06-23 04:00:06 +00:00
Christopher Tate
6d2268a576
Merge "Back up / restore default app and intent filter verification state" into mnc-dev
2015-06-23 01:02:12 +00:00
Dianne Hackborn
fde298e738
Fix issue #21254610 : StrictMode uses Log.wtf which crashes apps on L+
...
Raise the limit at which we consider the strict mode trace to
be unreasonably large.
Change-Id: I5ec5332dd5aa2631e017d246e4a8b978b82cf318
2015-06-22 17:52:13 -07:00
Dianne Hackborn
d01ed46c63
Fix issue #21799741 : AbstractThreadedSyncAdapter crashes...
...
...when permissions aren't granted
Eat the SecurityException, turn it into a new callback.
Change-Id: Ibeffce061aa51beba097c90f431de07ce70b3c4e
2015-06-22 17:41:44 -07:00