200530 Commits

Author SHA1 Message Date
Riley Andrews
0394a0c399 Convert ashmem bitmap thresholds to constants.
Bug 25256717

Change-Id: I23e2795ef8798d83bf60dcbd6ff2e7093fcaa9b0
Signed-off-by: Riley Andrews <riandrews@google.com>
2015-11-03 23:52:17 -08:00
Ian Pedowitz
966d6040c6 Merge "Limit persistent ashmem backed fds to a minimum of 128kB." into mnc-dr-dev 2015-11-03 21:58:30 +00:00
Tenghui Zhu
61c93eb16d Merge "Use clang for libhwui" into mnc-dr-dev 2015-11-03 19:25:43 +00:00
Chris Craik
d354fd2c66 Use clang for libhwui
bug:25417885

Change-Id: I0ef8034d79ba3682925e3c2a4b7ccd833fd4f156
2015-11-03 10:34:28 -08:00
Dianne Hackborn
71e4984505 Merge "Fix issue #25357209: Could not send SMS or MMS messages, had to reboot" into mnc-dr-dev 2015-11-03 18:21:23 +00:00
Riley Andrews
8cee7c1711 Limit persistent ashmem backed fds to a minimum of 128kB.
Bug 25256717

Change-Id: Ieb356006df0a6545b89de44d3d8fd4b46312b3b8
Signed-off-by: Riley Andrews <riandrews@google.com>
2015-11-03 17:46:15 +00:00
Thierry Strudel
1942be506e Merge "NetworkTimeUpdateService: Grab a wakelock when manipulating system time" into mnc-dr-dev 2015-11-03 06:35:59 +00:00
Tyler Gunn
8b86c76296 Merge "Improve comment on EXTRA_CALL_RAT_TYPE." into mnc-dr-dev 2015-11-03 04:44:53 +00:00
Sanket Padawe
b57c65b00e Merge "Fix a crash while printing ICCID because of alphabets in UICC." into mnc-dr-dev 2015-11-03 01:47:04 +00:00
Dianne Hackborn
fcc95a6d2c Fix issue #25357209: Could not send SMS or MMS messages, had to reboot
I think what probably happened is that since we only report an app
going in to the "interaction" state as an interaction event to usage
stats, apps that sit around in that state forever will only see one
interaction at the start and never again.  So usage stats could start
thinking they are idle.

Fix this by having the activity manager report an interaction event
for such long running applications at least once a day.

Also, because it is correct and for paranoia by protected us another
way, system uids should never go in to standby.

Change-Id: I8a3805bfca86cbe78560488a649ecd07427da99a
2015-11-02 16:15:35 -08:00
Sanket Padawe
f149dcb36e Fix a crash while printing ICCID because of alphabets in UICC.
Bug: 25401769
Change-Id: Ieda058817b8d3cb4b1696fd9932bd0f10da55573
2015-11-02 15:45:18 -08:00
Selim Cinek
b0e4f9e97e Fixed a bug where the panel could get stuck closing
When mClosing was set even though the panel was not
expanding, the variable was never reset leading to
bad states like the notification shade not updating,
people missing calls and similar bad bugs.

Bug: 25338991
Change-Id: I4362fda257770c98c5f9ba75a5622b14f74dc5ae
2015-11-02 21:51:34 +00:00
Svetoslav Ganov
a47f9dad2b Merge "Don't try overriding system fixed permissions on install" into mnc-dr-dev 2015-11-02 20:57:12 +00:00
Svet Ganov
4f7883ce61 Don't try overriding system fixed permissions on install
bug:25397466

Change-Id: Ie92ec000a94b757178ddfdd9384407535f4af9db
2015-11-02 19:45:00 +00:00
Svetoslav Ganov
cfa233eefb Merge "Allow verifier to grant permissions" into mnc-dr-dev 2015-11-02 19:33:44 +00:00
Tyler Gunn
3ffb08aa5c Improve comment on EXTRA_CALL_RAT_TYPE.
Adding comments to EXTRA_CALL_RAT_TYPE to make it clear what it is used
for, and what values are expected.

Bug: 20144385
Change-Id: I248aca61abc8a57d7aeef650e48cc498e41c859b
2015-11-02 11:24:57 -08:00
Jeff Sharkey
3b1c6e03f6 PackageSettingBase needs to copy volume UUID.
When copying all fields from one PackageSettingBase to another, we
also need to copy volumeUuid, which had previously been missed.

Without this, packages using sharedUserId that are installed on
adopted storage devices will be destroyed, since after reboot we
think they actually belong on internal storage (where volumeUuid is
null).

