Commit Graph

229159 Commits

Author SHA1 Message Date
116a787b06 Merge "Fix for Activity Transitions restoring views bug." 2016-01-08 16:30:38 +00:00
d7d0fb3e65 Fix for Activity Transitions restoring views bug.
Bug 26426496

When finish() came immediately after finishAfterTransition(),
the Views of the reentering Activity would not be restored
properly. This forces the entering Views to show if they
aren't already transitioning in.

Change-Id: If3ab37be8eb5dd3d7649db75385adb9fa214cb4c
2016-01-08 08:29:25 -08:00
23e47f5621 Java 8 in layoutlib-create
Upgrade to ASM 5 and diamond operators.

Also minor fixes here and there.

Bug: 26442940
Change-Id: I5611ed0889aa94cca8655fec47799e1ddccb0150
2016-01-08 08:03:06 -08:00
2d20a4dcc6 Merge "allow listeners to disable themselves" 2016-01-08 15:50:13 +00:00
c03c596a53 Merge "Deprecate mCancel in BitmapFactory.Options API" 2016-01-08 15:47:32 +00:00
5942cc59ab Merge "Sort notifications by importance." 2016-01-08 15:46:22 +00:00
0421e6d586 Sort notifications by importance.
- Importance trumps 'package priority'
- Only notifications with a high enough importance can be intrusive
- default and lower importance notifications don't appear on the lock
screen and appear below the speed bump in the shade

Also, stop downgrading MAX importance noisy notifications.

Bug: 26425560
Change-Id: Ibb952eb6f8d0d336a1060332f58c8ba622f29867
2016-01-08 10:41:32 -05:00
306937132b Merge "Add suggestions parsing to SettingsLib" 2016-01-08 14:50:17 +00:00
f509d7e65a Add suggestions parsing to SettingsLib
Add a parser that will parse an XML of the suggestion categories
and ordering and query those categories into Tiles.

Change-Id: I3154c94e176108358163bbe36feb48e889fe00d1
2016-01-08 09:47:35 -05:00
9f172e650d Merge changes I875b962b,I99c4c290
* changes:
  Add API for System QS tiles to set status icons
  Cleanup the status bar flow.
2016-01-08 14:18:42 +00:00
b1f69a9b78 Merge "Create a new Logging constant for Profile Challenge Settings" 2016-01-08 14:08:18 +00:00
66c89c15a0 Add API for System QS tiles to set status icons
Allow system apps that have a Quick Settings tile to show a
status bar icon.  If the quick settings tile is removed, the
status bar icon will no longer be shown.

Change-Id: I875b962bbdf4ff863012de688a3dd29a8d7e11ab
2016-01-08 08:54:13 -05:00
07473cea3a Cleanup the status bar flow.
- Don't round trip to the status bar manager to know the state
 - Manage the state of icons closer to where they are displayed
 - Move StatusBarIconList into SysUI because it isn't used elsewhere now

Change-Id: I99c4c290c18fc776914a43b1cde157f92bb36ac2
2016-01-08 08:54:13 -05:00
472a566956 Merge "Add missing traces for WebView loading steps." 2016-01-08 13:47:14 +00:00
fc424478a9 Add missing traces for WebView loading steps.
Ever since the refactoring of WebViewFactory - to support using one out
of a list of WebViewProviders - we cover less of the loading code with
traces, this CL fixes this.

Bug: 26409579

Change-Id: I9d74321806037ea34a5ace8fc75b07ca771ab7d9
2016-01-08 13:25:59 +00:00
65c7835394 Merge "Trivial correction of Camera2 API description" am: a909dad0c3
am: 7e308606f6

* commit '7e308606f605dd1bd047e20e17ee53122a64b8ba':
  Trivial correction of Camera2 API description
2016-01-08 09:48:32 +00:00
7e308606f6 Merge "Trivial correction of Camera2 API description"
am: a909dad0c3

* commit 'a909dad0c36542ffbc155f98b4eb054921b1bbd0':
  Trivial correction of Camera2 API description
2016-01-08 09:44:34 +00:00
8090bb1a3f Merge "Fixed calendar fields comparison" am: 9aeb6edf55
am: cd51388e01

* commit 'cd51388e01fdecd516218c7a9597618b10781843':
  Fixed calendar fields comparison
2016-01-08 09:44:32 +00:00
cd51388e01 Merge "Fixed calendar fields comparison"
am: 9aeb6edf55

* commit '9aeb6edf5518a839156de7aab808a75a8fd6843b':
  Fixed calendar fields comparison
2016-01-08 09:39:21 +00:00
a909dad0c3 Merge "Trivial correction of Camera2 API description" 2016-01-08 09:36:14 +00:00
9aeb6edf55 Merge "Fixed calendar fields comparison" 2016-01-08 09:30:41 +00:00
81fd6b48a0 Fixed calendar fields comparison
Month was compared with the day and vice versa.
Found by dukejeffrie.

Change-Id: Ic4efca440c408325819ff1df85db7b407cf3207e
2016-01-08 09:29:39 +00:00
1d4779c29a Add operationsSupported to device info.
Because not all MTP devices support getPartialObject, we need to check
supported operation of MTP devices. The CL adds operationsSupported
field to MtpDeviceInfo class.

BUG=26147375

