229026 Commits

Author SHA1 Message Date
Mahaver Chopra
87648756e3 Handle null pointer exception
Handle null pointer exception, just in case calling entitity doesn't
check.

Change-Id: I1b4809476cc689ad3dfd426e123a64e9a0336c87
2016-01-08 19:23:57 +00:00
Jeff Sharkey
6e274cf6c7 Merge "Skip package updates when user is locked." 2016-01-08 19:03:29 +00:00
Jeff Sharkey
f0e4daecc9 Skip package updates when user is locked.
Bug: 26464060
Change-Id: If762ce799f402571fd0387947f19c824f4a1b000
2016-01-08 12:02:45 -07:00
Mahaver Chopra
932f66428c Merge "Added Data roaming user restriction" 2016-01-08 18:39:15 +00:00
Victor Chan
48426d5943 Merge "Fix crash in car system ui." 2016-01-08 18:28:23 +00:00
Alan Viverette
598d8eafd6 Merge "Add support for tick marks in SeekBar" 2016-01-08 18:16:37 +00:00
Jeff Sharkey
732ea374cb Merge "Oh look, GmsCore is using more hidden APIs." 2016-01-08 18:12:32 +00:00
Jeff Sharkey
bd94022893 Oh look, GmsCore is using more hidden APIs.
Bug: 26429932
Change-Id: Ie949d4bbdead8864aaed16282a591258ef528ca8
2016-01-08 11:10:32 -07:00
Mahaver Chopra
dea471ef54 Added Data roaming user restriction
Added new user restriction DISALLOW_DATA_ROAMING, can only be set
by device owners.

Bug: 24890464
Change-Id: Ic4cb37dd5f9bbffa35f921751488ef7c7ff99452
2016-01-08 18:07:31 +00:00
Jeremy Joslin
bc79997536 Merge "Use UserHandle.USER_SYSTEM in place of 0." 2016-01-08 18:05:43 +00:00
Michal Karpinski
42efc5860f Merge "Adjusting AMN#requestBugReport() to be able to invoke 3 types of bugreport services" 2016-01-08 18:00:18 +00:00
Felipe Leme
1a7d98b76c Merge "Added new API for URI permissions management." 2016-01-08 17:51:56 +00:00
Michal Karpinski
3da5c97460 Adjusting AMN#requestBugReport() to be able to invoke 3 types
of bugreport services

ActivityManagerNative#requestBugReport() now can accept 3 types:
FULL, INTERACTIVE AND REMOTE.

Bug: 26152603
Change-Id: Ife9bbef4691e172fb56b72b256880f0d4ad4d198
2016-01-08 17:50:16 +00:00
Andreas Gampe
63ea81ebf4 Merge "Frameworks/base: New preload tool" am: f2c7983de1
am: f2eb8b236f

* commit 'f2eb8b236fada3e7223617689776ef44c9403cfa':
  Frameworks/base: New preload tool
2016-01-08 17:48:44 +00:00
Andreas Gampe
f2eb8b236f Merge "Frameworks/base: New preload tool"
am: f2c7983de1

* commit 'f2c7983de141d008c7c02e3331fbde67e13ac46c':
  Frameworks/base: New preload tool
2016-01-08 17:44:54 +00:00
Deepanshu Gupta
80dc34e358 Merge "Java 8 in layoutlib-create" 2016-01-08 17:37:56 +00:00
Chris Craik
8f593ef88d Merge "Partial unclipped save layer support" 2016-01-08 17:37:39 +00:00
Andreas Gampe
f2c7983de1 Merge "Frameworks/base: New preload tool" 2016-01-08 17:35:45 +00:00
Jeremy Joslin
2ceac5ad94 Use UserHandle.USER_SYSTEM in place of 0.
Change-Id: I3bc5f2d326b0b5c6797f3ac259d0e3d42a3afa0f
2016-01-08 09:30:44 -08:00
Andreas Gampe
554d7ee0f5 Frameworks/base: New preload tool
Add a new preload tool based on hprof dumps. This means that only
a userdebug build (to adjust the pre-existing preloaded-classes
file) is required now, not a recompiled runtime.

Change-Id: Ib0c00de3b248e49fa8271cbace67c5d4a50170a1
2016-01-08 09:25:15 -08:00
Ben Kwa
2e8bafc38b Merge "Add checkmark icons for selection." 2016-01-08 17:06:29 +00:00
George Mount
116a787b06 Merge "Fix for Activity Transitions restoring views bug." 2016-01-08 16:30:38 +00:00
George Mount
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
Deepanshu Gupta
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
Chris Wren
2d20a4dcc6 Merge "allow listeners to disable themselves" 2016-01-08 15:50:13 +00:00
Matt Sarett
c03c596a53 Merge "Deprecate mCancel in BitmapFactory.Options API" 2016-01-08 15:47:32 +00:00
Julia Reynolds
5942cc59ab Merge "Sort notifications by importance." 2016-01-08 15:46:22 +00:00
Julia Reynolds
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
Jason Monk
306937132b Merge "Add suggestions parsing to SettingsLib" 2016-01-08 14:50:17 +00:00
Jason Monk
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
Jason Monk
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
Clara Bayarri
b1f69a9b78 Merge "Create a new Logging constant for Profile Challenge Settings" 2016-01-08 14:08:18 +00:00
Jason Monk
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
Jason Monk
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
Gustav Sennton
472a566956 Merge "Add missing traces for WebView loading steps." 2016-01-08 13:47:14 +00:00
Gustav Sennton
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
Narayan Kamath
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
Narayan Kamath
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
Narayan Kamath
8090bb1a3f Merge "Fixed calendar fields comparison" am: 9aeb6edf55
am: cd51388e01

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

* commit '9aeb6edf5518a839156de7aab808a75a8fd6843b':
  Fixed calendar fields comparison
2016-01-08 09:39:21 +00:00
Narayan Kamath
a909dad0c3 Merge "Trivial correction of Camera2 API description" 2016-01-08 09:36:14 +00:00
Narayan Kamath
9aeb6edf55 Merge "Fixed calendar fields comparison" 2016-01-08 09:30:41 +00:00
Philipp Hasper
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
Daichi Hirono
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
Daichi Hirono
359a8ae0af Merge "RealDeviceTest for MTP does not need to ask device permission." 2016-01-08 07:20:46 +00:00
Hidenari Koshimae
0fa4914484 Trivial correction of Camera2 API description
Change-Id: Ibb3393b94812dfe7b496182bb5ef43f1a5df7434
2016-01-08 16:18:59 +09:00
Thierry Strudel
66d298cab5 Merge "Do not account ZRAM physical memory as Lost RAM" 2016-01-08 05:43:56 +00:00
Thierry Strudel
8dcf59d67b Do not account ZRAM physical memory as Lost RAM
Bug: 26039328
Change-Id: I0f28ed777e10a90186700b4879c69f827a3c0495
2016-01-07 21:42:59 -08:00
Daichi Hirono
3360de1ea8 Merge "Fix document stack." 2016-01-08 05:34:59 +00:00
Daichi Hirono
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