147831 Commits

Author SHA1 Message Date
Dianne Hackborn
9c3e74f1f7 Fix issue #16794553: Duplicate ArrayMap entries in Bundle...
...can lead to launching of un-exported activities

We now validate the array map after unparcelling to make sure there
are no duplicate keys.

And to make up for the performance overhead this introduces, I switched
the parcelling/unparcelling code to write keys as explicit string
objects rather than generic values.  There was no reason to use generic
values since the write method itself only accepts an array map with
String keys.

Change-Id: I57bda9eb79ceaaa9c1b94ad49d9e462b52102149
2014-08-13 17:24:45 -07:00
Robert Greenwalt
57e383b1cc Merge "Don't send NetworkMonitor bcast until systemReady" into lmp-dev 2014-08-13 23:16:37 +00:00
Robert Greenwalt
fb68f8fbe0 Don't send NetworkMonitor bcast until systemReady
bug:16913951
Change-Id: I26c5c3353c2d8821452f81765875958d5b9d385b
2014-08-13 13:43:32 -07:00
Winson Chung
eb0cefa965 Merge "Adding scrim to task views. (Bug 15704955)" into lmp-dev 2014-08-12 23:14:48 +00:00
Winson Chung
60a729c8e9 Adding scrim to task views. (Bug 15704955)
- Fixing issue with focus animations not happening for new views

Change-Id: I3134f25becf06db343aa30ea80cb33514cd99d06
2014-08-13 15:55:15 -07:00
Craig Mautner
4a8dddbf18 Clean up app following death when creating service
If an app has died, run through the cleanup before relaunching its
service.

Also a little simplifying refactor.

Fixes bug 16979752.

Change-Id: I376cbef2ea00fc626588386317f092cc6dea0bdc
2014-08-13 18:15:28 +00:00
Wonsik Kim
592ddc3f6e Merge "TIF: handle HDMI CEC power status change" into lmp-dev 2014-08-12 23:14:42 +00:00
Deepanshu Gupta
a3a3775599 Merge "Update intelliJ copyright profile" into lmp-dev 2014-08-14 00:12:29 +00:00
Deepanshu Gupta
aabf346d44 Merge "Add KitKat wifi and battery icons." into lmp-dev 2014-08-14 00:12:29 +00:00
Deepanshu Gupta
84cc05cacd Add KitKat wifi and battery icons.
This adds wifi and battery icons for Gingerbread and KitKat. This also
improves the icon resolution code by extracting it out in its own class.
The resources are now organized such that each API level resource
directory is used as a backup for all API levels lower than itself.

Change-Id: I937c83638adcc9fa8cd407e0a3023c3abe95530d
2014-08-13 23:13:33 +00:00
Deepanshu Gupta
2e7a0355b4 Update intelliJ copyright profile
Change-Id: Ib9386b686cb24e1f187d0b636b59b4b13d59bbcd
2014-08-13 22:52:02 +00:00
Wonsik Kim
e92f857d50 TIF: handle HDMI CEC power status change
Bug: 16967261
Change-Id: I252dbb249ec818bcaad7d813d1065ebb0714bd54
2014-08-13 11:23:52 +09:00
Adam Lesinski
ea39c1be30 Merge "Print xxxhdpi from ResTable_config::toString" into lmp-dev 2014-08-12 23:14:35 +00:00
Adam Lesinski
8d5667d2a2 Print xxxhdpi from ResTable_config::toString
Change-Id: I2e1a07649cb498c12023b198d8e50534f9d91840
2014-08-14 21:35:37 +00:00
Yorke Lee
051bd7ea0e Merge "Show InCallScreen when swiping phone affordance while in a call" into lmp-dev 2014-08-13 23:16:37 +00:00
Yorke Lee
583a20247b Show InCallScreen when swiping phone affordance while in a call
Bug: 16344259

Change-Id: Ifd7975295d9c98af302b5ce769076152acf59939
2014-08-14 17:51:26 -07:00
Jim Miller
989b68e82d Merge changes I77f49fe8,I305e927a into lmp-dev
* changes:
  API review - move confirm credential constants from Intent
  Revert "Add new intent to prompt user for their device credential."
