Commit Graph

301953 Commits

Author SHA1 Message Date
Tyler Gunn
6adbd2bf5f Add reason code used to tell dialer when call failed due to WFC being off.
Adding new reason code which will be sent to Dialer to display a message
to the user when the call fails to the WFC being off.

Test: Manual
Bug: 28709116
Change-Id: I155fda9a47823d6d3f68be6f07dbe64998a582ae
2016-12-07 13:19:44 -08:00
Eric Laurent
6f174ed4b1 Merge "AudioService: fix mismatch in device volume index for alias streams" into nyc-mr2-dev
am: a33630fbbe

Change-Id: I890c2f5a723d4fca4e6bf0caa4cbd2597ba84912
2016-12-07 21:18:48 +00:00
Eric Laurent
c6729478b1 AudioService: fix mismatch in device volume index for alias streams
am: 825a5ea380

Change-Id: I44f3e0a603ddea097abca5af134615b53a5a9df8
2016-12-07 21:18:41 +00:00
Sunny Goyal
5e4b9f17ca Merge "Preventing widgets from exceeding Bitmap memory limit" into nyc-mr2-dev am: bde1091f50
am: 3678020883

Change-Id: Ic870d1a75c3f15b86d5a1f7487ffb0dad5f5ec77
2016-12-07 21:18:07 +00:00
Chad Brubaker
b8feba10f4 Default to not allowing cleartext traffic for ephemeral apps
Test: NetworkSecurityPolicy.isCleartextTraffic permitted returns the
expected defaults.
Change-Id: I7d6577f8461bbf1f44eb21b4d813dba1746449fa
2016-12-07 13:17:41 -08:00
Sunny Goyal
fa3bb9f11a Preventing widgets from exceeding Bitmap memory limit am: 4f05d8d76b
am: 1d138e5919

Change-Id: I5e3e2cea49f294040817bee46a0ab4b5666d3f6b
2016-12-07 21:16:50 +00:00
Tenghui Zhu
a9999c86d6 Merge "Recreate the bitmap cache when it is smaller than needed" into nyc-mr2-dev am: 987f4e53e4
am: c76ec25ac4

Change-Id: Ia660c4c9da7b128091a6bb6aeb145d67ba9be117
2016-12-07 21:15:43 +00:00
Ned Burns
5207e1cff1 DO NOT MERGE Fix android:noHistory for Wear
am: d7a313fb11

Change-Id: I3715b2fb1045b7bfce7f52e9b4982fcc0218d28c
2016-12-07 21:14:51 +00:00
Teng-Hui Zhu
2213f69eb8 Recreate the bitmap cache when it is smaller than needed am: 17f40b80f6
am: 4c6edb0a3c  -s ours

Change-Id: Iab3b1805fa431ae41323a0476576edf77f1edb8f
2016-12-07 21:14:37 +00:00
Ned Burns
6a860f7f3b DO NOT MERGE Fix android:noHistory for Wear
am: d7a313fb11

Change-Id: I4de91badcff2690e701d3c46edf3b06498b003ee
2016-12-07 21:14:36 +00:00
Eric Laurent
a33630fbbe Merge "AudioService: fix mismatch in device volume index for alias streams" into nyc-mr2-dev 2016-12-07 21:12:41 +00:00
TreeHugger Robot
f4ca1211f7 Merge "Add proto fields for READ_PHONE_NUMBER" 2016-12-07 21:04:34 +00:00
Mike Reed
9a648a1c74 Merge "switch over clip calls to use SkClipOp instead of SkRegion::Op" 2016-12-07 20:54:59 +00:00
Lei Yu
c138a935d6 Merge "Add tint for cast icon" 2016-12-07 20:47:08 +00:00
Lei Yu
4e89d52969 Merge "Add tint for wifi icon." 2016-12-07 20:44:44 +00:00
Lei Yu
0670a647a5 Merge "Add tint for night display icon" 2016-12-07 20:43:56 +00:00
Lei Yu
82392ad426 Merge "Add tint for bluebooth icon" 2016-12-07 20:39:56 +00:00
Lei Yu
ba6dd43377 Merge "Add tint for location icon" 2016-12-07 20:39:18 +00:00
Lei Yu
ad17545204 Merge "Add tint for rotate icon" 2016-12-07 20:38:37 +00:00
Lei Yu
59714fc43e Merge "Add tint for dnd icon" 2016-12-07 20:37:58 +00:00
Lei Yu
82ad83c6fc Merge "Add tint for invert color icon" 2016-12-07 20:37:16 +00:00
Lei Yu
f34773020a Merge "Add tint for brightness thumb icon" 2016-12-07 20:36:08 +00:00
Lei Yu
1b1ab2dc1a Merge "Add tint for flashlight icon" 2016-12-07 20:35:32 +00:00
Victor Chang
d9758e7479 Clear DISALLOW_ADD_USER user restriction when dpm remove-active-admin is called from shell
- Make the CTS hermetic and not adding new restriction after CTS test
- DeviceOwner can't clear this user restriction in CTS, as it's set by ManagedProvisioning
- It can be only clear when testOnly DPC becomes deviceOwner, and being removed by remove-active-admin in shell

