234091 Commits

Author SHA1 Message Date
Julia Reynolds
f0f629ffe4 Introduce IMPORTANCE_MIN.
Allow HUNs for >= IMPORTANCE_HIGH.
Allow full screen intents for IMPORTANCE_MAX.

Bug: 22960980
Bug: 26918284
Change-Id: Id4d2b90ea2e21563dbc716db411060d826e73699
2016-02-26 10:54:08 -05:00
Julia Reynolds
3070d75bf3 Merge "Remove inline settings slider." into nyc-dev 2016-02-26 14:41:31 +00:00
Nicolas Geoffray
573895bbea Fix ASAN builds after app_process change.
Bug:27245894

Change-Id: Ie2fc1edcbd874e8ad3b932f8e24ef38c9817b2cd
2016-02-26 13:23:40 +00:00
Dimitry Ivanov
b0824979be zygote to preload public native libraries
Preload public native libraries when starting a zygote
This lets other users of libnativeloader (like dex2oat)
avoid unnecessary cold loads of libandroid.so which could
take up to a second.

Bug: http://b/27245894
Change-Id: I1499a7485c186b185fce8a1f8d05afcd579d59cc
2016-02-26 10:00:27 +00:00
Donghyun Cho
e9de43f888 Merge "MediaSession: Update javadoc of prepare-related methods" into nyc-dev 2016-02-26 08:23:41 +00:00
Daichi Hirono
61ba923ca0 Set document flag by referring MTP supported operations.
BUG=26147375

Change-Id: I6c4244f1f1153c1bbbf21ea9d608dc1a92ca70cd
2016-02-26 16:23:30 +09:00
Daichi Hirono
9ae4a083d8 Merge "Stops performing operations that does not supported by MTP device." into nyc-dev 2016-02-26 07:21:24 +00:00
Daichi Hirono
0f32537e40 Stops performing operations that does not supported by MTP device.
MTP devices can return supported operation list. The CL sets root flag
by referring it.

BUG=26147375

Change-Id: I02397821e208cf5a8fcf7457aa279d2818ce24c7
2016-02-26 16:20:02 +09:00
Jaewan Kim
0709761020 Merge "PIP: Restore PIP size when PIP menu is gone" into nyc-dev 2016-02-26 06:13:27 +00:00
Jaewan Kim
9c23b28a22 PIP: Restore PIP size when PIP menu is gone
Change-Id: Ifb1bf992b875dc2cf10a3e9e05ca0b1fe6bd535b
2016-02-25 20:04:12 -08:00
Andy Hung
7b98e9a7e5 Make master mono controlled through settings
Bug: 15283594
Change-Id: I94a84a3ad3bbb0c1179726a4ecc68b7df033af58
2016-02-25 18:34:50 -08:00
Ruchi Kandoi
52cdc1593a Merge "PowerManager: Hide the SUSTAINED_PERFORMANCE API." into nyc-dev 2016-02-26 02:26:56 +00:00
Adam Lesinski
6cca414de2 BatteryStats: Fix issue where network traffic accounting might be lost
Both bytes transmitted and received must be 0 if we are to short circuit and
ignore the UID's network delta.

Change-Id: Ia69f605c7d5954b8f2c3671bab596dc9925f1d02
2016-02-25 18:24:28 -08:00
Andreas Gampe
8b9f49415f Frameworks/base: Refactor android.os.Debug
Refactor some static fields into a holder. This allows to statically
initialize the class in the boot image. It also has some minimal
positive impact on the class size, a net benefit when tracing is
not used.

Bug: 27248115
Change-Id: I0cdfb6acf916ad8d9a7d82bba32929dba15d4200
2016-02-25 18:03:03 -08:00
Christopher Tate
50f56607d5 Don't use Settings for storing the backup enable state
Bug 19678828