Bug: 25334169
Change-Id: I223361bd1e19e7d5dd78626682ac7c5cbecb9fa1
2015-10-31 14:04:37 -07:00
Jeff Sharkey
a975732a83 Merge "Handle "uninstalled" apps when pruning app-ops." into mnc-dr-dev 2015-10-30 21:32:28 +00:00
Pavel Zhamaitsiak
4ec415800f Merge "IMS: Support For Per-Call RAT Info" into mnc-dr-dev 2015-10-30 14:22:28 +00:00
Jeff Sharkey
e2ed23e6b2 Handle "uninstalled" apps when pruning app-ops.
During system boot, we prune app-ops belonging to apps that have
been uninstalled.  However, apps installed on adopted storage devices
haven't been scanned at this point, so they appear to be uninstalled.

To avoid pruning app-ops for these apps, we need a getPackageUid()
variant that also considers "uninstalled" apps for which we still
have PackageSetting values.

Bug: 25206071
Change-Id: I1820f674d45c5ddc1c5f10ed7d859e7025005e28
2015-10-29 19:04:15 -07:00
Omkar Kolangade
3b0437eda3 IMS: Support For Per-Call RAT Info
Adding the extra key that will be used to
propagate RAT information for each call via
call extras. The key is used in IMS Service.

Bug: 20144385
Change-Id: Ia7ca81d661afb579fd25315036c43489b1dca50d
2015-10-29 19:00:26 -07:00
Thierry Strudel
8c842179bf NetworkTimeUpdateService: Grab a wakelock when manipulating system time
Bug: 24986869
Change-Id: Iab4e5ce6be0b5279ce85f868037ba256ee62c0ac
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2015-10-29 18:15:59 -07:00
Svetoslav
7bddf5aa06 Allow verifier to grant permissions
bug:25329324

Change-Id: I2ac01a983ad812df7725a0499a8d9b470a7ea481
2015-10-29 17:02:43 -07:00
Carlos Valdivia
02bffab9dc Get rid of getTypesVisibleToCaller log spam.
Bug: 25062620
Change-Id: Ia3080c501a288522a5b1de88d50f365357418ba8
2015-10-29 16:41:21 -07:00
Nick Kralevich
5701321701 UsbDeviceManager: set mUsbDataUnlocked=false on user switch
Make sure access to MTP data is relocked when a user switch occurs.

Bug: 25288494
Change-Id: I69dafc7f51b847f4dba1993a85fb1a51df1a5e37
2015-10-29 13:07:52 -07:00
Geoff Mendal
c3cd7b1585 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 25319151
Change-Id: I4170f31d992d23a365c98fe5e799a31ef48f17bd
2015-10-29 12:27:09 -07:00
Lorenzo Colitti
a2cc04736d Merge "Don't crash if a DHCP server doesn't send the server ID option." into mnc-dr-dev 2015-10-29 07:57:13 +00:00
Lorenzo Colitti
7611f1cdb4 Don't crash if a DHCP server doesn't send the server ID option.
This violates a MUST in RFC2131, but apparently some
implementations don't know or care.

Bug: 25343517
Change-Id: I80459b58ffe231e7ed64e77bafa157a96b745149
2015-10-29 16:09:16 +09:00
Svetoslav Ganov
2658cb002a Merge "Make SYSTEM_ALERT_WINDOW development permission" into mnc-dr-dev 2015-10-29 01:10:46 +00:00
Geoff Mendal
c7522c0b1c Merge "Import translations. DO NOT MERGE" into mnc-dr-dev 2015-10-28 14:38:11 +00:00
Geoff Mendal
bcefa34c3f Import translations. DO NOT MERGE
Change-Id: Id9e2298a05893e3769f0e62bcda5fe70c058d11a
Auto-generated-cl: translation import
2015-10-28 07:37:31 -07:00
Geoff Mendal
b8afc77c0a Import translations. DO NOT MERGE
Change-Id: If7c4ccf382e85f88a4fac586ca870068d8219974
Auto-generated-cl: translation import
2015-10-28 06:59:45 -07:00
Svetoslav
01af6a42a6 Make SYSTEM_ALERT_WINDOW development permission
bug:25329324

Change-Id: I0086464846bab9424764dd0d726692d96a0f1207
2015-10-27 18:12:06 -07:00
Daniel Sandler
da43cc0a21 Merge "Petites fautes." into mnc-dr-dev 2015-10-27 19:51:31 +00:00
Dan Sandler
aa1c08014e Petites fautes.
Bug: 25308153
Change-Id: I62ffe080e3f36eb685cdc06d8c106d32e18092ed
2015-10-27 13:42:55 -04:00
Dianne Hackborn
7682b26ea1 Fix issue #25289999: Lower device idle alarm limit to 10 mins.
This helps with some cases where perisistent network connections
need a more frequent keep alive signal.  Actually make it 9
minutes to ensure that things needing a 10 minute cycle will
execute within that time.

