9116 Commits

Author SHA1 Message Date
Baligh Uddin
52220cf5e5 Merge "Import translations. DO NOT MERGE" 2014-07-05 02:59:43 +00:00
Baligh Uddin
4a9aabb3c1 Import translations. DO NOT MERGE
Change-Id: I3f8ef62714d212d2f82fabf4573cb73ddaa6ce93
Auto-generated-cl: translation import
2014-07-05 15:37:52 -07:00
Jorim Jaggi
ad46ffef4b Fix blinking bug when no notifications on lockscreen.
Bug: 16044775
Change-Id: Ia8b23e8ce93194d86eb4cb809f44f8caa277550e
2014-07-05 02:37:40 +00:00
Baligh Uddin
7cd70661a1 Merge "Import translations. DO NOT MERGE" 2014-07-02 18:50:12 +00:00
Baligh Uddin
a3b2ecf130 Import translations. DO NOT MERGE
Change-Id: I87bdb10cbf1f6ad9f0561ef07e99378e1863fca8
Auto-generated-cl: translation import
2014-07-05 15:45:30 -07:00
Jeff Sharkey
df972232c7 Merge "Teach DCS about cluster packages." 2014-07-03 01:26:58 +00:00
Jeff Sharkey
be520fba1e Teach DCS about cluster packages.
For the time being, DCS is going to still be doing heavy lifting for
some install tasks, so it need to know how to handle both monolithic
and cluster packages.  This change is mostly plumbing work to
eventually handle any various splits APKs that we may encounter.

Bug: 14975160
Change-Id: I39848d5666f9083cb4eca493e5cdaa868f3f99fb
2014-07-05 19:16:53 -07:00
Jeff Sharkey
0c54798aac Start removing ContainerEncryptionParams.
The new PackageInstallerSession APIs will allow installers to deliver
bits directly into system protected storage, so we no longer need
encrypted containers.

Change-Id: I8b598cb149b7dfd1d41e6626c1359610a573edf1
2014-07-05 15:49:07 -07:00
Jeff Sharkey
73767b9d60 Extract native code from split APKs.
In the new split APK world, multiple APKs work together to define a
single package.  This means that native code may be split among those
APKs.  To handle this, extend NativeLibraryHelper to examine all
APKs in a package ordered by splitName.

A package has valid native code as long as one matching ABI is found
inside.  The "best" ABI found across all APKs is picked for the
entire package.  No attempt is made to ensure that every native
library defined is available for the picked ABI; that's the
responsibility of the installer.

Re-introduce PackageLite to represent a lightweight parsing of an
entire package, which may be a single monolithic APK or a cluster
of one or more APKs.

Remove native code extraction from InstallerSession, since it'll be
handled inside PMS for this release.

Bug: 14975160
Change-Id: I4f4db0f82e88a46101c7777499ebc0a11fd911f9
2014-07-04 21:00:33 -07:00
Jeff Sharkey
0fc63f4795 Merge "Start removing ContainerEncryptionParams." 2014-07-02 18:50:12 +00:00
Jeff Sharkey
ece4b655dc Merge "Extract native code from split APKs." 2014-07-02 18:50:12 +00:00
Selim Cinek
0bc5a6b6b3 Merge "Fixed a bug when swiping out notifications when scrolled." 2014-07-02 19:56:47 +00:00
Selim Cinek
d7c4e004ee Fixed a bug when swiping out notifications when scrolled.
Sometimes the scrollview was scrolled too far.

Change-Id: If84cafde26853b4647dfb3ad767bca516468bbe7
2014-07-04 18:36:42 +02:00
Adrian Roos
0002a45034 Show bouncer when opening notification in occluded mode
When showing apps on top of keyguard, properly put up
a bouncer when a notification is clicked.

Bug: 15588412

Change-Id: I48bcc5cc17c32856c11e7ab28182cdc3f253ad98
2014-07-04 18:28:36 +02:00
Selim Cinek
d83771ee46 Fixed a visual stack collapsing bug
When the stack is collapsed, the second card is padded slightly
to appear as if it was in the bottom stack.

