2901 Commits

Author SHA1 Message Date
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
Jose Lima
235510e672 Made AlarmClockInfo a nested class in AlarmManager
Bug: 16959028
Change-Id: I150eaaff765d1e214c3621c1bf50162ec0dac8ec
2014-08-14 02:10:41 +00:00
Jose Lima
4b6c6697da Renamed "media playing" APIs to "visible behind"
- Request from API Review: rename the media playing APIs to a more
     generic name, reflecting the background visibility feature these
     methods actually control.
   - Made the new isActivityVisibleBehind().
   - Changed convertFromTranslucent() and convertToTranslucent() to be
     SystemApi.

Bug: 16959028
Change-Id: I526eac22f44273b3254dd6201f89194d13e597e2
2014-08-14 02:00:04 +00:00
Jeff Brown
c12035cd40 Log who is calling goToSleep().
Change-Id: Ibae61c90ee115735835e878bb3bf79eedaa0ae44
2014-08-14 01:56:48 +00:00
Dianne Hackborn
5b1500a7dc Merge "Fix singleInstance usage when singleTop intended" into lmp-dev 2014-08-14 00:12:29 +00:00
Craig Mautner
ad400af809 Fix singleInstance usage when singleTop intended
In ag/499591 launchSingleInstance was mistakenly used to replace
r.launchMode==ActivityInfo.LAUNCH_SINGLE_TOP. This fixes that
and...

fixes bug 16898764.

Change-Id: I0c0cc3b67eda69276dbe1dd5da4f17556651b1ff
2014-08-13 17:17:21 -07:00
Wonsik Kim
592ddc3f6e Merge "TIF: handle HDMI CEC power status change" into lmp-dev 2014-08-12 23:14:42 +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
Jinsuk Kim
8e083ec044 CEC: Remove timeout from deviceSelect processing
20-second timeout set for incoming <active source> command after
<set stream path> is moved out of HdmiControlService, to
HDMI input service.

Bug: 16967429
Change-Id: I5b50b0187e562b51e227a29e54824740ca37906e
2014-08-13 00:53:28 +00: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
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
Craig Mautner
eb829f2f9f Merge "Disassociate system windows from apps" into lmp-dev 2014-08-12 23:14:35 +00: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
keunyoung
2c1c74afca Merge "rename UiModeManager.ENABLE_CAR_MODE_NO_WAKE_LOCK to ENABLE_CAR_MODE_ALLOW_SLEEP" into lmp-dev 2014-08-12 23:14:35 +00:00
keunyoung
c093bf2645 rename UiModeManager.ENABLE_CAR_MODE_NO_WAKE_LOCK to ENABLE_CAR_MODE_ALLOW_SLEEP
bug: 16959030
Change-Id: I413a2ba676488bfc18e393465b98681682ec88d4
2014-08-13 18:58:03 +00:00
Adrian Roos
9dbe190099 Trust: Insecure unlock also removes disable-trust-on-boot restriction
Bug: 16485702
Change-Id: I437f619eb680fa9461a5e0d854db2d9f84dc602c
2014-08-13 19:31:29 +00:00
destradaa
2d8964cca7 Merge "Update FlpHardwareProvider native layer, to stop raising FatalErrors." into lmp-dev 2014-08-12 23:14:35 +00:00
destradaa
ff8e6093fa Update FlpHardwareProvider native layer, to stop raising FatalErrors.
b/16800814

Change-Id: Ic619f37c02c7e4dddc4ef06369f8730cbd66e6bd
2014-08-12 19:05:33 -07:00
Yuncheol Heo
08a1be81d7 Implement MHL RAP reception.
Bug: 16966458
Change-Id: I77effc917e19072c387be8ba28d6ce1664d16415
2014-08-13 10:26:23 +09:00
keunyoung
48054241eb fix wrong flag check for virtual display
- FLAG_NEVER_BLANK was always set for non-public display

bug: 16958538
Change-Id: Ia147ac3ca39d687e60ec4b77726f6b6e4c3aeb3b
2014-08-13 01:14:19 +00:00
Adrian Roos
2bb8bfd1e8 Dismiss bouncer when onTrustInitiatedByUser fires
Also modifies the SampleTrustAgent to allow testing of the feature
and adds the initiatedByUser flag to the dumpsys output.

Bug: 16840500
Change-Id: I4c08ddcdcbd0ab02c694a1873f73cb9a250f98d7
2014-08-13 17:24:36 +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
destradaa
da97066d5a Merge "Add additional logging around AGPS IP Address handling." into lmp-dev 2014-08-12 23:14:35 +00:00
destradaa
931a37f992 Add additional logging around AGPS IP Address handling.
The additional logging is expected to help troubleshoot and prevent the issue tracked by the
following bugs:
b/16875580
b/16961654

Change-Id: Ibee7fe0774efa3db77ab53af96c128ced186b40e
2014-08-12 17:51:01 -07:00
Jean-Michel Trivi
ceb4d41846 Merge "Add support for AudioAttributes in android.media.Ringtone" into lmp-dev 2014-08-12 23:14:35 +00:00
John Spurlock
55b0abd75c Merge "Send LED signal up to SystemUI regardless of setting." into lmp-dev 2014-08-12 23:14:48 +00:00
John Spurlock
3929232cf9 Send LED signal up to SystemUI regardless of setting.
Let it make an independent decision about whether or not to
do anything with it.

