228963 Commits

Author SHA1 Message Date
Adrian Roos
8565906956 Merge "Show back button while RemoteInput is active on keyguard" 2016-01-07 16:10:53 +00:00
Glenn Kasten
d713c9d65a Merge "Use FCC_2 and FCC_8 to highlight channel count assumptions" 2016-01-07 15:54:45 +00:00
Alan Viverette
2ba4dfc7de Merge "Avoid drawable invalidation during draw()" 2016-01-07 15:54:36 +00:00
Alan Viverette
d01fafb7ff Merge "Avoid NPE when ActionMenuPresenter is intialized with null MenuBuilder" 2016-01-07 15:48:40 +00:00
Andrei Stingaceanu
2f30011120 Merge "Keyboard shortcuts: minor naming refactor" 2016-01-07 15:30:15 +00:00
Winson
55e20d502f Removing workaround causing full view inflation.
Bug: 26420766

Change-Id: I0bb0eeada5002460de47fe4b3e23bc8a8d6e751d
2016-01-07 13:50:24 +00:00
Andrei Stingaceanu
c22ab7911a Keyboard shortcuts: minor naming refactor
Replace all occurrences of showKeyboardShortcuts* with
toggleKeyboardShortcuts* in order to be inline with
the current/desired behavior.

Change-Id: Ia076952ec40963b2727fd1f855b64859b94b1643
2016-01-07 12:42:46 +00:00
Calin Juravle
c74d338c13 resolve merge conflicts of 435ad029a3 to master.
Change-Id: I87202d69a772c593b691de8ce2faeaac9b7d1f58
2016-01-07 12:15:36 +00:00
Calin Juravle
435ad029a3 Merge "Create jit profile file during the app startup flow."
am: 5fac913d98

* commit '5fac913d98eb44269b53cd9cc6a011a4eef3c98d':
  Create jit profile file during the app startup flow.
2016-01-07 11:52:50 +00:00
Calin Juravle
5fac913d98 Merge "Create jit profile file during the app startup flow." 2016-01-07 11:44:55 +00:00
Calin Juravle
690523969d Create jit profile file during the app startup flow.
ActivityThread has already all the needed information
(userId,sharedAppId) to create the profile file and set the correct
permissions on it. This avoids passing uids to the runtime which now
expects the profile file to be already created.

As part of this change:
- move the registration with the runtim in handleBindApplication
- register only if needed: we could properly setup a profile file and we
have at least one code path. Note that registration with the runtime is
done solely for profiling reasons.

Bug: 26080105
Change-Id: I72657e9ea0a0449a09734456b5f8b5da844cee62
2016-01-07 11:29:38 +00:00
Clara Bayarri
888da80d33 Merge "Create parent APIs in DevicePolicyManager" 2016-01-07 11:12:09 +00:00
Clara Bayarri
3e826effed Create parent APIs in DevicePolicyManager
This change creates the infrastructure for a parent
DPM and implements the actual parent APIs for
- set/getPasswordQuality
- isActivePasswordSufficient

This is part of the Separate Work Challenge

Change-Id: I0477051b3162cbb26aac79467da08932f22fd1b7
2016-01-07 10:55:24 +00:00
Andrei Stingaceanu
9d9294cc68 Keyboard shortcuts: initial view.
Initial view and functionality for showing/hiding it.

Change-Id: I0e365ecc3ba19110b87b020ff53a6318a7304ce8
2016-01-07 10:53:57 +00:00
Umair Khan
9ccebbfc37 [1/3] Remove unnecessary throws statement in ServiceManager
The exception is already caught by the try-catch block.

Change-Id: I0c10fe51d12a10cbc02a25c719d03a4ba6497767
Signed-off-by: Umair Khan <omerjerk@gmail.com>
2016-01-07 15:08:27 +05:30
Tomasz Mikolajewski
76774af110 Merge "Revert "Revert "Update APIs for the flag changes in SAF.""" 2016-01-07 07:27:13 +00:00
Tomasz Mikolajewski
4cc43f010a Revert "Revert "Update APIs for the flag changes in SAF.""
This reverts commit 475c19532d1f06185b63a0708cf0164a0d6f3feb.