Bug: 15169254
Change-Id: I9e9418dc057ffec01c7f56358ec60bac477497a4
2014-07-04 16:56:18 +02:00
Selim Cinek
30afdcad91 Merge "Fixed a visual stack collapsing bug" 2014-07-04 08:06:25 +00:00
Jorim Jaggi
b572e4c777 Merge "Clean up user activity handling" 2014-07-04 08:06:25 +00:00
Jorim Jaggi
7e6c3bf2f6 Merge "Ability to dismiss lockscreen with space key" 2014-07-04 08:06:25 +00:00
Jorim Jaggi
3425076973 Ability to dismiss lockscreen with space key
Bug: 15408717
Change-Id: Ie3fce8654759f2ab45cd061e64aee311cd5d58d0
2014-07-04 15:48:16 +02:00
Jorim Jaggi
b690f0d502 Clean up user activity handling
- Only call userActivity in down touch event
- Use normal timeout when QS is open
- Clean up old code regarding user activity in Keyguard

Change-Id: I968eeed33fef44def37b68eb1ddc63f1a531ab35
2014-07-04 03:00:29 +02:00
Selim Cinek
ad3e5afdd2 Fixed some logic in the stack scroller algorithm
Also made the top stack slow down a little bit smaller, such that
the speedbump doesn't jump anymore when entering it.

Bug: 15022817
Change-Id: I66c3123a043c66fd9f8aaef50e5ffade4bc17989
2014-07-04 10:31:21 +00:00
Selim Cinek
4fe3e475ea Fixed bugs in the stack scroller
- A hole could occur when collapsing and expanding in the same touch
- The second card was not correctly resized if the stack was scrolled

Bug: 15996450
Change-Id: Ie779ed5d63b8c55d490c459955bafbc583bfce97
2014-07-04 10:28:34 +00:00
Jorim Jaggi
bd00310041 Pressing back when QS is open only collapses QS
Bug: 15856079
Change-Id: Ic4853cbb6569ecbd779d470e0b6911199e6bf09b
2014-07-04 01:58:04 +02:00
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
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
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
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
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
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
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
Adrian Roos
e59bd9af26 Update QS flashlight icon
Bug: 15934851
Change-Id: Id1d08fce8916c29c6cb53eee7cb069b250c0b805
2014-07-02 20:03:26 +00:00
Adrian Roos
7028946402 Fix keyguard user switcher layering
Bug: 15822308
Change-Id: I4253a5f9ccb395b291696825923b251c4069c617
2014-07-02 15:22:36 +00:00
Jorim Jaggi
037c149ef0 Merge "Implement ability to fling to QS in empty space" 2014-07-01 17:57:07 +00:00
Jorim Jaggi
dc96d6310c Implement ability to fling to QS in empty space
Bug: 16009808
Change-Id: I0af174a4d97202dae767e4ae56f43599dbee4e05
2014-07-02 17:20:31 +02:00
Jorim Jaggi
475b21dfe5 Start expanding QS directly when overscrolling to it.
This removes the janky transition from scrolling to flinging.

Change-Id: I691ac94ec06af7f7431ad162e07c21d2c753e99c
2014-07-02 17:10:34 +02:00
Jorim Jaggi
2e115c5d9a Always load resources in SystemUI.
This fixes a bug where resources didn't get loaded after a SysUI
crash.

Change-Id: I3a679890d15ad3c1e13a017840b8258670a23ff8
2014-07-01 21:38:39 +02:00
Jorim Jaggi
c640fafbcd Merge "Start expanding QS directly when overscrolling to it." 2014-07-01 17:46:08 +00:00
Jorim Jaggi
de6265c319 Merge "Fix "None" lock screen option" 2014-07-01 17:52:42 +00:00
Jorim Jaggi
d0b698f074 Fix "None" lock screen option
Now that we have a user switcher in quick settings, we don't need to
show the lockscreen if multi-user is enabled.

Bug: 15864584
Change-Id: I1a7ea69963fdd5a4f79584f565beff36612468f5
2014-07-02 16:46:27 +02:00