2014-08-12 23:14:48 +00:00
Jim Miller
66093a9024 API review - move confirm credential constants from Intent
Moves constants from Intent to KeyguardManager.

Fixes bug 17006280

Change-Id: I77f49fe85850a501e1531d39aad7446c9bca5801
2014-08-15 00:38:21 +00:00
Jim Miller
4d64746d6a Revert "Add new intent to prompt user for their device credential."
Move API to KeyguardManager.

Fixes bug 17006280

This reverts commit 2e7beadedeb7d41d8c2d1cc62956bdd9f5081d26.

Change-Id: I7b58bb4d9db828028c1021f17b01745c5ec2161e

Conflicts:
	core/java/android/content/Intent.java
2014-08-15 00:35:50 +00:00
Chris Craik
27f116195c Merge "Fix nine patch outline radius computation" into lmp-dev 2014-08-14 16:46:52 +00:00
Chris Craik
69e5adffb1 Define shadow casting behavior within layers
bug:15860114

Savelayers and HW layers both now support shadow casting.

For save layers, the light source should always be correct, for HW
layers, the light source position is set when the layer is created,
and updated when it is resized.

Change-Id: Ie85567dd43c2bb0a0b08fd0bd4db41efa793ac2b
2014-08-15 00:59:44 +00:00
Chris Craik
e222e359a0 Disable shadow casting for transparent BitmapDrawables
bug:17013977
Change-Id: I26328c21360432bb34d3f19858dfdc0e6aede057
2014-08-15 00:57:52 +00:00
Chris Craik
47d8623082 Fix nine patch outline radius computation
bug:16852714
Change-Id: I475154c0f324fd2e2c8991415e0d8240c75663d8
2014-08-15 00:41:09 +00:00
Winson Chung
72db690850 Merge "Anchoring the front most task to make the dismiss animation more stable. (Bug 16939699)" into lmp-dev 2014-08-12 23:14:35 +00:00
Jae Seo
82324ec662 Merge "TIF: fix IOException at PersistentDataStore.save()" into lmp-dev 2014-08-14 16:46:52 +00:00
Wonsik Kim
7ed8901f12 TIF: fix IOException at PersistentDataStore.save()
Bug: 17018435
Change-Id: Ic999aaf59ae942ee8279576ec1e2ce2fa62bd6e0
2014-08-14 10:06:12 -07:00
Winson Chung
78cc96af8c Anchoring the front most task to make the dismiss animation more stable. (Bug 16939699)
Change-Id: I49aa14bbc7fdb2fb0884a8255af385dbbbe656f8
2014-08-13 23:08:01 +00:00
Doug Zongker
f0433e50c7 Merge "@hide RECOVERY permission" into lmp-dev 2014-08-12 23:14:35 +00:00
Adrian Roos
f307633007 Merge "Add content description for brightness slider" into lmp-dev 2014-08-13 23:16:37 +00:00
Adrian Roos
4697d66918 Add content description for brightness slider
Bug: 15696099
Change-Id: I834020c1505fd5e07a1ba4f120e0f811c598953a
2014-08-14 13:59:22 +00:00
Jorim Jaggi
57647c1603 Make string consistent with Android writing guidelines
Bug: 17018250
Change-Id: I1ab736bddc81e4741995175db62a7d0ff459a940
2014-08-14 12:33:45 +00:00
Jorim Jaggi
e210cc8e94 Make clock larger on tablets
Also fixes "Large text" option on lockscreen and fixes Keyguard
layout on smaller devies. In addition, make sure that landscape
layout for phones isn't terrible broken (it's not pretty but
it works).

Bug: 14994495
Bug: 15589636
Bug: 16799035
Change-Id: I9ab76af41cbecd1a727d019e422765efbbd3276d
2014-08-14 12:30:14 +00:00
Jorim Jaggi
84a3e7aacf Use different unlock animation when going to full shade
Also fixes a bug that the notify flag was not reset, and fix the
transition for the phone/camera affordance (in these cases, no
animation is needed).

