10258 Commits

Author SHA1 Message Date
Jorim Jaggi
746f7facf2 Start intent chooser after Keyguard is gone
If we have an intent chooser on the camera intent, we need to launch
it after the Keyguard is fully gone because the ResolveActivity would
finish itself if it is launched behind the Keyguard.

Bug: 16570873
Change-Id: I2fdb4975fa0a6510e8853c6042383089570ec1f5
2014-08-28 13:10:12 +02:00
Jorim Jaggi
d757d6bfc6 Merge "Fix large text setting for QS" into lmp-dev 2014-08-28 10:57:45 +00:00
Jorim Jaggi
e17c4b49a4 Fix large text setting for QS
Bug: 15591223
Change-Id: I9f514a4970edbda778b987dfc3eca3914e492011
2014-08-28 12:49:32 +02:00
Jorim Jaggi
87078b738b Merge "Make it possible to disable camera on lockscreen" into lmp-dev 2014-08-28 10:46:37 +00:00
Alan Viverette
41ad39421d Rename StatusBar.Material styles to Material.Notification
Replaces a removed style with __removed to avoid breaking
existing apps. This will be (wait for it...) removed prior
to release.

BUG: 17288986
Change-Id: I7e934fcebe39baed39fd8b01bf12bf3bb41305ad
2014-08-28 05:14:03 +00:00
Svetoslav
c404cacd3a Print UI polish.
1. Fixed an issue where input focus is given to the copies
   edit text every other time we expand the options UI. We
   want focus there only if the user touches the control.

   bug:16966145

2. Fixed the all printers list view to have item dividers
   reaching the left and right ends of the list view.

   bug:17288761

3. Fixed an issue where the user can deselect all pages
   which is not only an invalid state but also causes a crash.

   bug:17286198

4. Tweaked the minimal size of the preview in landscape on
   phone to better accomodate the page.

   bug:17288904

5. Fixed a regression introduced by a change from the UI folks.

Change-Id: Ida7dad7eea413295a840028060810b2619c616e8
2014-08-27 18:46:23 -07:00
John Spurlock
8f8ecd620c Zen: Remove alarm warnings, color the subhead instead.
- When selecting "None" in the dialog, remove the footer warnings
  about alarms, and associated bits.
- Update subhead text for "None".
- Keep track of how often "None" is used (defined as a user change
  during a visible dialog session) and color the subhead text
  with the warning color until it's been used five times.

Bug:17283115
Change-Id: Ief8a1c557716ec2f581b8338511432d17ac0d371
2014-08-27 17:46:03 -04:00
Julia Reynolds
b53453fae0 Audio/Micrphone user restriction/multiuser updates.
1. Persist microphone mute state.
2. Set mute state for correct user.
3. Check for settings restrictions as the correct user.

Bug: 17177502
Bug: 16701642
Change-Id: Id8b6cd90c5caceb67fbec862f90aac7ec7a00b3c
2014-08-27 16:25:00 -04:00
Winson Chung
3e97f9d48b Merge "Additional changes to improve performance when loading Recents. (Bug 16987565)" into lmp-dev 2014-08-27 20:09:57 +00:00
Winson Chung
ebfc698182 Additional changes to improve performance when loading Recents. (Bug 16987565)
- Ensuring that we consistently load activity icon, title and color for both full and shallow stacks
- Adding activity info caches when loading the stacks
- Should not be scaling pin icon when launching from pin
- Tweaking snap-back, over scroll, and shadows

Change-Id: I556b93562bb2c69e4c25ce787a7a34532ab706ca
2014-08-27 19:07:36 +00:00
John Spurlock
c3dfd32843 Doze: Null check in NotificationContentView.mContractedChild.
Bug: 17247547
Change-Id: Iede5d0cd88db4e293e583f3a3c324354eb6d594e
2014-08-27 14:55:54 -04:00
Jorim Jaggi
15dac5f35b Make it possible to disable camera on lockscreen
Bug: 16807006
Change-Id: I8f439c22d481d52c7edf46d0caf78e26dfeb64e8
2014-08-27 19:08:26 +02:00
Baligh Uddin
878da52a8b Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-27 16:00:31 +00:00
Baligh Uddin
c733367f5a Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-27 16:00:03 +00:00
Baligh Uddin
04cb07bb6c Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-27 15:59:58 +00:00
Jorim Jaggi
567ce19951 Merge "Fix missing status bar icons" into lmp-dev 2014-08-27 15:05:30 +00:00
Jorim Jaggi
21e8f419a8 Fix missing status bar icons
Bug: 16481924
Change-Id: I7df734519d112e2b0240f87940f9350bef5ea9df
2014-08-27 16:56:49 +02:00
John Spurlock
03ada9901e Merge "Doze: Better handling for non-default templates." into lmp-dev 2014-08-27 14:45:20 +00:00
John Spurlock
1bf47b9117 Doze: Better handling for non-default templates.
Only apply icon-specific filters if the views are found.

