2659 Commits

Author SHA1 Message Date
Jeff Sharkey
eb4cc492c9 Protect system services with DUMP permission.
Change-Id: I5e53859f8b8e5473e54eca43ebd7de841f1a05ff
2012-04-26 18:17:29 -07:00
Eric Fischer
130f95b1e0 Import translations. DO NOT MERGE
Change-Id: I8816757eeaf3b8b2b01964ec030ef3ca5f24ff7a
2012-04-26 14:23:36 -07:00
Daniel Sandler
d7e9686656 Lights out improvements.
+ Finally implemented LO in the top status bar.
+ Tightened up LO animations on nav bar (swap icons for dots
  all at once rather than in sequence).

Bug: 6374406 (status bar lights out)
Bug: 5854958 (tighten up)
Change-Id: Id1393cef0b4281e062c1704d916843641da19dc4
2012-04-26 01:24:18 -04:00
Jeff Brown
69b2be163d Add yet more keyboard layouts.
Bug: 6110399
Change-Id: I8e2ce1cd350dddb006df51286e127dce65a8117f
2012-04-25 18:17:21 -07:00
Kenny Root
6dceb88f1c Allow forward locked apps to be in ASECs
We couldn't put forward-locked apps in ASEC containers before since we
didn't have any permissioned filesystems. This adds the ability for
forward-locked applications to be in ASEC containers.

This means that forward locked applications will be able to be on the SD
card now.

This change also removes the old type of forward-locking that placed
parts of apps in /data/app-private.  Now all forward-locked applications
will be in ASEC containers.

Change-Id: I17ae0b0d65a4a965ef33c0ac2c47e990e55707ad
2012-04-25 14:17:02 -07:00
Chris Wren
321452da28 Set row height to the row height not the notification height.
Bug: 6376501
Change-Id: I41567b11fcb1d39bc75ef782faa8287bbb1e4ca8
2012-04-25 11:20:35 -04:00
Jeff Brown
d3d3bec976 Merge "Add even more keyboard layouts." 2012-04-24 20:42:12 -07:00
Jeff Brown
77241caa8e Add even more keyboard layouts.
Bug: 6110399

Change-Id: I2278424e2e4c7dc7f7804a25d2c6c63f45181d1b
2012-04-24 20:34:54 -07:00
Jim Miller
3b291870d3 Fix 6299832: Improvements to navbar's "swipe to search"
This uses the new global search intent provided by SearchManager.

It also fixes the layout on tablets.

Change-Id: I9dd97785a454a4793aed7da1f5e260377f648354
2012-04-24 19:18:38 -07:00
Jim Miller
e4cd3b0d95 Merge "Fix 6299832: Add search target swipe action to navigation bar on phones" 2012-04-24 18:32:37 -07:00
Jeff Brown
579b337607 Merge "Add more keyboard layouts." 2012-04-24 17:48:05 -07:00
Jeff Brown
4c181a3f6a Add more keyboard layouts.
Bug: 6110399
Change-Id: I00f54338c9e94cce3a2925a5dff2e924a21fcdd8
2012-04-24 17:39:59 -07:00
Jim Miller
e898ac59db Fix 6299832: Add search target swipe action to navigation bar on phones
This adds a feature to swipe upward on the navigation bar to invoke
voice search on phones.

Change-Id: I462076fd43b1c66c5bf624f00b297c6d3414a19a
2012-04-24 17:25:46 -07:00
Jeff Sharkey
442456a698 Merge "Permission to show battery alert windows." 2012-04-24 16:14:46 -07:00
Jeff Sharkey
af772be33c Permission to show battery alert windows.
Bug: 6388558
Change-Id: Icf584b6bc62616a395ac14a577d98ea1daaed0e4
2012-04-24 16:13:17 -07:00
Dianne Hackborn
8238e717df Add new signature-level permission to get details of tasks.
Third party apps now can't get access to the extras of the
intents associated with tasks, to keep private data in them
from leaking out.

Change-Id: I95af9e181ac42557bc8b981807e7ddd266a88d0e
2012-04-24 14:27:02 -07:00
Eric Fischer
d671a43887 Import translations. DO NOT MERGE
Change-Id: Ib2edd737c39db1a06e846d3863cbc52eab2777ab
2012-04-24 12:49:19 -07:00
Chris Wren
77e42defdd Merge "animate the notification glows in and out" 2012-04-24 09:41:29 -07:00
Daniel Sandler
e6f410e984 Remove unneeded sw600dp assets; clean up the needed ones.
These are still FPO, but now they've all been downscaled
from xhdpi.