Bug:31856203
Test: build successfully

Change-Id: I75b91629ef09c54e9dbe7253df6a52894a938e83
2016-12-07 20:26:43 +00:00
Jeff Sharkey
ba6f8c8bef Move dump() to dumpAsync(), more oneway calls.
When calling out to dump services hosted by external apps, use
dumpAsync() to avoid hanging if the remote process is wedged.

(cherry picked from commit 850c83e6da)

Test: builds, boots, runs with minimal logs triggered
Bug: 32715088

Merged-In: I70aa2666ae21dae8f09ded2063bed359c0b210c5

Change-Id: Ic2be10dc8478d613cea6e2c976b9987c250b86b7
2016-12-07 12:24:21 -08:00
Wale Ogunwale
805d9ecc47 Don't allow IME windows to be IME targets
IME targets are required to be below the IME windows and that wouldn't
be possible if the IME window is its own target which leads to issues
elsewhere in the code where that is expected to be the case.

Change-Id: I34a723ff4ce2519cd80e0eea0eaea04712b6cf8f
Fixes: 33336368
Test: bit FrameworksServicesTests:com.android.server.wm.WindowStateTests
2016-12-07 12:22:08 -08:00
Ned Burns
d7a313fb11 DO NOT MERGE Fix android:noHistory for Wear
Modifies swipe-to-close activities to be opaque by default (instead
of translucent by default). Previously, android:noHistory properties
on most activities in Wear were being ignored because they were
usually transitioning to a swipe-to-close activity that was marked
as translucent. This meant that the noHistory activity was still
technically visible, and so would never be culled from the task
history.

Now, we convert a swiped activity to translucent as soon as a swipe
begins, and convert it back after the swipe finishes. The previous
version of SDL tries to do this, but fails in the case where the
context is a ContextWrapper.

This approach is hacky and isn't merge-able into master. We leave
it DO NOT MERGE and will do a long-term fix after the holidays.

Test: Built a test app to verify that noHistory is now being
correctly respected. Manually verified that new activities start
out opaque and not translucent. Manually verified that Home
correctly starts/stops when it's revealed from underneath a
partially swiped activity. Tested general swipe behavior on Settings,
Contacts, Flashlight, Fit.

Bug: 33252029

Change-Id: Ib2e7f21ea1e0d52db03e78d25676501e5f73b31f
2016-12-07 15:05:25 -05:00
Fredrik Roubert
c7bc38c5e5 API updated for ICU4J 58.1
Bug: 31328818
Test: make
Change-Id: Ifef308acd346704a9d6364fac70967fff08eb599
2016-12-07 20:42:07 +01:00
Matthew Fritze
13b50bde4b Merge "Update SearchIndexablesContract" 2016-12-07 19:37:43 +00:00
Jeff Sharkey
674c6fba2f Merge "Fix two StrictMode stack collection bugs." into nyc-mr2-dev am: ae91d10629
am: b7b3086dd5

Change-Id: I4a2abf9712db91a533e21cd859fe53c94804566f
2016-12-07 19:31:49 +00:00
Android Build Merger (Role)
c7630c6011 Merge "Fix two StrictMode stack collection bugs. am: 20db11cfda am: 1804995d7e -s ours" 2016-12-07 19:29:03 +00:00
Jeff Sharkey
1b5c91431b Fix two StrictMode stack collection bugs. am: 20db11cfda
am: 1804995d7e  -s ours

Change-Id: Ic35d40b47457b253a8ab33d16d6cf077bacdbc32
2016-12-07 19:28:19 +00:00
Sudheer Shanka
49f0208236 Merge "Update IActivityManager, ContentProviderHolder in preloaded-classes." 2016-12-07 19:27:32 +00:00
Sunny Goyal
3678020883 Merge "Preventing widgets from exceeding Bitmap memory limit" into nyc-mr2-dev
am: bde1091f50

Change-Id: I72bdb074c5e0b2c7ff93fa53f0e8242382df1c37
2016-12-07 19:20:08 +00:00
Sunny Goyal
1d138e5919 Preventing widgets from exceeding Bitmap memory limit
am: 4f05d8d76b