Bug:17289392
Change-Id: I23d1542f8e80d8efed2330fff3f86d0e58a54b7c
2014-08-27 10:02:23 -04:00
John Spurlock
98f8a04620 Merge "StatusBar: Add new icon slot for cast status." into lmp-dev 2014-08-27 13:58:14 +00:00
Jorim Jaggi
394ea9eafa Merge "Content description for clear all notifications" into lmp-dev 2014-08-27 13:43:11 +00:00
Jorim Jaggi
ca3b1af1e3 Content description for clear all notifications
Bug: 17258095
Change-Id: Iafd92f9c1f0bb14ebf53a30b888f144866582925
2014-08-27 15:42:44 +02:00
John Spurlock
96fe98d0c0 StatusBar: Add new icon slot for cast status.
Bug:17275998
Change-Id: I7e80b3d76480fc2fdcb3aa5d445d895829d341d0
2014-08-27 09:36:02 -04:00
Selim Cinek
06d3bca095 Made quick settings RTL compatible.
The layout is now mirrored correctly and the icons as well.

Bug: 15284805
Change-Id: I3d6fadad0a987adb49f826d4189f9dd58e20d326
2014-08-27 12:38:15 +02:00
Selim Cinek
19c8c708f1 Added anti-falsing logic to the keyguard.
Newly enforcing a threshold for the following cases:
Unlocking, Dismissing Notifications, Swiping Down Quick settings.
Also increased the affordance threshold slightly.

Bug: 15433087
Change-Id: I723346dedf9ae0e3f8b103182992ab572fc394b9
2014-08-27 12:38:15 +02:00
Dianne Hackborn
80e29b66c5 Merge "Fix issue #17179314: Make recents limits consistent" into lmp-dev 2014-08-27 04:31:26 +00:00
Dianne Hackborn
852975d537 Fix issue #17179314: Make recents limits consistent
The max limit is now 100 (or 50 on svelte devices), and that is
what everyone used.

Re-arranged things so we have a big expensive "fix the world!"
function for recents that we go in to at only select points:
when first initializing the system, when external storage comes
and goes, and if we detect something wrong with the recents
structure.

With that, now getRecentTasks() and addRecentTaskLocked() are
generally much simpler, doing very little work in most cases.
This will help a lot with scaling up to many more recents
entries.

Change-Id: I7b5ae89edc06568f68c8af54a4420aff7635581c
2014-08-26 21:24:42 -07:00
Svetoslav
ab94674c70 Merge "Fix a crash in PrintSpooler." into lmp-dev 2014-08-27 01:01:55 +00:00
Craig Mautner
99b69286f1 Show IME over keyguard if IME target is showing
IME was being hidden by keyguard even if the window it was attached
to was showing. This change shows the IME if the window it is
attached to is hiding the keyguard.

Also fix an NPE that was crashing systemui.

Fixes bug 16457525.

Change-Id: If587eefa7b1e0ae26713906a76c0766ebaae69a6
2014-08-26 17:10:39 -07:00
Jeff Hao
0dedb722e6 Merge "Add sample profiling option to am." into lmp-dev 2014-08-26 22:59:36 +00:00
Jeff Hao
1b012d302b Add sample profiling option to am.
Also bundles all profiling options into a class.

Bug: 17040932
Change-Id: I85d675ee1494bdc7308caffdf94145d27c996e9d
2014-08-26 15:54:25 -07:00
Alan Viverette
f3542fd63f Merge "Make shadow alpha properties public, add lighting values for TV" into lmp-dev 2014-08-26 22:52:32 +00:00
Svetoslav
9c9888b8c5 Fix a crash in PrintSpooler.
If the user cancels printing we cancel the current
pring operation in the RemotePrintDocument which is
a state machine enforcing valid state transitions.
A valid transition was not allowed: finishing after
canceled.

bug:17182301

