141316 Commits

Author SHA1 Message Date
Winson Chung
e05a56bf93 Merge "Fixing regression in search bar not appearing after clearing all your tasks and creating new ones." 2014-07-02 18:17:00 +00:00
Winson Chung
772b6b12a3 Fixing regression in search bar not appearing after clearing all your tasks and creating new ones. 2014-07-03 15:55:05 -07:00
Winson Chung
7aceb9a07f Bug fixes and cleanup
- Don't reinflate the search bar view every time you return to recents
- Fixing an issue where the default thumbnail was not being used when querying the thumbnail cache (thought WM still seems to not be giving us screenshots in many cases)
- Fixing an issue where an invisible header bar color was used instead of the default header bar color
- Fixing an issue where swipe-to-dismiss logic was running before the animation back into place
- Using outline clipping instead of doing it ourselves for the rounded TaskView
- Small optimization in finding the visible range
- Renaming some of the callbacks to make them more clear
- Removing some unused code
2014-07-03 13:39:33 -07:00
Christoph Studer
8740c6f37b Merge "NoMan: Allow notifications to transition !ZEN -> ZEN" 2014-07-02 19:50:27 +00:00
Christoph Studer
d5092bcb11 NoMan: Allow notifications to transition !ZEN -> ZEN
Bug: 15979100
Change-Id: Ifd620caf2e00f8cd3d9f1458b93585a454af4b74
2014-07-03 17:53:45 +02:00
Marcin Kosiba
7482a8d08e Preload the WebView package into all applications.
This is a temporary workaround to allow the WebView to move into
an APK.

BUG: 11505352
Change-Id: I0c446d44c3f94f70bced7f471ae6fb74f65d5ff9
2014-07-03 12:25:14 +00:00
Christoph Studer
1cd5add16c Fix 'stuck notification' bug
Apply implied flags before notifying listeners.

Bug: 15589158
Change-Id: Ie1c7374fa562ff62725361fb0dc8b0d1a6725618
2014-07-03 14:00:41 +02:00
Narayan Kamath
4aa03ef621 Merge "Revert "Enforce USB and storage restrictions"" 2014-07-02 19:56:47 +00:00
Narayan Kamath
a35add6882 Revert "Enforce USB and storage restrictions"
This reverts commit 39e53714ede48fcb464733834d7d9ccb868efe8a.

Change-Id: I81199fea8ca4b48516792bb02c1c3e90e5916c1f
2014-07-03 11:45:56 +00:00
Selim Cinek
3d2b94bf8e Made notifications below speedbump grey.
Also fixed a small scrimming bug where headsup where
scrimmed.

Bug: 15408642
Change-Id: I8319ccb001a1d654af055276de3c64ae388a7e47
2014-07-03 11:40:54 +00:00
Selim Cinek
697178b124 Refactored the notification backgrounds
The background now only uses one specific drawable and emulating
the legacy behaviour by tinting. Notification backrounds are now
also a ripple drawable, giving feedback on click.

Bug: 15837646
Change-Id: Ia3b7dafebe2439cc56ed258264ef33b5b07faa69
2014-07-03 11:40:21 +00:00
Emily Bernier
41497e6827 Merge "Enforce USB and storage restrictions" 2014-07-02 19:53:18 +00:00
Brian Duff
f8d4602c9b am 51d70ce9: am c542745e: am a6e9dd3f: Merge "Fix a typo in NumberPicker javadoc."
* commit '51d70ce9b8dbbcb7f354c87b722efe84b2a62a28':
  Fix a typo in NumberPicker javadoc.
2014-07-03 09:49:24 +00:00
Brian Duff
51d70ce9b8 am c542745e: am a6e9dd3f: Merge "Fix a typo in NumberPicker javadoc."
* commit 'c542745e23fe9d2e71c1f607d66f5570f585133d':
  Fix a typo in NumberPicker javadoc.
2014-07-03 09:43:56 +00:00
Brian Duff
c542745e23 am a6e9dd3f: Merge "Fix a typo in NumberPicker javadoc."
* commit 'a6e9dd3f9a2d966faf2d1710d2189127b968dc52':
  Fix a typo in NumberPicker javadoc.
2014-07-03 06:45:04 +00:00
Sailesh Nepal
2bed9563ed Remove handoff APIs
This CL removes the old handoff APIs and renames
handoffCall() to phoneAccountClicked().