Bug:17001245
Change-Id: Ie494abec423f3620bf142ad332bb5f0a4d4341a5
2014-08-13 11:00:59 -04:00
Narayan Kamath
4903f64ba2 Persist the cpuAbiOverride setting.
If an app is installed with an ABI override (adb install -r --abi)
we should remember this so that we don't revert to the scan derived
ABI on the next reboot.

bug: 16476618

Change-Id: I6085bc0099eb613dd9d3b07113c7c13859780697
2014-08-13 12:41:19 +01:00
Jorim Jaggi
72eb2ae21b Merge "Lockscreen launch animations" into lmp-dev 2014-08-12 23:14:48 +00:00
Narayan Kamath
20200849d1 Fix a couple of PM warnings.
- "Could not delete native binary" : This one is a bit of
  a WTF. git history tells us this code has been around for
  a very long time (the warning's new though). It's a no-op
  because codePath always contains the *current* codePath and
  trying to remove native libs from the current codePath will
  do nothing for bundled apps. This code sounds like it wants
  to delete dangling native binaries for system apps that were
  upgraded during an OTA. This sounds like a wrong place to do
  that, though.

- "Unrecognized code path" : This one's harmless and removed
  by moving this call closer to where it's used.

bug: 16823001

Change-Id: I9b40ae507b2c80ff3fdd45d5699df62bfc86514f
2014-08-13 11:05:58 +00:00
Alexandra Gherghina
7f8821c5a2 Merge "Bugfix: adds extra null check" into lmp-dev 2014-08-12 23:14:48 +00:00
Ji-Hwan Lee
0c38fc764b TIF: Fix release logic for hardware wrapper input
Change-Id: I7aad26682738e7a20bc6a053c3827ab79e83e925
2014-08-13 15:41:20 +09:00
Wonsik Kim
dd8e48f306 Merge "TIF: fix parental control data inconsistency" into lmp-dev 2014-08-12 23:14:48 +00:00
Wonsik Kim
276ec84b5d TIF: fix parental control data inconsistency
Bug: 16987144
Change-Id: I43cc7de92663d50073d5c4da1dbffe4e9a2b26a6
2014-08-13 14:34:28 +09:00
David Christie
d4edf4cb01 Disable GPS when battery saver is on and screen is off.
Bug: 15348895

Change-Id: Iae2c3898ff48dc4d22e0ff872d7417ef6945c5e3
2014-08-12 16:02:33 -07:00
Jean-Michel Trivi
81f871e2b9 Add support for AudioAttributes in android.media.Ringtone
Deprecate use of stream types.
Map deprecated API to AudioAttributes.
Add new methods to specify AudioAttributes on a Ringtone instance.

Bug 16790748

Change-Id: Ifb3c2e838e1f119614459ad7d71d83a4d7c9ffdb
2014-08-12 15:53:15 -07:00
Jorim Jaggi
8de4311c51 Lockscreen launch animations
- Get rid of ActivityManager.dismissKeyguardOnNextActivity, which was
  used for two different things: Dismiss keyguard from somewhere else
  (not really necessary anymore), wait to actually dismiss keyguard
  after the window behind is drawn. Instead, introduce
  keyguardWaitingForActivityDrawn(), and change the semantics where
  necessary.
- Make wallpaper_close_enter consistent with task_open_enter and the
  Keyguard launch animation.
- Close the panel even on lockscreen when launching a notification.
- Block notification shade updates during the collapsing motion so
  notification don't play the disappear animation immediately after
  having launched a notification.

Bug: 15991916

Change-Id: I133c177b84e926c87c1a404ba93d633593fec3ab
2014-08-12 22:47:52 +00:00
Winson Chung
33fe1ed56d Merge "Clearing tasks along with application data. (Bug 16952119)" into lmp-dev 2014-08-12 19:26:20 +00:00
Robert Greenwalt
70236bf4f1 Remove extraneous clearing of inet condition
This was old code I missed in previous inet condition refactor
and caused us to show "not connect" icon any time we connected
to a secondary network (mms/supl/etc).

bug:16896743
Change-Id: I0fa62e09bb0b7c0ee0864bb1f95967eac5f60d3e
2014-08-12 14:51:48 -07:00
Winson Chung
93baa0ed9b Clearing tasks along with application data. (Bug 16952119)
Change-Id: Ie986712a7d7d0911b6de7a4b34b7d03bf7874d6f
2014-08-12 14:21:01 -07:00
Jorim Jaggi
76a1623afc Preparations for lockscreen launch animations
- Update unlock animations to new spec to make the consistent with
  lockscreen launch animations.
- Introduce disappearing motion for security views which runs before
  we actually dismiss Keyguard.
- If a window is running the un-force-hide animation, treat as it
  would have the wallpaper flag set so the wallpaper stays until
  the animation is completely done.
- Run an animation on the wallpaper if the wallpaper is going away.

Bug: 15991916
Bug: 16234603
Bug: 15326120
Change-Id: I063aa4f269ddcf75b9a705e90f0c3056b541b642
2014-08-12 20:52:26 +00:00
Winson Chung
fee26771cf Ensuring that we update the calling uid/package when updating a task's original intent. (Bug 16676636)
Change-Id: I5d75a912e86e83f05717cb19e9b6edb02eb053e6
2014-08-12 11:11:25 -07:00
Alexandra Gherghina
7c97bbc39f Bugfix: adds extra null check
Bug: 16976436
Change-Id: Id51fd3125b4e68ff7c0ec37ec031fcb8ff882ed4
2014-08-12 17:22:20 +00:00