Change-Id: Iccf3a78d7dc736a64bf5c44941a8f8064dcd0ec3
2014-08-26 15:19:56 -07:00
Alan Viverette
ed6f14a20c Make shadow alpha properties public, add lighting values for TV
BUG: 17189722
BUG: 17221975
Change-Id: I4ed477b658fec96ce69fa278f67345dab6bacaa3
2014-08-26 14:53:28 -07:00
Baligh Uddin
b0bc142653 Import translations. DO NOT MERGE
Change-Id: Ie9641c36b244cf85d9a5d17b2185f7c26d1b4ec3
Auto-generated-cl: translation import
2014-08-26 14:32:15 -07:00
Baligh Uddin
07fda0f834 Import translations. DO NOT MERGE
Change-Id: I27a436ec79e63ccadcf9315bfa179a86fe519bbf
Auto-generated-cl: translation import
2014-08-26 14:25:05 -07:00
Baligh Uddin
65bc2b09d3 Import translations. DO NOT MERGE
Change-Id: I605546fc701703baebd8e91bb6cc198223eb6c3c
Auto-generated-cl: translation import
2014-08-26 14:18:45 -07:00
Christoph Studer
7f05a69637 Merge "SysUI: Uprank current media notification" into lmp-dev 2014-08-26 21:14:16 +00:00
Baligh Uddin
cb54f6dfff Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-26 21:03:27 +00:00
Dianne Hackborn
4610545dd2 Merge "Fix issue #16311398: Limit number of documents a process can open" into lmp-dev 2014-08-26 19:56:26 +00:00
Jorim Jaggi
6183cc1a68 Merge "Update IME switcher icon" into lmp-dev 2014-08-26 18:51:08 +00:00
Jorim Jaggi
31fc3e8047 Update IME switcher icon
Also make the transparency consistent with the other icons.

Bug: 15597889
Change-Id: Ia5c8ea0bed192b57c552c62358b365d979c4b062
2014-08-26 20:42:38 +02:00
Winson Chung
5c1b42e4f5 Merge "Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)" into lmp-dev 2014-08-26 18:23:10 +00:00
Jorim Jaggi
b0768f6ad0 Merge "Fix jumping animation when using two-finger expand" into lmp-dev 2014-08-26 18:21:31 +00:00
Dianne Hackborn
89ad456ea4 Fix issue #16311398: Limit number of documents a process can open
In application processes, monitor for when we start getting close
to the Dalvik heap limit, and ask the activity manager to try to
prune old activity instances in that case.

Add an explicit API for apps to ask that they have their own
activity instances cleaned up, if they want.

Fix some bugs in launching activities that were not correctly
applying the "multi task" behavior in the appropriate situations
of document-centric recents.

Clean up the activity manager's process removal code to all share
a common path.

Add a new "Spam" option to ActivityTests, which continually creates
new tasks, checking that the activity manager will now prune old
tasks rather than letting the app run out of RAM.

And while I was was doing this, I found problems with the path
for bringing an empty task to the foreground -- it could make
a new task instead of re-starting the root activity in the
existing task.  This is fixed, and some code in the recents
UI for working around the bug is removed.

And as long as I am doing that, we now have nice hooks in to
the activity manager for AppTask to give some APIs for better
managing the task, so add those along with more tests for these
APIs in ActivityTests.

We should look at also having the activity manager try to prune
old tasks when it sees app processes being killed, to better balance
memory use across multiple processes when some processes may host
many documents.  That however is for another CL...

Change-Id: I2bb81c3f92819350c868c7a7470b35817eb9bea9
2014-08-26 11:16:59 -07:00
Baligh Uddin
1494447e35 Import translations. DO NOT MERGE
Change-Id: I0787124e2a6bf24f406c9b89770bdbfb5b801325
Auto-generated-cl: translation import
2014-08-26 10:48:38 -07:00
Christoph Studer
38db384424 Merge "SysUI: Force L+ status bar icons to white" into lmp-dev 2014-08-26 17:13:39 +00:00
Christoph Studer
13b895125c SysUI: Force L+ status bar icons to white
Bug: 16862480
Change-Id: I13126e4641563953d00b8e1b8324b470b9fc085c
2014-08-26 18:51:36 +02:00
Jorim Jaggi
1d49ec9f41 Fix jumping animation when using two-finger expand
Also fixes other minor issues with the panel expansion.

Bug: 17250134
Change-Id: I70ee5410bad10ff71f6d868005bf6274ef881e95
2014-08-26 18:39:47 +02:00
Nicolas Prevot
1ce1ba68ac Merge "Marking the Settings ContentProvider as singleUser" into lmp-dev 2014-08-26 16:29:20 +00:00