Change-Id: Ieb572bcb2e8fe4d03f654dd52596c8dc4fdd72a9
2016-02-25 17:49:41 -08:00
Thierry Strudel
f40969ac2c Merge "Fix typo in SwappedOut reporting" into nyc-dev 2016-02-26 01:47:36 +00:00
Thierry Strudel
9b51160e0c Fix typo in SwappedOut reporting
Change-Id: I55b3725eba054d3d6d2b38041cf375fc7b141c69
2016-02-25 17:46:38 -08:00
Chris Tate
7f220b8ec5 Merge "Fix '<' / '>' in JobService docs" into nyc-dev 2016-02-26 01:38:34 +00:00
Makoto Onuki
bdb14a30d0 Remove READ_WRITE_CONTACT_METADATA, which is no longer used
Bug 27365657

Change-Id: Iaf1b62991bbb0ccce9488e4e50bc49a12663a2d0
2016-02-25 17:26:06 -08:00
Aga Wronska
6543be5c17 Fix SearchView background too high
Bug: 27293462
Change-Id: Id694fc9c1a7d6e21534e74e20f95c8c080861598
2016-02-25 17:19:17 -08:00
Jim Miller
76e2334270 Merge "Fix permission check in hasEnrolledFingerprints()" into nyc-dev 2016-02-26 01:12:49 +00:00
Chris Tate
5a85aff8a0 Merge "Tidy up stale lock wallpaper state in set-both operation" into nyc-dev 2016-02-26 01:11:36 +00:00
Jim Miller
1fd298bdcb Fix permission check in hasEnrolledFingerprints()
Fixes bug 27350799

Change-Id: Icd00985b5ad9a8159733e9180c79f646b275b60d
2016-02-25 17:11:33 -08:00
Felipe Leme
db31363aa9 Open bugreport info when touching notification (as well as DETAILS button).
Also added test case for CANCEL button on system notification.

BUG: 26906985
Change-Id: I92eac2e5ec18a8d1d4412f5c1832a52705caf3b3
2016-02-25 17:09:46 -08:00
Chris Craik
2ebe8fee0c Merge "Properly reject empty unclipped savelayers" into nyc-dev 2016-02-26 01:06:50 +00:00
Chris Craik
4876de16e3 Properly reject empty unclipped savelayers
bug:27225580
bug:27281241

Empty unclipped savelayers (clipped at defer time, often by dirty rect)
were resulting in invalid layer clear rectangles. Simplify by just
rejecting these unclipped savelayers entirely at defer.

Also, use repaint rect as base clip for constructed ops within
LayerBuilder.

Change-Id: I5c466199e85201a2f68f5cdc60b29187c849961b
2016-02-25 16:59:19 -08:00
Christopher Tate
db27b844f4 Tidy up stale lock wallpaper state in set-both operation
Also fix bug that was failing to remember the lock-only wallpaper, and
along the way make the disk write a single large block operation instead
of a number of small writes.

Bug 27353079

Change-Id: Ib1351e509af95905dced41e69c6e13dcce839511
2016-02-25 16:47:04 -08:00
Jeff Sharkey
27b2e69787 When system server goes down, crash apps.
Apps making calls into the system server may end up persisting
internal state or making security decisions based on the perceived
success or failure of a call, or the default values returned.

The reality is that if the system process just died, init will be
along shortly to kill all running apps, so we should have no problem
rethrowing the RemoteException as a RuntimeException.

Bug: 27364859
Change-Id: If632cc36f68cd399a34de513b2d979abaa36fcaa
2016-02-25 17:40:12 -07:00
Felipe Leme
17fc60e13c Merge "Using Message.obtain() to decrease number of Messages allocated." into nyc-dev 2016-02-26 00:32:29 +00:00
Philip P. Moltmann
594e131160 Merge "Force cancel pending RemotePrintDocument commands when the PrintActivity exits" into nyc-dev 2016-02-26 00:28:52 +00:00
Christopher Tate
a8e24f24bd Fix '<' / '>' in JobService docs
Bug 27291714

Change-Id: I7e6ec24442bdd071d34faa980d201f4c747cadff
2016-02-25 16:28:35 -08:00
Felipe Leme
8648a15406 Using Message.obtain() to decrease number of Messages allocated.
BUG: 26906985
Change-Id: Ide8c6e308dcc83e9627ec775a4d977d17cd2f0a9
2016-02-25 16:24:43 -08:00
Omkar Kolangade
a486f4566a IMS: Reason Codes For Call Pull Scenarios
am: f38780b483