Change-Id: Iab1595faaadcdfe428d97891d314babea21e9633
2014-07-02 21:33:21 -07:00
Jason Sams
24bea6a3ef Resolve conflicts with AOSP.
Change-Id: I2f1afdb83dcfc9078df5d3c2f13abacb6504d73d
2014-07-02 14:32:24 -07:00
Brian Duff
a6e9dd3f9a Merge "Fix a typo in NumberPicker javadoc." 2014-07-02 20:51:20 +00:00
Jorim Jaggi
0fa5652eab Merge "Disable flexy straw when in QS" 2014-07-02 19:50:27 +00:00
Jorim Jaggi
341d182100 Disable flexy straw when in QS
Change-Id: Ic6c7834512c3cc96e3e6956008727312ea1f2423
2014-07-03 23:34:48 +02:00
Jorim Jaggi
540454259d Quick settings improvements
- Remove hole in landscape when no notifications are shown.
- Start intercepting touch events directly when already flinging.
- Fix jump in top panel when collapsing QS in landscape.

Change-Id: If2da5215ee20ea1b0d3a0f88f32c8f5b0dd147da
2014-07-03 22:50:20 +02:00
Jorim Jaggi
563062569c Reenable touches to notifications in expanded QS
Revert "Closing the QS when tapping on the notifications now."
This reverts commit 3bb0bb8817690728a40edd3f8f665b09907a451b.

Revert "Disabled touch interaction when in Quick settings."
This reverts commit 5cd19bc6a4fac0513bb285fdaf08b1d19c87f4ae.

Also, shuffle order of notifications and quick settings such that
scrolling still works and delegate touches from stack scroller to
the scroll view for expanded QS panel.

In addition, make the panel close transition work when QS is expanded
and scrolled.

Last but not least, decrease scrim amount so the notifications still
look 100% interactive.

Change-Id: I17710e078cff84bcdf303c22986a31135dae2aee
2014-07-03 17:24:50 +02:00
Jorim Jaggi
30c305ce62 Implement nice motion for collapsing panel while QS open
Also remove the delay for actions which close the panel. Delaying is
no longer necessary as you still see the touch feedback when the
panel is closed.

Change-Id: I0dffae6998fc41b1590cb182667323f40be3a7d5
2014-07-03 17:24:24 +02:00
Jorim Jaggi
ed2f4b77da Merge "Quick settings improvements" 2014-07-02 19:56:47 +00:00
Jessica Hummel
ea9bdd7c50 Merge "Remove unused action from DevicePolicyManager." 2014-07-02 19:56:47 +00:00
Jessica Hummel
edb7ae704b Remove unused action from DevicePolicyManager.
This is part of a simplification to cut out one communication with mdm apps.

Change-Id: I7d0067928c20387dca8fcc45a7bc48d9d158fa2c
2014-07-03 11:14:33 +01:00
Winson Chung
5e6edd87c9 Merge "Bug fixes and cleanup" 2014-07-02 18:22:50 +00:00
John Spurlock
e048d85301 Merge "QS: Wifi control panel." 2014-07-02 20:06:33 +00:00
John Spurlock
7f8f22a530 QS: Wifi control panel.
Create first example of an inline detail view with line
items, bind to new access-point controller.

Move the common bits of all control panels into a
common abstraction.  Share common parts of layout
(More settings / done button).

Change-Id: I14a1bf548f3291dc628f97bf09dd4e38ac2fb2dc
2014-07-03 12:28:46 -04:00
Jean-Michel Trivi
50f45d0185 Merge "AudioDevice class to expose concept of device in SDK" 2014-07-02 18:22:50 +00:00
Jean-Michel Trivi
3ef1812272 AudioDevice class to expose concept of device in SDK
Change-Id: I94c87e98061581a767d775f64dd6bd9a1f9956e1
2014-07-02 21:12:18 +00:00
Jean-Michel Trivi
6c09004ec0 Send media button events with FLAG_RECEIVER_FOREGROUND set
bug 11357318

Change-Id: Iccd000bebb31a2f6cb057e97d3ab276861d0b651
2014-07-02 21:10:43 +00:00
Christoph Studer
e65501a743 Merge "Inline replace notification views when layout changes" 2014-07-02 19:50:27 +00:00
Christoph Studer
a7fe63190c Inline replace notification views when layout changes
Instead of going through a full remove / add when a notification
is updated with a different layout, only re-inflate the inner views.