Change-Id: Idb9a91eaab36d28e6ed3f3b4c55f1e7d44f1d3ad
2016-01-07 07:26:51 +00:00
Tomasz Mikolajewski
4b6ac4a359 Merge "Revert "Revert "Remove the flag and make openTypedDocument throw FileNotFoundException.""" 2016-01-07 07:19:56 +00:00
Tomasz Mikolajewski
75395651c2 Revert "Revert "Remove the flag and make openTypedDocument throw FileNotFoundException.""
This reverts commit 2b931719783cda11c3bbac9928c603d0a0a06d43.

Change-Id: Ic61b874012daeada02b73643f5c58f9ec840b3e5
2016-01-07 07:19:22 +00:00
Sungsoo Lim
0f5c1eef2b Merge "Use mCurrentUserId instead of ActivityManager.getCurrentUser()" 2016-01-07 07:11:51 +00:00
Keisuke Kuroyanagi
6f80c44651 Merge "Fix: TextView cannot be scrolled." 2016-01-07 06:59:03 +00:00
Sungsoo Lim
d5164a5a89 Use mCurrentUserId instead of ActivityManager.getCurrentUser()
Change-Id: I5b6887d320a03eb548ae04f15841d7f6f5bd9da4
2016-01-07 14:47:30 +09:00
Sungsoo Lim
1a0e355c19 Merge "MediaSession: Use Handler for sending a pending intent" 2016-01-07 05:33:49 +00:00
riddle_hsu
02ed01297d MediaSession: Use Handler for sending a pending intent
When PendingIntent.send() is called with a null handler,
onSendFinished() will be called inside of the send() method.
Therefore in this case, if a thread holds a lock before
calling send(), and onSendFinished() also requires the lock,
a deadlock could happen.

Bug: 25653801
Change-Id: I71d9f708fc3d52b7b5713426ad6140cbf6e336ef
2016-01-07 14:26:15 +09:00
Andreas Gampe
9c180dd387 Media: Fix MtpDevice call
The signature was changed last minute. Update the media side.

Bug: 26284424
Change-Id: Ia8fb665221f60d3eadd2c32831a12aa21c6c5e9c
2016-01-06 21:15:09 -08:00
Tomasz Mikolajewski
97dd67cc34 Merge "Revert "Remove the flag and make openTypedDocument throw FileNotFoundException."" 2016-01-07 04:47:42 +00:00
Tomasz Mikolajewski
2b93171978 Revert "Remove the flag and make openTypedDocument throw FileNotFoundException."
This reverts commit 95149ab6a5442a05f05f448854b6ab386c87f717.

Change-Id: I218aa8059ef674400dac8531a86cd326748c26d5
2016-01-07 04:47:03 +00:00
Tomasz Mikolajewski
475c19532d Revert "Update APIs for the flag changes in SAF."
This reverts commit e7decfb815342dbea00b305a52b1178e2d646df1.

Change-Id: I023989381ffa7296db7a21ec01327a32b3f16c4f
2016-01-07 04:44:19 +00:00
Tomasz Mikolajewski
e7decfb815 Update APIs for the flag changes in SAF.
Bug: 26222645
Change-Id: I7189b7867ad31dbd7e3f768387e2f570a41527b1
2016-01-07 15:36:12 +11:00
Daichi Hirono
c1a7328dc4 Merge "Add missing style change to android_mtp_MtpDevice.cpp." 2016-01-07 04:11:00 +00:00
Daichi Hirono
3ad1a8ee94 Add missing style change to android_mtp_MtpDevice.cpp.
BUG=26284424

Change-Id: I0e288712a8fccfb3dd21fa927388bacf5ce155d0
2016-01-07 13:06:11 +09:00
Tomasz Mikolajewski
5a22e1a19d Merge "Remove the flag and make openTypedDocument throw FileNotFoundException." 2016-01-07 03:52:01 +00:00
Tomasz Mikolajewski
95149ab6a5 Remove the flag and make openTypedDocument throw FileNotFoundException.
To be compatible with ContentProvider, DocumentsProvider should not
require checking for a flag before calling openTypedAssetFile.

