141301 Commits

Author SHA1 Message Date
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
Jessica Hummel
ea9bdd7c50 Merge "Remove unused action from DevicePolicyManager." 2014-07-02 19:56:47 +00: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
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
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
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
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
Jose Lima
9546b20fcc Consume HOME key when it is used to dismiss Dream activity
Bug: 15002352
Change-Id: I0e86ec62a1a45dd1e68752d36be07355a9c6e2fd
2014-07-02 17:23:04 -07: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
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
Alan Viverette
d1ed9b3ea7 Merge "Update dropdown background asset" 2014-07-02 18:17:00 +00:00
Alan Viverette
65b934dba5 Update dropdown background asset
BUG: 15985882
Change-Id: I9f271bf99371516bce5bad3e1c3f0efbedc8ffdd
2014-07-02 16:52:01 -07:00
Prerepa Viswanadham
0c116e1573 Obtain capabilities from chipset for it's support of various features
Change-Id: I01bdb31136be63e4e46fb4e054c902eddc5647ab
2014-07-02 21:24:37 +00:00
Igor Murashkin
af2b4ce90a Merge "camera2: Add crop region support and some other AE tags to legacy" 2014-07-02 18:22:50 +00:00
Igor Murashkin
df6242e374 camera2: Add crop region support and some other AE tags to legacy
Change-Id: If7a87b210a57ea13d6329bb363b1c7ecdadc52e8
2014-07-02 16:38:28 -07:00
Ihab Awad
ecf4d09664 Merge "Fix references to two constants" 2014-07-02 18:17:00 +00:00
Ihab Awad
6c9566fb2d Fix references to two constants
The names of two constants missed getting updated in a previous CL,
causing a build breakage.

Change-Id: I2a87f6b3aead2c6b751afedf32a321c8290b51be
2014-07-02 13:51:50 -07:00
Santos Cordon
7a76e87218 Merge "Move cancelMissedCallsNotification to PhoneManager." 2014-07-02 18:17:00 +00:00
Santos Cordon
3c4ff9effc Move cancelMissedCallsNotification to PhoneManager.
Change-Id: I2ce26e77ef1f0acc11552bf28efc039391e09766
2014-07-02 23:39:30 +00:00
Craig Mautner
53e3b38b09 Merge "Use cached thumbnails in Recent tasks." 2014-07-02 21:11:19 +00:00
Tyler Gunn
d0154927a8 Adding "start call with video" extra for ACTION_CALL intent.
Bug: 16014224
Change-Id: I6240b50383de60fbe9038b247856227c6c278b85
2014-07-02 23:31:46 +00:00
Craig Mautner
c0ffce5ddd Use cached thumbnails in Recent tasks.
The thumbnail returned from ActivityManager.getTaskThumbnail() now
contains either a Bitmap or a ParcelFileDescriptor that points to
a file containing a compressed Bitmap. The Recent tasks list is
now responsible for all thumbnail Bitmap caching as the activity
manager keeps only the most recent 5. This also permits low memory
devices to have many more tasks in the Recent tasks list.

As part of this CL the concept of subtasks is removed eliminating
code supporting the TaskAccessInfo and IThumbnailRetriever classes.

Fixes bug 15828934.

Change-Id: I0fd0320a1a04e3c78d79357899b83a2fff97abf2
2014-07-02 16:31:46 -07:00
Jason Sams
51cb970968 am 24bea6a3: Resolve conflicts with AOSP.
* commit '24bea6a3ef53733ffd1622dfa0bdaeea0a74303a':
  Resolve conflicts with AOSP.
2014-07-02 23:19:27 +00:00
Baligh Uddin
191ba12499 am ed61958a: (-s ours) am e1ef888e: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
* commit 'ed61958a254deb6299b907ecb079ebe15da339c3':
  Import translations. DO NOT MERGE
2014-07-02 23:19:22 +00:00