Change-Id: I02371ea8b9e449fd0f024d034ee0f9f802fda32d
2012-04-23 22:32:42 -04:00
Jeff Brown
a8d6ddee98 Merge "More work on international keyboards." 2012-04-23 16:53:28 -07:00
Daniel Sandler
8d98200650 Merge "Expand hit rectangles of main navigation buttons." 2012-04-23 16:40:13 -07:00
Jeff Brown
8bca94ad83 More work on international keyboards.
Changed the English US keymaps to implement a strict US key map
with no additional ALT functions.

Fixed a bug copying the alias in the InputDevice copy constructor.

Added support for end of line comments in KCM and KL files.

Added the German keyboard layout.

Sorted the keys in the keyboard layout files by physical arrangement
to make it easier to maintain them.

Bug: 6110399
Change-Id: If44d83de5b98f2bf0016cbb8e12264387b286aaa
2012-04-23 16:12:32 -07:00
Daniel Sandler
6ae7b5807a Expand hit rectangles of main navigation buttons.
There's now no dead space between them. Also, increase the
visual size of the nav icons by 30% (just a quick resample
of the current artwork, to be replaced by custom-drawn
graphics at 130%).

The background glow looks kind of comical right now.

Bug: 6381833
Change-Id: I03ef0ea64a9e953f9f2b29cc03097d250ff52134
2012-04-23 17:15:15 -04:00
Jeff Sharkey
258783e09b Merge "Grant external storage permissions to SystemUI." 2012-04-23 13:33:28 -07:00
Jeff Sharkey
81d94335fb Grant external storage permissions to SystemUI.
Used for taking screenshots and playing notification ringtones.

Bug: 6381589
Change-Id: Ib1a5ad17edbeab984bbab25168d81eb99deba952
2012-04-23 13:32:00 -07:00
Eric Fischer
25f26e76be Merge "Import translations. DO NOT MERGE" 2012-04-23 12:36:04 -07:00
Eric Fischer
e8e25e22ac Import translations. DO NOT MERGE
Change-Id: Ib5fcdfa63b7d2049f9e5ee236a8dd394d48da22b
2012-04-23 12:31:22 -07:00
Jeff Sharkey
f913d002a6 Merge "Expose statfs() through IMediaContainerService." 2012-04-23 10:08:01 -07:00
Jeff Sharkey
9cbe986a44 Expose statfs() through IMediaContainerService.
Bug: 6346248
Change-Id: I03ae02578f546fc9f19652cbdece56e2e0ab6a1c
2012-04-22 18:56:43 -07:00
Daniel Sandler
4a066c5c77 Update SystemUI for sw600dp devices.
Devices between 600 and 719dp will now use the two-bar
(phone) SystemUI layout, or something like it, derived from
PhoneStatusBar. Devices above 720dp will use the system bar
from TabletStatusBar.

However, this distinction is not to be made based on dp, at
least, not by the SystemUI; the goal is to drive most of
this switch from the window manager. Therefore most of
SystemUI's sw600dp resources have been folded into the main
set of resources (renaming them to avoid collisions where
appropriate). This allows SystemUI to choose which set of
resources to use entirely by switching status bar
components, entirely independent of Configuration.

(For some resources, particularly around recents, it seemed
more expeditious to keep relying on the device
configuration, so those resources have been bumped up to
sw720dp.)