Change-Id: Iaad968fb4497a5ad11bf6489097abea99c3cbac7
2016-01-08 16:58:24 +09:00
359a8ae0af Merge "RealDeviceTest for MTP does not need to ask device permission." 2016-01-08 07:20:46 +00:00
0fa4914484 Trivial correction of Camera2 API description
Change-Id: Ibb3393b94812dfe7b496182bb5ef43f1a5df7434
2016-01-08 16:18:59 +09:00
66d298cab5 Merge "Do not account ZRAM physical memory as Lost RAM" 2016-01-08 05:43:56 +00:00
8dcf59d67b Do not account ZRAM physical memory as Lost RAM
Bug: 26039328
Change-Id: I0f28ed777e10a90186700b4879c69f827a3c0495
2016-01-07 21:42:59 -08:00
3360de1ea8 Merge "Fix document stack." 2016-01-08 05:34:59 +00:00
7f34b20a70 Fix document stack.
We need to add document to stack by using 'push' method instead of 'add'
method.

BUG=26437613

Change-Id: I3e4ac6b0d03cacbe2d6cdd93443ce1c96c8c47d9
2016-01-08 14:33:11 +09:00
ddc3d21ef9 Add checkmark icons for selection.
- Add a new checkmark icon.
- Modify the grid and list items to include the check icon in the
  appropriate location.
- Add code to various DocumentHolder subclasses to cross-fade between
  icons when things are selected/deselected.
- Create new dimensions quantities to represent new icon sizes.
- Clean up xml files.

BUG=24326546

Change-Id: Ib3f04c8274d35ac3b95ed13730df340e8b7c36c6
2016-01-07 19:05:32 -08:00
8c83d3304a Merge "CopyService generalization." 2016-01-08 02:40:34 +00:00
ecdb8b0e15 Fix crash in car system ui.
Override repositionNavigationBar() in CarStatusBar
and setNavigationIconHints() in CarNavigationBarView
since they are not used  for vehicles.

Bug: 26301185
Change-Id: I1995a514301305bfd2eed64d5f43bc92a6658e15
2016-01-07 18:39:32 -08:00
35e92382e0 Merge "Encapsulate stackTouched logic into State class." 2016-01-08 02:28:05 +00:00
3b36c5a10b Encapsulate stackTouched logic into State class.
BUG=26437613

Change-Id: I84a667cb3561d395daac4e63d9eaca589c8f1fea
2016-01-08 11:26:46 +09:00
c0a77fa95d Merge "Move MTP event code to MtpConstants class." 2016-01-08 02:09:40 +00:00
cf62fdc0c9 Move MTP event code to MtpConstants class.
BUG=25128276

Change-Id: I49530c50d7889e1b04931b8ec61f5f92a1c7e68f
2016-01-08 11:06:02 +09:00
cc70834060 Merge "Null cursors don't need to be wrapped." 2016-01-08 01:53:14 +00:00
703fe24e25 Null cursors don't need to be wrapped.
Change-Id: I59b604a60a066c2d808a796658757af952ef913c
2016-01-07 18:52:26 -07:00
fd1dd726dc Fixing regression in tuner pref due to changed key name.
Change-Id: If785f511d1d8bd587706afdada8edc3fd93bb943
2016-01-08 01:38:24 +00:00
9317f86984 Fix crash when trying to use uninitialized layout.
Bug: 26453007
Change-Id: I006cf2f622b267163230eae4a07ef676c805f5c3
2016-01-08 01:03:35 +00:00
b34f48ff71 Merge "Correct exit animation window retention logic." 2016-01-08 01:02:46 +00:00
b5c1f3b4de Merge "Only allow activities to move to full screen stack." 2016-01-08 00:58:43 +00:00
411c06fbf9 Only allow activities to move to full screen stack.
We allowed activities to move to any stack, but that's too much
freedom. Instead we only allow them to move from freeform stack to a
fullscreen stack.

Change-Id: I04de9bbf18cf4431d7bd34d6c727de82802661ef
2016-01-07 16:58:13 -08:00
14e827a958 CopyService generalization.
Make the service operation agnostic, so we can also move delete operations to it.
In a followup change we'll see about adding support for multiple concurrent
    operations. We'll need to evaluate how to do this in IntentService (which
    serializes requests....a major limitation).

Change-Id: I03eca9c1ecaba519af42d88edffeb0dce78bd1da
2016-01-07 16:29:36 -08:00
1097fa88de Merge "Better fix for unregistered JNI method" 2016-01-08 00:11:00 +00:00
00a0431628 Merge "Revert "Short-term fix for unregistered JNI method"" 2016-01-08 00:10:47 +00:00
7db704a3b8 Preventing crash when attempting to move un-resizeable task to FF stack.
Bug: 26405612
Change-Id: I44e3472e45f8201ee0186d07bad6212916405a08
2016-01-08 00:06:57 +00:00
3e9bc83e6e Merge "Cleaning up imports and dead code." 2016-01-08 00:06:34 +00:00
931fde4291 Better fix for unregistered JNI method
Bug: 26445503
Change-Id: I0de5c34a86f14aeb786a12df8488511c4a280912
2016-01-07 16:03:12 -08:00
f3fa0f8fc6 Added new API for URI permissions management.
The new methods are:

- getGrantedUriPermissions(String packageName)
- clearGrantedUriPermissions(String packageName)

These methods will be used by the Settings app to allow users to clear
the URI permissions granted to an application.

BUG: 26447975

Change-Id: I6867402e42b3d6fd03050ec57b73973ccd8a17af
2016-01-07 16:02:58 -08:00