This CL removes the flag, and makes the default implementation throw
FileNotFoundException instead.

Bug: 26222645
Change-Id: I3492f05804e39583ebb8584109c7017b3082846e
2016-01-07 03:49:14 +00:00
Daichi Hirono
dc079229e7 Merge "Add getPartialObject to Java MtpDevice class." 2016-01-07 03:49:02 +00:00
Daichi Hirono
52da3ad906 Add getPartialObject to Java MtpDevice class.
BUG=26284424

Change-Id: Id05dc6297a1682999eee4e72972fb883fa49a5d1
2016-01-07 12:41:17 +09:00
Svetoslav Ganov
ed95093333 Merge "Grant location to SetupWizard by default - framework" 2016-01-07 03:37:21 +00:00
Dianne Hackborn
03a25bd230 Fix crashes in background check.
Stupid NPE.

Change-Id: I4df47f996dbf51e568a9e5dab4443b7d7c02774c
2016-01-06 17:52:05 -08:00
Filip Gruszczynski
34dab0b3d9 Use activity dimensions instead of display to calculate dialog size.
This adjusts the code for measuring and laying out dialog windows, which
used display dimensions as a basis for calculating the dialog
dimensions. Because of this dialogs would be too large in multi window
mode, where the parent bounds are far smaller than full display. This
switches to using dimensions for configuration received from activity
manager.

Mind, this is still not working as needed, because the resources return
minimal size of the dialog as if it was displayed on a full display,
rather than within activity bounds.

The CL also introduces better logging tags in ViewRootImpl and
DecorView. These normal approach works reasonably well when there is a
single activity on the display. However, when multiple windows are
displayed, it becomes impossible to determine which view root/decor view
logged what. This adds a suffix, that allows to identify the owner.

Bug: 26251921

Change-Id: I515a1ff9a81ee5ad086773196db71915e88a25eb
2016-01-06 17:35:54 -08:00
Yohei Yukawa
44b3c451bf Merge "Fix IMM#showInputMethodAndSubtypeEnabler()." 2016-01-07 01:29:05 +00:00
Daichi Hirono
fff12cd70a Merge "Implement FUSE operations in AppFuse JNI." 2016-01-07 01:21:07 +00:00
Daichi Hirono
1830c2aa55 Merge "Leave from the current root when the root is removed." 2016-01-07 01:18:34 +00:00
Jeff Sharkey
873b382cfa Merge "Add some TestApis to fix build." 2016-01-07 00:41:45 +00:00
Filip Gruszczynski
e5b386d2bb Merge "Don't depend on mContentParent to determine if content was set." 2016-01-07 00:40:55 +00:00
Adam Lesinski
29474f9ed2 Merge "AAPT2: Fix product support" 2016-01-07 00:40:36 +00:00
Jeff Sharkey
a73b8fd1f4 Add some TestApis to fix build.
Change-Id: Icf0d8d63f3a41d99e46ebe96003863bae637bd9d
2016-01-06 17:37:32 -07:00
Wale Ogunwale
557467b82d Merge "Improved output for 'dumpsys window displays'" 2016-01-07 00:32:40 +00:00
Adam Lesinski
7751afc796 AAPT2: Fix product support
Previously the default product wasn't tried if 'default' wasn't specified on the command line.
Also adds support for multiple products.

Change-Id: I1e4872b34bb8d609b6444841a4e7e4dbb3bbb76b
2016-01-06 16:18:40 -08:00
Siyamed Sinir
f744b0793b Merge "New regular expression to autolink URLs" 2016-01-07 00:14:26 +00:00
Adam Lesinski
198ce1a5e6 Merge "AAPT2: Port AAPT pseudolocalization to AAPT2" 2016-01-06 23:55:06 +00:00
Adam Lesinski
f68f066cdf Merge "AAPT2: Fix references to private parent" 2016-01-06 23:50:50 +00:00