Bug: 6297838
Change-Id: I3f5414a6a718bdc83f51930d6878cdf97df48c9c
2012-04-21 00:19:47 -04:00
Chris Wren
ba925e8ecd animate the notification glows in and out
Change-Id: I9d43f01dcae9a896fc981e35434001e916bcf21b
2012-04-20 16:46:43 -04:00
Eric Fischer
0a732ad527 Merge "Import translations. DO NOT MERGE" 2012-04-20 13:28:33 -07:00
Eric Fischer
46c629d5fa Import translations. DO NOT MERGE
Change-Id: Id52413abf313dabc666037b09e191b374f11bf22
2012-04-20 12:56:08 -07:00
Daniel Sandler
c2dd1d1192 Copy new resources to other densities.
Bug: 6372775
Change-Id: Ifea79db30878ba71243c0dfffb9494b0d517db7c
2012-04-20 13:49:26 -04:00
Chris Wren
80a76276dc Add visual feedback for notification expandability.
Change-Id: I0b82a465a126a6d0ec6cf6af87dc56817765b995
2012-04-20 12:45:02 -04:00
Chris Wren
d84e593746 fix press feedback on notification rows
Change-Id: I50de2f4d6142c2553428abc853c820f4354d0640
Bug: 6362246
2012-04-20 09:40:11 -07:00
Jeff Sharkey
875f064316 Merge "Move SystemUI out of system UID." 2012-04-19 15:59:20 -07:00
Eric Fischer
abf5df26b5 Import translations. DO NOT MERGE
Change-Id: I76fa7c707eaf80c47b36d7e9145a26ec9c1670e4
2012-04-19 12:53:14 -07:00
Jeff Sharkey
35be756030 Move SystemUI out of system UID.
Add permissions for various things it pokes.  Create new permission
to control launching non-exported activities from recents.  Hidden
API to relax WallpaperService checks.

Change-Id: I547fdcd7c213dd153ae101533ce7c56cd8f86a0d
2012-04-19 11:54:34 -07:00
Daniel Sandler
0da673f02e Notifications may now be disabled on a per-package basis.
When a package's ability to post notifications is disabled,
all outstanding notifications from that package are
immediately canceled, and the score of any future
notification from that package is set so low that the
notification manager won't even send it to the status bar.

No UI for this yet, but you can try it out:

  adb shell service call notification 8 s16 $PKG i32 (1|0)

Bug: 5547401

Change-Id: Ieccac5746b40f60debd902a45d1dedbc91dcdc89
2012-04-19 11:39:49 -04:00
Daniel Sandler
f7a1956b06 Long-press a notification to find out who sent it.
Bug: 5547401
Change-Id: I8d5d73723b3f03f5b0f8717faaca826b1530df7a
2012-04-19 11:39:49 -04:00
Daniel Sandler
3dfc82b567 Merge "Expand too-small notifications to fill 64dp." 2012-04-19 07:01:37 -07:00
Daniel Sandler
bc5559f192 Expand too-small notifications to fill 64dp.
Also fix NotificationTestList so it runs again.

Change-Id: I2fb28cd9cfad25a7a1b17ccef9ccd741c3aa99b0
2012-04-19 01:08:15 -04:00
Daniel Sandler
6b31880838 Remove intruder alert APIs from JB.
Change-Id: I27042d604fbe15879e7b7aaaac860db2d1efa47f
2012-04-18 20:53:24 -07:00
Eric Fischer
d97e3ea1f3 Import translations. DO NOT MERGE
Change-Id: Ie7fff3835aff72ad821dec9db5053061186b9100
2012-04-18 13:38:51 -07:00
Daniel Sandler
6a858c347f Gestures for expanding notifications.
Change-Id: I104c157ffcc2d60b3f0a95c59d4322b07103b69f
2012-04-18 11:21:19 -04:00
Jeff Brown
6957b60378 Merge "Add Dvorak keyboard layout." 2012-04-17 19:21:34 -07:00
Jeff Brown
4a3862f6b0 Add Dvorak keyboard layout.
Added support for mapping both scan codes and HID usages to
KeyLayoutMap and KeyCharacterMap.  Keyboard overlays can
now influence how key events are mapped to key codes.

Bug: 6110399
Change-Id: I6619fd2d3e1337c55928f89869dbc45b535c7ccf
2012-04-17 18:50:05 -07:00
Jeff Brown
420489ca1f Merge "Support loading keyboard layout overlays from resources." 2012-04-17 17:59:03 -07:00
Jeff Brown
6ec6f79e1a Support loading keyboard layout overlays from resources.
Added the concept of a keyboard layout overlay, which is
a key character map file that has "type OVERLAY".

Added support for loading keyboard layout overlays from
resources dynamically.  The layouts are reloaded whenever they
are changed in the Settings application or an application
is installed.  This is somewhat more aggressive than necessary
so we might want to optimize it later.

Before system-ready, the input system uses just the generic
keyboard layouts that are included on the device system image.
After system-ready, it considers the user's selected keyboard
layout overlay and attempts to load it as necessary.  We need to
wait until system-ready before doing this because we need to
be in a state where it is safe to start applications or access
their resources.

Bug: 6110399
Change-Id: Iae0886d3356649b0d2440aa00910a888cedd8323
2012-04-17 17:56:32 -07:00