Change-Id: I0174a7e8cc8b228d7cbf2c0403f0a022eff34194
2016-12-07 19:20:02 +00:00
Sunny Goyal
bde1091f50 Merge "Preventing widgets from exceeding Bitmap memory limit" into nyc-mr2-dev 2016-12-07 19:12:24 +00:00
Chad Brubaker
811825a582 Add proto fields for READ_PHONE_NUMBER
Test: m
Change-Id: Ifc8c9eed3af6baa405714cda664cc9dc60969cb9
2016-12-07 11:05:03 -08:00
Tenghui Zhu
c76ec25ac4 Merge "Recreate the bitmap cache when it is smaller than needed" into nyc-mr2-dev
am: 987f4e53e4

Change-Id: I6f447837aef60e3c261b2ab4d882a3a7fe9308a4
2016-12-07 19:00:03 +00:00
Teng-Hui Zhu
4c6edb0a3c Recreate the bitmap cache when it is smaller than needed
am: 17f40b80f6

Change-Id: I057156b0f70c89ef1cd4b89237dc0c3b2146d0fa
2016-12-07 18:59:58 +00:00
Eric Laurent
825a5ea380 AudioService: fix mismatch in device volume index for alias streams
Fix VolumeStreamState.setIndex() to force device volume
index update on an alias stream when no specific device volume exists
on the VolumeStreamState of this alias stream.

This prevents asymetric behaviors of setDeviceVolume() and setAllVolumes()
causing some stream types to be muted and
not unmuted if no specific device volume index exist.

Test: make
Test: wipe device, setup wizard, place call and check nofication volume

Bug: 32626244
Change-Id: Idd170aa9f295b0a9533a589e1891a04c05ab2f2f
(cherry picked from commit 3fb608e4f3)
2016-12-07 18:56:19 +00:00
Tenghui Zhu
987f4e53e4 Merge "Recreate the bitmap cache when it is smaller than needed" into nyc-mr2-dev 2016-12-07 18:53:32 +00:00
Jeff Sharkey
b7b3086dd5 Merge "Fix two StrictMode stack collection bugs." into nyc-mr2-dev
am: ae91d10629

Change-Id: I48fc80601af3296f80134ede1c0b6cfc8fcd98b5
2016-12-07 18:44:35 +00:00
Jeff Sharkey
1804995d7e Fix two StrictMode stack collection bugs.
am: 20db11cfda

Change-Id: Ie68764c9864e1c26f43c9d70c5697fe12d00e665
2016-12-07 18:44:28 +00:00
TreeHugger Robot
ae91d10629 Merge "Fix two StrictMode stack collection bugs." into nyc-mr2-dev 2016-12-07 18:39:04 +00:00
Selim Cinek
5ea19572af Fixed a bug where heads up notifications had no icon
Test: add heads-up notification
Bug: 32437839
Change-Id: I44b81a5f16d7d9d12d51b94f7fc4b000878acbd7
2016-12-07 10:35:10 -08:00
Selim Cinek
2b549f4bd4 Added possibility to use canned animation for icons
Icons now move in a canned animation from the shelf position
to the icon.

Test: adb shell setprop debug.icon_opening_animations true && adb shell killall com.android.systemui
Bug: 32437839
Change-Id: I82b6de37ac7a179aeb5d16bd663d566c2f338b1a
2016-12-07 10:35:08 -08:00
Mahaver Chopra
5026cabbe1 Merge "TRON variables for provisioning sessions" 2016-12-07 18:35:05 +00:00
Philip P. Moltmann
c543b56706 Only persist last Shared Preferences state
If multiple async shared preferences writes are queued, all but the
last one can be ignored as they will be overwritten by the last one
anyway.

For commit() we need to make sure that we have at least persisted the
state of the commit.

Generation counts are 64 bit, hence they never overflow.

Test: Produced a lot of SharedPreferences.Editor.apply and did not see
excessive writes anymore, ran SharedPreferences CTS tests
Bug: 33385963
Change-Id: I3968ed4b71befee6eeb90bea1666a0bb646544f6
2016-12-07 10:33:21 -08:00
Derek Sollenberger
85e2fa4ee9 Merge "SkImageEncoder->SkEncodeImage" 2016-12-07 18:10:20 +00:00
Alan Viverette
054c172ec6 Show popup transitions when there is no anchor set
Allow anchorRoot to be null when starting exit transition. Pushes
epicenter callback creation into startExitTransition. Adds nullability
annotations.

Bug: 33035511
Test: PopupWindowTest#testEnterExitTransition
Change-Id: Ie752a0d6b29d5eb11c160771d8a78fa6234de5bb
2016-12-07 18:05:35 +00:00