OSDN Git Service
Dianne Hackborn [Tue, 27 Oct 2015 00:51:57 +0000 (17:51 -0700)]
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
Geoff Mendal [Mon, 26 Oct 2015 16:28:12 +0000 (16:28 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
Geoff Mendal [Mon, 26 Oct 2015 16:27:14 +0000 (11:27 -0500)]
Import translations. DO NOT MERGE
Change-Id: I0383c1869f289a39ca3db684712dbd812e626e9a
Auto-generated-cl: translation import
Geoff Mendal [Mon, 26 Oct 2015 14:17:06 +0000 (07:17 -0700)]
Import translations. DO NOT MERGE
Change-Id: I9bf90d06113d8333bed3eec1c65ed799a785fb63
Auto-generated-cl: translation import
Puneet Kumar [Sat, 24 Oct 2015 15:20:28 +0000 (15:20 +0000)]
Merge "Prevent recents from coming up when in SUW" into mnc-dr-dev
Michael Wright [Sat, 24 Oct 2015 12:24:15 +0000 (13:24 +0100)]
Prevent recents from coming up when in SUW
Bug:
25229538
Change-Id: I141c4eb928a5ce7f9858922862fe3dc1d3a33a90
Dan Sandler [Sat, 24 Oct 2015 00:45:01 +0000 (00:45 +0000)]
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
Dan Sandler [Sat, 24 Oct 2015 00:33:48 +0000 (00:33 +0000)]
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
Dan Sandler [Sat, 24 Oct 2015 00:15:49 +0000 (00:15 +0000)]
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
Dan Sandler [Sat, 24 Oct 2015 00:15:44 +0000 (00:15 +0000)]
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
Dan Sandler [Sat, 24 Oct 2015 00:04:17 +0000 (00:04 +0000)]
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
Dan Sandler [Sat, 24 Oct 2015 00:04:06 +0000 (00:04 +0000)]
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
Dan Sandler [Fri, 23 Oct 2015 23:49:56 +0000 (23:49 +0000)]
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
Dan Sandler [Fri, 23 Oct 2015 23:49:54 +0000 (23:49 +0000)]
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
Dan Sandler [Fri, 23 Oct 2015 23:39:50 +0000 (23:39 +0000)]
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
Dan Sandler [Fri, 23 Oct 2015 23:39:39 +0000 (23:39 +0000)]
Delay hiding the cast icon for 3 seconds. DO NOT MERGE
am:
446dcc9ed7
* commit '
446dcc9ed7efa0b80ed7d353478326b2236f2cab':
Delay hiding the cast icon for 3 seconds. DO NOT MERGE
Dan Sandler [Fri, 23 Oct 2015 23:39:22 +0000 (23:39 +0000)]
Delay hiding the cast icon for 3 seconds. DO NOT MERGE
am:
1044e162c3
* commit '
1044e162c3dc4169b79112fc1a2de14757bca8c3':
Delay hiding the cast icon for 3 seconds. DO NOT MERGE
xin He [Fri, 23 Oct 2015 20:45:24 +0000 (20:45 +0000)]
Merge "[DO NOT MERGE] EAP-TLS PMKID mismatch error" into mnc-dr-dev
xinhe [Wed, 21 Oct 2015 18:47:03 +0000 (11:47 -0700)]
[DO NOT MERGE] EAP-TLS PMKID mismatch error
b/
24253154
Change-Id: I45c770dc4769e74b668385dbc3a618d31a40dc7e
Adrian Roos [Fri, 23 Oct 2015 17:21:23 +0000 (17:21 +0000)]
Merge "Revert "Revert "Track ashmem memory usage in Parcel""" into mnc-dr-dev
Dianne Hackborn [Fri, 23 Oct 2015 17:04:55 +0000 (17:04 +0000)]
Merge "DO NOT MERGE Fix issue #
24118803: The screen doesn't turn off..." into mnc-dr-dev
Dan Sandler [Tue, 20 Oct 2015 23:01:27 +0000 (16:01 -0700)]
Delay hiding the cast icon for 3 seconds. DO NOT MERGE
Ensure that the user has had a chance to see it for a few
seconds after screen recording has ended.
Bug:
19121797
(cherry picked from commit
8fd25bf7711aabffe73213ba1f9056f285270695)
Change-Id: I14d9fb54521dc6d60822e7c683e4e92fd62cdc6a
Dan Sandler [Tue, 20 Oct 2015 23:01:27 +0000 (16:01 -0700)]
Delay hiding the cast icon for 3 seconds. DO NOT MERGE
Ensure that the user has had a chance to see it for a few
seconds after screen recording has ended.
(cherry picked from commit
8fd25bf7711aabffe73213ba1f9056f285270695)
Bug:
19121797
Change-Id: I7a5c12b371b735c756ca5a3e8716c385fb3fbfe9
Dan Sandler [Tue, 20 Oct 2015 23:01:27 +0000 (16:01 -0700)]
Delay hiding the cast icon for 3 seconds. DO NOT MERGE
Ensure that the user has had a chance to see it for a few
seconds after screen recording has ended.
Bug:
19121797
Change-Id: I52b69b2029439d42163ead5dc8748889b4f61934
(cherry picked from commit
8fd25bf7711aabffe73213ba1f9056f285270695)
Adrian Roos [Thu, 22 Oct 2015 23:12:01 +0000 (16:12 -0700)]
Revert "Revert "Track ashmem memory usage in Parcel""
This reverts commit
e2adb2cf0f2c90c77fab3f09285a92e05e70b567.
Bug:
25004154
Change-Id: I9b432d1ebc39f3bbcd7afdefc403f0fb6ced8158
Dianne Hackborn [Fri, 23 Oct 2015 00:40:23 +0000 (17:40 -0700)]
DO NOT MERGE Fix issue #
24118803: The screen doesn't turn off...
...after more than 60 minutes left
The sensing timeout alarm was being cancelled immediately after it
was scheduled it. Now only cancel it when we are done sensing or
have reset activity.
Change-Id: Id0440cda7dd1b81bf871f16dfb015df6284cf6af
Sungmin Choi [Fri, 16 Oct 2015 21:39:22 +0000 (14:39 -0700)]
Remove tether_apndata for Sasktel
Device has second APN (inet.stm.sk.ca) is being used for hot spot/tethered data.
SaskTel has moved to a single APN on devices (pda.stm.sk.ca).
BUG=
25064017
Change-Id: I5ba1f9e7c3b54cf8e8681a289693aba0ac584296
Ian Pedowitz [Thu, 22 Oct 2015 22:26:32 +0000 (22:26 +0000)]
Merge "Revert "Track ashmem memory usage in Parcel"" into mnc-dr-dev
Ian Pedowitz [Thu, 22 Oct 2015 22:08:07 +0000 (22:08 +0000)]
Revert "Track ashmem memory usage in Parcel"
This reverts commit
ab3f9724035046d65124a72db2a09c824b3d5c67.
Bug:
25169267
Bug:
25191602
Bug:
25004154
Change-Id: Ic51e62515273e4687359dfd9ff770a4d06c0c667
Nicolas Prévot [Thu, 22 Oct 2015 20:29:51 +0000 (20:29 +0000)]
Merge "Don't resolve cross-profile app links without intent picker." into mnc-dr-dev
Dmitry Torokhov [Thu, 22 Oct 2015 17:07:53 +0000 (10:07 -0700)]
SystemUI: fix automatic pairing of BT keyboards
After reset (docking) Pixel C Keyboard that was previously paired with
a device goes into so-called non-discoverable mode, where it will
establish connection only with device that it has connected before. When
scanning for available devices we need to wait till the keyboard starts
advertising itself as discoverable, and only then try to pair.
Also, let's flush the device cache when we attach the base to make sure
the device that we seen before and cached again in the right state after
reset.
Bug:
24915541
Change-Id: I136c1c4235080a25529b4b1c2b1da9bc18508811
Nicolas Prevot [Thu, 22 Oct 2015 13:55:26 +0000 (14:55 +0100)]
Don't resolve cross-profile app links without intent picker.
If ALLOW_CROSS_PROFILE_APP_LINKING has been set:
If there is an app with status always across profiles, and some
apps without status always in the current profile: show an intent
picker instead of directly resolving across profiles.
BUG:
25109215
Change-Id: I74a67d231284ce912121ea0818109fbf904183e8
Yoshiki Iguchi [Thu, 15 Oct 2015 04:34:41 +0000 (13:34 +0900)]
Fix crash on calling removeSelection with showing selection handlers
A crash occured on updating after calling removeSelection with showing
selection handlers. This was because some selection-handler code didn't
consider the case the selection index was -1 (-1 means there is no selection).
This patch fixes this crash.
Bug:
23299977
Change-Id: I736d315e073f773aec597522203015205a8da42b
Lorenzo Colitti [Thu, 22 Oct 2015 06:15:05 +0000 (06:15 +0000)]
Merge "Reinstate CHANGE_NETWORK_STATE as a normal permission." into mnc-dr-dev
Nathan Harold [Thu, 22 Oct 2015 03:12:10 +0000 (20:12 -0700)]
Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()
-Fixed doc string
Bug:
23979591
This reverts commit
f7b6474de87fd2eee377dc612c757102cdacc003.
Change-Id: I127f1452f4319a154dd4d962d4a63c84f0833702
Nathan Harold [Thu, 22 Oct 2015 02:54:45 +0000 (02:54 +0000)]
Merge "Revert "Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()"" into mnc-dr-dev
Nathan Harold [Thu, 22 Oct 2015 02:53:57 +0000 (02:53 +0000)]
Revert "Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()"
This reverts commit
5d1429e0dd1a13f76dbb354f9e4e415f71956299.
Doc string isn't resolving. Temporarily reverting.
Change-Id: I128b13abcf938c96b24225e373ac0885c24e083e
Nathan Harold [Thu, 22 Oct 2015 01:58:37 +0000 (01:58 +0000)]
Merge "Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()" into mnc-dr-dev
Adrian Roos [Thu, 22 Oct 2015 00:46:03 +0000 (00:46 +0000)]
Merge "Track ashmem memory usage in Parcel" into mnc-dr-dev
Dianne Hackborn [Thu, 22 Oct 2015 00:37:33 +0000 (00:37 +0000)]
Merge "Hopefully fix issue #
25153459: Sandboxed_process1 thrashing" into mnc-dr-dev
Adrian Roos [Wed, 21 Oct 2015 21:50:38 +0000 (14:50 -0700)]
Track ashmem memory usage in Parcel
Bug:
25004154
Change-Id: Id9d5656dd0605f1b50525596b75601309f67ebdc
(cherry picked from commit
4701a496a5477a7de01fbc9eaf4af9812f83770c)
Dianne Hackborn [Thu, 22 Oct 2015 00:12:53 +0000 (17:12 -0700)]
Hopefully fix issue #
25153459: Sandboxed_process1 thrashing
There is a race where if you unbind to a service before its
process has come up, we would leave the service record active
and keep it running. Fix this by checking the service state
after its process up and proceed to bring it down if it is no
longer needed.
Also added a similar check when restarting a service, just in
case there are other ways we can get into this situation.
And while I am at it, I tweaked the broadcast queue dump output
a bit to hopefully make it a lot easier to figure out how long
it is taking to process broadcasts.
Change-Id: I46b98f1fe394ab8039ea4cc81fb5d3afb6391a31
Lorenzo Colitti [Thu, 15 Oct 2015 07:29:00 +0000 (16:29 +0900)]
Reinstate CHANGE_NETWORK_STATE as a normal permission.
This is a partial revert of http://ag/738523 , but not a full
revert because M apps that have gone through the WRITE_SETTINGS
route to obtain permission to change network state should
continue to have permission to do so.
Specifically:
1. Change the protection level of CHANGE_NETWORK_STATE back from
"signature|preinstalled|appop|pre23" to "normal". This allows
apps that declare CHANGE_NETWORK_STATE in their manifest to
acquire it, even if they target the M SDK or above.
2. Change the ConnectivityManager permission checks so that they
first check CHANGE_NETWORK_STATE, and then ask Settings
if the app has the WRITE_SETTINGS runtime permission.
3. Slightly simplify the code in the Settings provider code that
deals specifically with the ability to change network state.
4. Make the ConnectivityService permissions checks use the
ConnectivityManager code to avoid code duplication.
5. Update the ConnectivityManager public Javadoc to list both
CHANGE_NETWORK_STATE and WRITE_SETTINGS.
Bug:
21588539
Bug:
23597341
Change-Id: Ic06a26517c95f9ad94183f6d126fd0de45de346e
Daniel Sandler [Wed, 21 Oct 2015 23:14:50 +0000 (23:14 +0000)]
Merge "Delay hiding the cast icon for 3 seconds." into mnc-dr-dev
Dan Sandler [Tue, 20 Oct 2015 23:01:27 +0000 (16:01 -0700)]
Delay hiding the cast icon for 3 seconds.
Ensure that the user has had a chance to see it for a few
seconds after screen recording has ended.
Bug:
19121797
Change-Id: I52b69b2029439d42163ead5dc8748889b4f61934
Adam Powell [Wed, 21 Oct 2015 20:40:45 +0000 (20:40 +0000)]
Merge "Don't query ChooserTargetService apps that haven't been used recently" into mnc-dr-dev
Selim Cinek [Wed, 21 Oct 2015 20:39:28 +0000 (20:39 +0000)]
Merge "Changing the ordering for heads up notifications" into mnc-dr-dev
Todd Kennedy [Wed, 21 Oct 2015 20:33:31 +0000 (20:33 +0000)]
Merge "Maintain shared user list on OTA" into mnc-dr-dev
Todd Kennedy [Wed, 21 Oct 2015 20:09:10 +0000 (13:09 -0700)]
Maintain shared user list on OTA
When a package is removed during an OTA, we weren't removing it from the
shared user list. This means anyone asking for the packages for a shared
UID would continue to see the old package.
Bug:
24906701
Change-Id: Ifb6d64195e6b8af7454e19591611af66a40cbd10
Adam Powell [Wed, 21 Oct 2015 20:21:28 +0000 (13:21 -0700)]
Don't query ChooserTargetService apps that haven't been used recently
Resolver/ChooserActivity sort apps based on usage factors for the last
two weeks. A score of zero means no usage data within that timeframe.
For system health and UI relevance, don't bother even waking up apps
that have zero scores.
Bug
25126166
Change-Id: Iae34a9667eb1985d6fe986670f3fb3f1177576da
Nathan Harold [Wed, 21 Oct 2015 17:51:02 +0000 (10:51 -0700)]
Add the FEATURE_TELEPHONY restriction to TelephonyManager.getAllCellInfo()
Bug:
23979591
Change-Id: I16ffa7666fdf0eb081bb1bafa57ebd384d7c3fdf
Jeff Sharkey [Wed, 21 Oct 2015 16:59:55 +0000 (09:59 -0700)]
Narrow permission re-granting to specific volume.
When mounting a storage volume after an SDK upgrade, the platform
grants install permissions requested by apps. This patch fixes a
bug that was causing us to re-grant permissions for all installed
apps; we now narrow the granting to just the storage volume of
interest.
Also fixes a bug where scanning of internal ASECs would bump the
VersionInfo of the legacy apps-on-SD volume.
There is still a bug here around internal ASECs not being considered
for re-grants, but that needs to be fixed in a more invasive CL that
creates a separate VersionInfo. In addition, internal ASECs (also
known as forward locked apps) have been deprecated for some time.
Bug:
24583803
Change-Id: I9115fd484ec083bc10a970f5f612860d5a53e520
Geoff Mendal [Wed, 21 Oct 2015 16:39:56 +0000 (16:39 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
Geoff Mendal [Wed, 21 Oct 2015 16:24:14 +0000 (11:24 -0500)]
Import translations. DO NOT MERGE
Change-Id: Iafe3e615aa33308b7fb6e2b71df40e190371b7f3
Auto-generated-cl: translation import
Andrei Stingaceanu [Wed, 21 Oct 2015 15:56:26 +0000 (15:56 +0000)]
Merge "Fix toolbar flickering in ExtractedMode when longpressing." into mnc-dr-dev
Andrei Stingaceanu [Tue, 20 Oct 2015 18:11:23 +0000 (19:11 +0100)]
Fix toolbar flickering in ExtractedMode when longpressing.
onPreDraw starts an action mode in extract mode only which
does not consider the type of motion event and since extracted
mode never gets the focus event it never hides so it does not
need to show again.
Stop starting an action mode onPreDraw in extracted mode and
let the onTouchEvent handle starting the mode.
Also re-enabled dragging and dropping for ExtractedMode (most
of the issues were caused by starting the action mode
onPreDraw).
Bug:
25102276
Change-Id: I90d8e9f42f395b6b529e4d023ba6939e0dfb147f
Paul Lawrence [Wed, 21 Oct 2015 14:27:33 +0000 (14:27 +0000)]
Merge "Don't include password on default encryption command" into mnc-dr-dev
Geoff Mendal [Wed, 21 Oct 2015 14:18:52 +0000 (07:18 -0700)]
Import translations. DO NOT MERGE
Change-Id: I03353dbedeb1204ce7cd07577257aa070ce19b2f
Auto-generated-cl: translation import
Lorenzo Colitti [Wed, 21 Oct 2015 01:10:10 +0000 (01:10 +0000)]
Merge "Don't buzz when automatically connecting to captive portals" into mnc-dr-dev
Lorenzo Colitti [Wed, 21 Oct 2015 00:15:41 +0000 (09:15 +0900)]
Don't buzz when automatically connecting to captive portals
Play a sound and vibrate (by setting DEFAULT_ALL) only if the
user manually selected the network. This applies to both captive
portals and networks with no Internet access.
Bug:
24126143
Change-Id: Idf075d5c85f9f4b07a3431a25d1a3f7089cf1ee2
Jeff Sharkey [Wed, 21 Oct 2015 00:48:47 +0000 (00:48 +0000)]
Merge "Correctly derive ABI for apps on adopted media." into mnc-dr-dev
Jeff Sharkey [Wed, 21 Oct 2015 00:32:01 +0000 (17:32 -0700)]
Correctly derive ABI for apps on adopted media.
There was a bug causing PackageManager to think apps on adopted media
were actually in an ASEC, causing it to skip ABI derivation. This
change fixes the issue by copying the volume UUID into place early
in the scanning process.
Also fixes two places where we had incorrectly been including apps
on adopted media; switched them to check only for ASECs.
Bug:
24583803
Change-Id: If66d1bce02824a4d8e22f741b04a2abda0378cfb
Pavel Zhamaitsiak [Wed, 21 Oct 2015 00:27:27 +0000 (00:27 +0000)]
Merge "Carrier Config: Add KEY_CARRIER_IMS_GBA_REQUIRED_BOOL flag" into mnc-dr-dev
Rob Carr [Tue, 20 Oct 2015 23:30:12 +0000 (23:30 +0000)]
Merge "Catch exceptions thrown by pending activity launches." into mnc-dr-dev
Pavel Zhamaitsiak [Fri, 16 Oct 2015 23:39:00 +0000 (16:39 -0700)]
Carrier Config: Add KEY_CARRIER_IMS_GBA_REQUIRED_BOOL flag
Bug:
23731243
Change-Id: I3e08469ef293f0b619f95dd9fb48e8c582926270
Selim Cinek [Tue, 20 Oct 2015 23:07:12 +0000 (16:07 -0700)]
Changing the ordering for heads up notifications
In the new ranking, notifications with fullscreen
intents always take priority over those without,
such that when you get a call and a message
in succession, you would always see the
call on top and are able to pick it up.
Bug:
22778349
Change-Id: Ia9aaf009998fc9493f513dc71f2649d38ccf7a79
Kevin Cernekee [Tue, 20 Oct 2015 22:11:29 +0000 (22:11 +0000)]
Merge "ignore initial request to disable iptable chain" into mnc-dr-dev
Matthew Williams [Tue, 20 Oct 2015 22:03:17 +0000 (22:03 +0000)]
Merge "DO NOT MERGE Race condition in JobServiceContext" into mnc-dr-dev
Robert Carr [Tue, 20 Oct 2015 21:44:45 +0000 (14:44 -0700)]
Catch exceptions thrown by pending activity launches.
When we perform pendign activity launches from the handler
thread (as opposed to the a client binder thread), we must
take care exceptions from such will not bring the system
server down.
Bug:
24983901
Change-Id: I0e75f6b51bf6172a8e1b9cccc5fffb9d50c63e30
Alan Viverette [Tue, 20 Oct 2015 21:44:35 +0000 (21:44 +0000)]
Merge "DO NOT MERGE Use correct param for heightMode in RelativeLayout horizontal measure" into mnc-dr-dev
Matthew Williams [Sat, 17 Oct 2015 04:04:51 +0000 (21:04 -0700)]
DO NOT MERGE Race condition in JobServiceContext
BUG:
23981171
JobServiceContext has a reference to the running job which
1) needs to be copied before providing access to outside callers
2) was not guarded by a lock in one case which might result in an NPE
Change-Id: I7eb04052f3fe63e7b386c564a6bdebf9144e976a
(cherry picked from commit
0cc7654e109d232e5d9a9de06482d8d349a21f28)
Alan Viverette [Tue, 20 Oct 2015 21:29:39 +0000 (17:29 -0400)]
DO NOT MERGE Use correct param for heightMode in RelativeLayout horizontal measure
Bug:
22824701
Bug:
25107144
Change-Id: Ia0afd3edc20b8127605aef2653fa9b5472f41be2
(cherry picked from commit
130ce740d1aa4b9a7b024c76f8adec2c24278a81)
Xiaohui Chen [Tue, 20 Oct 2015 20:53:45 +0000 (13:53 -0700)]
ignore initial request to disable iptable chain
iptable child chains are disabled by default. Ignore the initial
disable request so netd won't throw errors when it cannot detach chains
that do not exist.
Bug:
22800189
Change-Id: I70b4b8b9e6a5dbffe32841941922b7fd92dcd3d6
Original-Change-Id: I9312dd558ba6d59dc6aa394afeb66a222daafcf9
[cernekee: backported from master branch]
Matthew Williams [Fri, 16 Oct 2015 19:01:31 +0000 (12:01 -0700)]
DO NOT MERGE Sync extras bundle comparison can throw NPE
BUG:
23591205
Change-Id: Ic6404c0befe70c34b078e0eae6a627826173d82c
(cherry picked from commit
9ad2c8403354a985258c098681067e74b9e2f638)
Rob Carr [Tue, 20 Oct 2015 18:20:27 +0000 (18:20 +0000)]
Merge "Correct ActivityInfo constructors." into mnc-dr-dev
Robert Carr [Tue, 15 Sep 2015 19:30:42 +0000 (12:30 -0700)]
Correct ActivityInfo constructors.
ActivityInfo was missing initialization for the
documentLaunchMode flag in the copy-constructor
and the Parcel constructor. The copy-constructor
is used in multi-user/profile mode to create a
seperate instance of the ActivityInfo per uid
and this was manifesting in the linked bug.
Bug:
21590916
Change-Id: I6f71d94ec32ec6326d23c9b62e9d8d319e2fa25e
(cherry picked from commit
3e2e0117858eb02fef55ca4c245e8b920aedc6eb)
Abodunrinwa Toki [Tue, 20 Oct 2015 17:47:28 +0000 (17:47 +0000)]
Merge "Re-set PROCESS_TEXT selection if nothing was returned." into mnc-dr-dev
Jeff Sharkey [Tue, 20 Oct 2015 17:22:27 +0000 (17:22 +0000)]
Merge "Add locking when mutating RecentTasks." into mnc-dr-dev
Jeff Sharkey [Tue, 20 Oct 2015 17:21:46 +0000 (17:21 +0000)]
Merge "Ignore network policies with missing IMSI." into mnc-dr-dev
Alan Viverette [Tue, 20 Oct 2015 16:54:12 +0000 (16:54 +0000)]
Merge "Update drawable matrix when bounds change in invalidateDrawable()" into mnc-dr-dev
George Mount [Tue, 20 Oct 2015 16:41:33 +0000 (16:41 +0000)]
Merge "Set the bounds on the drawable for ChangeBounds reparenting." into mnc-dr-dev
Abodunrinwa Toki [Mon, 19 Oct 2015 23:19:23 +0000 (00:19 +0100)]
Re-set PROCESS_TEXT selection if nothing was returned.
Bug:
25043887
Change-Id: If069a5e23f1adf6a2c3aac8fe7e3f19cff2e28ad
Michael Wright [Tue, 20 Oct 2015 15:31:01 +0000 (15:31 +0000)]
Merge "Add SystemUI component to watch for keyboard attachment." into mnc-dr-dev
Todd Kennedy [Tue, 20 Oct 2015 14:36:00 +0000 (14:36 +0000)]
Merge "Retain fragment loaders" into mnc-dr-dev
Alan Viverette [Tue, 20 Oct 2015 13:48:58 +0000 (09:48 -0400)]
Update drawable matrix when bounds change in invalidateDrawable()
Bug:
24797872
Change-Id: Ib2bcce6f7d6fab33633a915882821b00d94e4e44
Jeff Sharkey [Tue, 20 Oct 2015 00:46:04 +0000 (17:46 -0700)]
Add locking when mutating RecentTasks.
Otherwise there is a really rare race condition where we try tearing
down the tasks while we're still setting them up.
Bug:
25078914
Change-Id: Icf89241f9abec3fadc8606cfb4fbc029bbe91515
Adam Powell [Tue, 20 Oct 2015 00:33:37 +0000 (00:33 +0000)]
Merge "DO NOT MERGE Fix jank when intent resolver/chooser windows animate in" into mnc-dr-dev
Adam Powell [Mon, 19 Oct 2015 23:25:08 +0000 (16:25 -0700)]
DO NOT MERGE Fix jank when intent resolver/chooser windows animate in
An old optimization in ViewRoot prevents updating a window surface
while a window animation is playing. SystemUI and other small system
components that blend these animations disable this for a smoother
experience. Disable it in ResolverActivity as well.
Bug
24989381
Change-Id: Iac7d1c7b1101ed8d2bc4c3557277a773ce871beb
Jeff Sharkey [Mon, 19 Oct 2015 23:52:08 +0000 (16:52 -0700)]
Ignore network policies with missing IMSI.
In rare cases, we might have created a network policy before an IMSI
was available. Because this policy is persisted, and we incorrectly
think that it always applies, we end up annoying the user when data
usage goes over the 2GB default warning threshold.
This patch fixes the network matching logic to ignore these empty
network policies when present.
Bug:
24972775
Change-Id: Id26499b6716121dddf0f2c05b848b0bed5995e72
George Mount [Mon, 19 Oct 2015 19:14:01 +0000 (12:14 -0700)]
Set the bounds on the drawable for ChangeBounds reparenting.
Bug
24993183
The bounds for the drawable weren't being set, so the
drawable was never drawn to the correct size.
Change-Id: I992951f28ee6fac2ce8752d2dc0e23f51d3cf584
(cherry picked from commit
f2a3703696f5dc8b1a0d243051e0db65c2145452)
Todd Kennedy [Mon, 19 Oct 2015 22:31:51 +0000 (15:31 -0700)]
Retain fragment loaders
Remove the partial fix [it did not work for child fragment managers]
and replace with a more general fix that works with all fragments.
Bug:
23838271
Change-Id: I88b465f6a06a6ad627b9651b9e2eea41fae08972
Adrian Roos [Mon, 19 Oct 2015 23:26:47 +0000 (23:26 +0000)]
Merge "Reload content description of KeyButtonView" into mnc-dr-dev
Todd Kennedy [Mon, 19 Oct 2015 22:52:27 +0000 (22:52 +0000)]
Merge "Set host when restoring a fragment" into mnc-dr-dev
Mathieu Chartier [Mon, 19 Oct 2015 22:47:45 +0000 (22:47 +0000)]
Merge "Fix read_mapinfo to recognize free list large object space" into mnc-dr-dev
Mathieu Chartier [Mon, 19 Oct 2015 20:48:34 +0000 (13:48 -0700)]
Fix read_mapinfo to recognize free list large object space
Bug:
25081604
(cherry picked from commit
6421da8f46e2a60da55939d8a4f7d91ab286dfcf)
Change-Id: If676c2309e3e397676fa8cef21405c34db7d5db2
Svetoslav Ganov [Mon, 19 Oct 2015 22:41:35 +0000 (22:41 +0000)]
Merge "Don't allow concurrent permission requests." into mnc-dr-dev
Aravind Akella [Mon, 19 Oct 2015 21:15:28 +0000 (21:15 +0000)]
Merge "Fix a possible race condition in SensorManager initialization." into mnc-dr-dev
Todd Kennedy [Mon, 19 Oct 2015 19:48:55 +0000 (12:48 -0700)]
Set host when restoring a fragment
When we restore a fragment [i.e. on configuration change], we need to
make sure the host is set prior to calling into lifecycle methods
such as onInflate(). These use data contained within the host.
Bug:
22512520
Change-Id: I709365a858cfc555ec5b7fc200629fa8d022faad
Aravind Akella [Fri, 16 Oct 2015 21:18:40 +0000 (14:18 -0700)]
Fix a possible race condition in SensorManager initialization.
Bug:
24526176
Change-Id: Ib8bae6eee16a5b787d3c2da6ef03af311cfdfadc
Geoff Mendal [Mon, 19 Oct 2015 15:55:17 +0000 (15:55 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr-dev