Change-Id: Ife8c7b7f7f82b108d5a6c1624bd6115e6087c3be
2015-10-27 10:23:38 -07:00
Geoff Mendal
14bb0511c6 Merge "Import translations. DO NOT MERGE" into mnc-dr-dev 2015-10-26 16:28:12 +00:00
Geoff Mendal
7afd89dfbb Import translations. DO NOT MERGE
Change-Id: I0383c1869f289a39ca3db684712dbd812e626e9a
Auto-generated-cl: translation import
2015-10-26 11:27:14 -05:00
Geoff Mendal
f6fc9e2152 Import translations. DO NOT MERGE
Change-Id: I9bf90d06113d8333bed3eec1c65ed799a785fb63
Auto-generated-cl: translation import
2015-10-26 07:17:06 -07:00
Puneet Kumar
ca9c43b27b Merge "Prevent recents from coming up when in SUW" into mnc-dr-dev 2015-10-24 15:20:28 +00:00
Michael Wright
d847ad5555 Prevent recents from coming up when in SUW
Bug: 25229538
Change-Id: I141c4eb928a5ce7f9858922862fe3dc1d3a33a90
2015-10-24 13:24:15 +01:00
Dan Sandler
493272c8a7 Delay hiding the cast icon for 3 seconds. DO NOT MERGE am: 1044e162c3 am: b1de85487a -s ours am: 410bea181b am: 511357c39b am: 7e16b2e8f5 -s ours
am: e68e70d509

* commit 'e68e70d509e2a0ba1c8bd56c231bf1c6cc3da967':
  Delay hiding the cast icon for 3 seconds. DO NOT MERGE
2015-10-24 00:45:01 +00:00
Dan Sandler
e68e70d509 Delay hiding the cast icon for 3 seconds. DO NOT MERGE am: 1044e162c3 am: b1de85487a -s ours am: 410bea181b am: 511357c39b
am: 7e16b2e8f5  -s ours

* commit '7e16b2e8f5b74d29711d330f6982d8ed12c3f4db':
  Delay hiding the cast icon for 3 seconds. DO NOT MERGE
2015-10-24 00:33:48 +00:00
Dan Sandler
7e16b2e8f5 Delay hiding the cast icon for 3 seconds. DO NOT MERGE am: 1044e162c3 am: b1de85487a -s ours am: 410bea181b
am: 511357c39b

* commit '511357c39b058b0d03beb175c1c35990729ee3d0':
  Delay hiding the cast icon for 3 seconds. DO NOT MERGE
2015-10-24 00:15:49 +00:00
Dan Sandler
d9a96ff747 Delay hiding the cast icon for 3 seconds. DO NOT MERGE am: 51c2619c77 am: 6026b5b17e am: 6c3186ea07 -s ours
am: ab4857790b

* commit 'ab4857790bc84388817c0bec8c4010d660f35ada':
  Delay hiding the cast icon for 3 seconds. DO NOT MERGE
2015-10-24 00:15:44 +00:00
Dan Sandler
ab4857790b Delay hiding the cast icon for 3 seconds. DO NOT MERGE am: 51c2619c77 am: 6026b5b17e
am: 6c3186ea07  -s ours

* commit '6c3186ea07a735d84e9a33e9864366b01f1f4c86':
  Delay hiding the cast icon for 3 seconds. DO NOT MERGE
2015-10-24 00:04:17 +00:00
Dan Sandler
511357c39b Delay hiding the cast icon for 3 seconds. DO NOT MERGE am: 1044e162c3 am: b1de85487a -s ours
am: 410bea181b

* commit '410bea181b229adef7a2c1a9308379eead260706':
  Delay hiding the cast icon for 3 seconds. DO NOT MERGE
2015-10-24 00:04:06 +00:00
Dan Sandler
6c3186ea07 Delay hiding the cast icon for 3 seconds. DO NOT MERGE am: 51c2619c77
am: 6026b5b17e

* commit '6026b5b17e786c180909d8fe5f6747e446e1d365':
  Delay hiding the cast icon for 3 seconds. DO NOT MERGE
2015-10-23 23:49:56 +00:00
Dan Sandler
410bea181b Delay hiding the cast icon for 3 seconds. DO NOT MERGE am: 1044e162c3
am: b1de85487a  -s ours

* commit 'b1de85487af1726c3d9e80d78bd643f550d9f3a4':
  Delay hiding the cast icon for 3 seconds. DO NOT MERGE
2015-10-23 23:49:54 +00:00
Dan Sandler
6026b5b17e Delay hiding the cast icon for 3 seconds. DO NOT MERGE
am: 51c2619c77

* commit '51c2619c7706575a171cf29819db14e91b815a62':
  Delay hiding the cast icon for 3 seconds. DO NOT MERGE
2015-10-23 23:39:50 +00:00