Bug: 15869868
Change-Id: Ie18c431e7b3e2a6209d4a9b6418b3150781a063f
2014-07-03 17:18:11 +02:00
Jae Seo
18bbd2100f Merge "TvContract: Add a field for network affiliation to the Channels table" 2014-07-02 18:22:50 +00:00
Tao Bai
f6e1112216 Enable new geolocation permission API.
BUG: 14668406
Change-Id: I9500154d14eceae0248eb3718de27fc33fef4f28
2014-07-02 20:38:14 +00:00
Jae Seo
6e90e4ea4f TvContract: Add a field for network affiliation to the Channels table
This is used to identify a channel that is commonly called by its
network affiliation instead of the display name.

Bug: 15993156
Change-Id: Ib5a15e0e44e815c98b762573b5a24289a86f9583
2014-07-02 13:01:35 -07:00
Ihab Awad
ad4cc9ba38 Merge "Rename Telecomm "Subscription" to "Account" (1/7)" 2014-07-02 18:22:50 +00:00
Ihab Awad
9c3f18846a Rename Telecomm "Subscription" to "Account" (1/7)
Change-Id: Ieb29f6ba9dadacb2c7e26969a47141e11a339a40

Conflicts:
	telecomm/java/android/telecomm/InCallCall.java
2014-07-02 12:27:13 -07:00
Jeff Sharkey
2ad3c597e2 Merge "Slow progress towards APK clusters." 2014-07-02 18:17:00 +00:00
Jeff Sharkey
57dcf5b177 Slow progress towards APK clusters.
Differentiate between "split APKs" and "cluster packages".  A cluster
package is a directory containing zero or more APKs (base+splits),
and a monolithic package is a single APK (base).

PackageSetting will use the directory name as its codePath, so track
the baseCodePath separately.  Clarify documentation in several
places.

Require that all installers provide file:// URIs through existing
hidden APIs; PackageInstaller hasn't been able to read content://
URIs for a long time.

Bug: 14975160
Change-Id: I1c6fed1b55205c2474b09871161a98a26669d22e
2014-07-02 19:03:54 -07:00
Alan Viverette
dd6ebc5a72 Update progress bar styling and labelFor attr type
BUG: 16045463
BUG: 15900514
BUG: 15936901
Change-Id: Ib84e78cd3110d36f49ea5d9fc76a4321132af9ab
2014-07-03 01:47:06 +00:00
Jeff Sharkey
6ee242a58c CleanSpec to fix build.
Change-Id: I3995214498d22fa1bdb82eb44cda2e5ca6ba02a4
2014-07-02 18:37:09 -07:00
Jeff Sharkey
d04fc42ab0 Merge "Fixing missing current api.txt related to CL/495976." 2014-07-03 01:26:58 +00:00
Tyler Gunn
ee5a7ee868 Fixing missing current api.txt related to CL/495976.
Bug: 16014224
Change-Id: Ib3b0b65caea194f458a4258a341c21d9898f24d9
2014-07-02 18:33:41 -07:00
Jungshik Jang
70d34bb485 Define force usage and category for System Audio Control.
This is to be sync with change of system/core/include/system/audio_policy.h

Change-Id: Ibd371197775fb70a96df6e3eef82ec8ae10b0508
2014-07-03 00:42:20 +00:00
Jungshik Jang
3a959fca91 Log unhandled message which has specific destination.
Broadcast message is unnecessary to log as broadcast message.

Bug: 16039302
Change-Id: Ifffc09b49bceaaf220ce929206eaecb78146016f
2014-07-03 09:34:05 +09:00
Jungshik Jang
cce5119053 Merge "Add volume callback for Hdmi-Cec system audio mode." 2014-07-02 21:09:42 +00:00
Jungshik Jang
41d974631c Add volume callback for Hdmi-Cec system audio mode.
Hdmi-Cec's system audio mode delegates audio control to
audio receiver from tv. It requires to delegate
volume change including mute to audio receiver
instead of consuming by tv.
In order to do this this change introduces three apis.
One is added to IAudioService, the others are added
to IHdmiControlService as hidden apis.

 1. IAudioService#setHdmiSystemAudioSupported;
    This is to notify system audio mode change to audio
    service so that it determines to notify volume or mute
    change to HdmiControlService.

 2. IHdmiControlService#setSystemAudioVolume;
    This is to notify volume change to HdmiControlService.
    It's called only where system audio mode is on.

 3. IHdmiControlService#setSystemAudioMute;
    This is to notify volume change to HdmiControlService .
    It's called only where system audio mode is on.

Change-Id: I3d8534b37ddf1a812e32012059a8778772044bf0
2014-07-03 10:09:32 +09:00
Jose Lima
3c23ddeb00 Merge "Consume HOME key when it is used to dismiss Dream activity" 2014-07-02 21:11:19 +00:00