* commit 'f38780b483de489635749f523258003506c8bbbc':
  IMS: Reason Codes For Call Pull Scenarios
2016-02-26 00:23:16 +00:00
Selim Cinek
81c23aac78 Added convenience methods to use chronometer countdown methods
Bug: 27343480
Change-Id: Iea4d0259ba8c3ab91fec5ee04ea4b39e5dd988bf
2016-02-25 16:23:13 -08:00
Ruchi Kandoi
302710deaa PowerManager: Hide the SUSTAINED_PERFORMANCE API.
Bug: 27365880
Change-Id: Ia84a5af85f6e8ef0740ce4b41dbc5bab4cbeef05
2016-02-25 16:22:54 -08:00
Mitchell Wills
ebc106cb71 Merge "Modify WakeupMessage to only send the message if not canceled" into mm-wireless-dev
am: 9505e0ac3f

* commit '9505e0ac3f6bef7ad850f3b6fc9ec576b65b1e55':
  Modify WakeupMessage to only send the message if not canceled
2016-02-26 00:20:00 +00:00
Glenn Kasten
642a4f5b66 Merge "Allow sample rate UNSPECIFIED to mean a route-dependent value" into nyc-dev 2016-02-26 00:17:45 +00:00
Jeff Sharkey
58bd7cf54b Merge "Accept non-EA jobs while user is locked." into nyc-dev 2016-02-26 00:15:46 +00:00
Jeff Sharkey
751b5cc547 Merge "configfs is special; don't delete dir contents." into nyc-dev 2016-02-26 00:12:45 +00:00
Jeff Sharkey
12c0da4189 Accept non-EA jobs while user is locked.
We'll keep them around in the pending queue until the user is
unlocked, at which point we'll consider running them.

Bug: 27358148
Change-Id: I2eb538a89206d4caac620b3b4e989b011b309201
2016-02-25 17:10:52 -07:00
Jeff Sharkey
800efcc7f5 configfs is special; don't delete dir contents.
Bug: 27342722
Change-Id: I63e8316a6a6260869b4fdd94fde59b5ec3d7b30a
2016-02-25 17:08:14 -07:00
Lifu Tang
d6492a1c76 Merge "Removed clock type from GnssClock" into nyc-dev 2016-02-25 23:59:45 +00:00
Omkar Kolangade
f38780b483 IMS: Reason Codes For Call Pull Scenarios
Adding reason codes for call pull success
and failure scenarios.

BUG=27340495
Change-Id: I775316f52ed13862981500ebe035ee626adc934f
2016-02-25 15:49:08 -08:00
Steve McKay
7a3b811122 Delete confirmation and notification improvements.
Bug: 27344527, 27347647, 27136182
Change-Id: Ia33f05b449a0bc30704e116287e18094e30382e0
2016-02-25 15:47:16 -08:00
Lifu Tang
38bce7925c Removed clock type from GnssClock
Bug: 27341583
Change-Id: I5ffd891737c3ddf83d9c6a78aa36c94858591199
2016-02-25 15:46:41 -08:00
Roozbeh Pournader
e1df1ba087 Merge "Make system locale persistent." into nyc-dev 2016-02-25 23:42:36 +00:00
Mitchell Wills
9505e0ac3f Merge "Modify WakeupMessage to only send the message if not canceled" into mm-wireless-dev 2016-02-25 23:36:29 +00:00
John Reck
4dfd6c0abc Merge "Disable HWUI_NEW_OPS" into nyc-dev 2016-02-25 23:28:38 +00:00
Phil Weaver
8ca583b29f Merge "Accessibility to toggle multiwindow mode" into nyc-dev 2016-02-25 23:16:52 +00:00
Adam Lesinski
913a2fdb06 Merge "Revert "AAPT: Allow duplicate attribute definitions if identical"" into nyc-dev 2016-02-25 23:13:24 +00:00