Bug: 15991916
Change-Id: Idbb4fa40f86bda597cd66cc38da838ef4f75514d
2014-08-14 12:29:25 +00:00
Dianne Hackborn
3eb780bc17 Merge "Turn off voice interaction service restrction for now" into lmp-dev 2014-08-12 23:14:35 +00:00
Dianne Hackborn
ecc7498b2b Turn off voice interaction service restrction for now
Need to wait for the prebuilt to update.

Change-Id: I5501c2ba23e6e18379aa0859b248446c82de6cdc
2014-08-12 23:05:24 -07:00
Alan Viverette
f2546bf423 Merge "Add API for obtaining max text length for accessibility" into lmp-dev 2014-08-12 23:14:35 +00:00
Craig Mautner
eb829f2f9f Merge "Disassociate system windows from apps" into lmp-dev 2014-08-12 23:14:35 +00:00
Ying Wang
160c6fc1e9 Remvoe build log spam.
Change-Id: I87a0864d1f4d1c01f660f2bb603b5d0b42e19b53
2014-08-13 10:59:46 -07:00
Sandeep Siddhartha
a31413a325 Fix delete clause for sound model DB
Since UUIDs contain '-'s they need to be wrapped within quotes

Bug: 16985919
Change-Id: I624a512ca7fc2494a7737b5465c94a9e161dec88
2014-08-13 10:52:17 -07:00
Craig Mautner
a5d29971f8 Disassociate system windows from apps
If an app launches a system window remove the app token.

Fixes bug 16825063.

Change-Id: I7c7403e0958f3cd9f6dd5e2964b2e9cabc51ded7
2014-08-12 18:57:49 -07:00
Dianne Hackborn
deb434ca08 Merge "Add 560dpi, and some other stuff." into lmp-dev 2014-08-12 23:14:35 +00:00
Jae Seo
e253fabbc7 Merge "TIF: Temporarily disable permission check for parental controls" into lmp-dev 2014-08-12 23:14:35 +00:00
Jae Seo
550c4b0d4d TIF: Temporarily disable permission check for parental controls
Bug: 16979343
Change-Id: I00ff70194faaf7218151388dc10ce8e4dd3d2728
2014-08-12 17:50:37 -07:00
Chris Craik
3c3f601cc4 Merge "Fix action bar background drawing" into lmp-dev 2014-08-12 23:14:35 +00:00
Chris Craik
1e610d479f Fix action bar background drawing
bug:16940717

Fixes regression from 0de8add60e0d40c59def41663acae4d57d0b4b15

Change-Id: I7ec30a9c0c9422874cad106a2caeb7dcbe75e1b6
2014-08-13 13:44:40 -07:00
Jae Seo
67241476f3 Merge "TIF: Create TvInputState only once per each input" into lmp-dev 2014-08-13 16:52:03 +00:00
Amith Yamasani
95ab784944 Decouple user limit from guest creation
Allow Guest to be created even if there are N users.
Allow N users to be created even if there are N-1 users
   and a Guest.
Limit number of guests and managed profiles that can
be added.

Added unit tests.

Bug: 15934700
Change-Id: I1a8f0fa38a91d71ef7b2980e05c974244dfc337a
2014-08-13 20:09:20 +00:00
Jae Seo
9cc28e5175 TIF: Create TvInputState only once per each input
Also removed mClientTokens which is no longer used.

Bug: 16970763
Change-Id: I4fc276241c33f88ed932ce6c703bdb3f771eb7d4
2014-08-13 11:06:53 -07:00
Glenn Kasten
3750e75f75 Merge "Move setting to disable automatic USB routing" into lmp-dev 2014-08-12 23:14:35 +00:00
Glenn Kasten
34cc4db180 Move setting to disable automatic USB routing
This moves the setting from System to Secure per review.

Bug: 16381952
Change-Id: I2497ca66b4f346839490c29295528fac70e94494
2014-08-13 13:31:04 -07:00