OSDN Git Service

android-x86/frameworks-base.git
8 years agoFixing the parent check loop to allow RemoteViewsFrameLayout
Sunny Goyal [Wed, 24 Feb 2016 22:38:59 +0000 (14:38 -0800)]
Fixing the parent check loop to allow RemoteViewsFrameLayout

Bug: 27328093
Change-Id: I0f6ae8e95f952d40589eafb912ba188d15d7624c

8 years agoMerge "PIP: Add RTL support" into nyc-dev
Jaewan Kim [Wed, 24 Feb 2016 21:39:44 +0000 (21:39 +0000)]
Merge "PIP: Add RTL support" into nyc-dev

8 years agoPIP: Add RTL support
Jaewan Kim [Wed, 24 Feb 2016 20:40:35 +0000 (12:40 -0800)]
PIP: Add RTL support

This also matches the PIP size with the UX redline.

Bug: 27108444
Change-Id: I786b9633e753cb26852095ff91674b2f44f30a3d

8 years agoMerge "NPE fix for JobScheduler" into nyc-dev
Matthew Williams [Wed, 24 Feb 2016 21:37:44 +0000 (21:37 +0000)]
Merge "NPE fix for JobScheduler" into nyc-dev

8 years agoMerge "Don't restore stack when picking copy destination." into nyc-dev
Steve McKay [Wed, 24 Feb 2016 21:32:37 +0000 (21:32 +0000)]
Merge "Don't restore stack when picking copy destination." into nyc-dev

8 years agoNPE fix for JobScheduler
Shreyas Basarge [Mon, 22 Feb 2016 22:29:39 +0000 (22:29 +0000)]
NPE fix for JobScheduler

Add a null check before setting stop
reason for job parameters.

Bug: 27166522
Change-Id: I8b829c0cf8df7da0b8118ab75779f209d0af1b22

8 years agoDon't restore stack when picking copy destination.
Steve McKay [Tue, 23 Feb 2016 22:34:50 +0000 (14:34 -0800)]
Don't restore stack when picking copy destination.

Move fancy drawer "fiddling" to FilesActivity.
Rename the various "Restore" tasks to better reflect their roles.

Change-Id: I7f5c3dee11112bf0a31e6219d09c572c5651629d

8 years agoMerge "Adding missing break statements causing crash on MSG_SET_EXTRAS." into nyc-dev
Tyler Gunn [Wed, 24 Feb 2016 21:23:16 +0000 (21:23 +0000)]
Merge "Adding missing break statements causing crash on MSG_SET_EXTRAS." into nyc-dev

8 years agoMerge "ImageReader: skip callback when image reader is being closed" into nyc-dev
Zhijun He [Wed, 24 Feb 2016 21:17:50 +0000 (21:17 +0000)]
Merge "ImageReader: skip callback when image reader is being closed" into nyc-dev

8 years agoAdding missing break statements causing crash on MSG_SET_EXTRAS.
Tyler Gunn [Wed, 24 Feb 2016 21:17:21 +0000 (13:17 -0800)]
Adding missing break statements causing crash on MSG_SET_EXTRAS.

The case block for MSG_SET_EXTRAS was missing its break statement, all
the way back to summer 2015 when that code was originally added.

When the new MSG_ON_CONNECTION_EVENT handler was added, it introduced a
new potential fall-through from MSG_SET_EXTRAS (in addition to the fact it
too was missing a break statement).

Bug: 27338441
Change-Id: I2df2bc78c4ceb32e6245888eed18c2d8834e629b

8 years agoMerge "Temporary fix for QXDM crashes." into nyc-dev
Jeff Sharkey [Wed, 24 Feb 2016 21:16:33 +0000 (21:16 +0000)]
Merge "Temporary fix for QXDM crashes." into nyc-dev

8 years agoTemporary fix for QXDM crashes.
Jeff Sharkey [Wed, 24 Feb 2016 21:15:03 +0000 (14:15 -0700)]
Temporary fix for QXDM crashes.

Bug: 26971038
Change-Id: I59efbdec11ca8d9a0b640c092402091d66b220a0

8 years agoMerge "Fix personal apps are not shown when tapping "personal" in activity chooser...
Tony Mak [Wed, 24 Feb 2016 21:11:29 +0000 (21:11 +0000)]
Merge "Fix personal apps are not shown when tapping "personal" in activity chooser" into nyc-dev

8 years agoMerge "Remove deprecated methods / classes" into nyc-dev
Todd Kennedy [Wed, 24 Feb 2016 21:02:56 +0000 (21:02 +0000)]
Merge "Remove deprecated methods / classes" into nyc-dev

8 years agoMerge "Only ellipsize at end of strings." into nyc-dev
Steve McKay [Wed, 24 Feb 2016 21:01:07 +0000 (21:01 +0000)]
Merge "Only ellipsize at end of strings." into nyc-dev

8 years agoOnly ellipsize at end of strings.
Steve McKay [Wed, 24 Feb 2016 20:57:06 +0000 (12:57 -0800)]
Only ellipsize at end of strings.

Bug: 2733948427338617
Change-Id: I5e908c862cf9d6a2ba0c7552434914f18fbab716

8 years agoMerge "Disable per-app scheduled job limits" into nyc-dev
Chris Tate [Wed, 24 Feb 2016 20:45:17 +0000 (20:45 +0000)]
Merge "Disable per-app scheduled job limits" into nyc-dev

8 years agoUse correct task bounds when moved from fullscreen to freeform stack
Wale Ogunwale [Tue, 23 Feb 2016 20:20:08 +0000 (12:20 -0800)]
Use correct task bounds when moved from fullscreen to freeform stack

When we are moving a task to the freeform stack, get the launch bounds
to use or layout in stack vs. using the existing bounds that can be
null.

Also, prevent moving a task to the freeform stack if freeform isn't supported.

Bug: 27157914
Change-Id: I0d86baa6141961b92a436107b5c5bb1316570558

8 years agoAdd support for showing wallpaper for the user selected in UI.
Vadim Tryshev [Fri, 12 Feb 2016 23:39:28 +0000 (15:39 -0800)]
Add support for showing wallpaper for the user selected in UI.

This change will go nyc-dev.

There will be another change in the UI, which will go to our
branch.

Bug: 25185253
Change-Id: I6feac9fa4190b28a8599a18367bea8c6a5a83b9a

8 years agoDisable per-app scheduled job limits
Christopher Tate [Wed, 24 Feb 2016 20:30:22 +0000 (12:30 -0800)]
Disable per-app scheduled job limits

Bug 27335118

Change-Id: I6ec92498c1e90e63a650db2a676cfd75dd91aced

8 years agoFix personal apps are not shown when tapping "personal" in activity chooser
Tony Mak [Wed, 24 Feb 2016 20:26:24 +0000 (20:26 +0000)]
Fix personal apps are not shown when tapping "personal" in activity chooser

It is introduced in ag/842541.
function isMatch return flage when Flag that are neither
MATCH_ENCRYPTION_AWARE and MATCH_ENCRYPTION_UNAWARE.

We should call updateFlagsForResolve before resolving any intent in order
to make sure the flag is set properly.

Bug: 26614039
Change-Id: I4da34a34cb515557d0f5948a4c9ec4da9bfeb3f4

8 years agoMerge "QS Animation tweaks" into nyc-dev
Jason Monk [Wed, 24 Feb 2016 20:24:11 +0000 (20:24 +0000)]
Merge "QS Animation tweaks" into nyc-dev

8 years agoresolve merge conflicts of e6c7c8e8f2 to cw-e-dev am: dfd4b8b25c
Andre Eisenbach [Wed, 24 Feb 2016 20:22:09 +0000 (20:22 +0000)]
resolve merge conflicts of e6c7c8e8f2 to cw-e-dev am: dfd4b8b25c
am: 1cba33abf3

* commit '1cba33abf35159928e065ca933dfbe67189215a7':
  DO NOT MERGE Read Bluetooth interop database entries from settings (1/2)

8 years agoMerge "Fix broken remote inputs" into nyc-dev
Adrian Roos [Wed, 24 Feb 2016 20:20:12 +0000 (20:20 +0000)]
Merge "Fix broken remote inputs" into nyc-dev

8 years agoMerge "Set input type on RemoteInputView" into nyc-dev
Adrian Roos [Wed, 24 Feb 2016 20:11:43 +0000 (20:11 +0000)]
Merge "Set input type on RemoteInputView" into nyc-dev

8 years agoFix broken remote inputs
Adrian Roos [Wed, 24 Feb 2016 20:05:51 +0000 (12:05 -0800)]
Fix broken remote inputs

Bug: 22452379
Change-Id: Ibcf0cf23e9f163b37270d42629de01083e12643c

8 years agoMerge "Adding Error Codes for IWLAN/EPDG Connection" into mm-wireless-dev
Nathan Harold [Wed, 24 Feb 2016 20:02:09 +0000 (20:02 +0000)]
Merge "Adding Error Codes for IWLAN/EPDG Connection" into mm-wireless-dev
am: 17469433e3

* commit '17469433e35e5a137ff37cb3a5fdead76574c146':
  Adding Error Codes for IWLAN/EPDG Connection

8 years agoresolve merge conflicts of e6c7c8e8f2 to cw-e-dev
Andre Eisenbach [Wed, 24 Feb 2016 19:57:07 +0000 (19:57 +0000)]
resolve merge conflicts of e6c7c8e8f2 to cw-e-dev
am: dfd4b8b25c

* commit 'dfd4b8b25c6454dec6d1bdc7cae4976b537fff2f':
  DO NOT MERGE Read Bluetooth interop database entries from settings (1/2)

8 years agoMerge "Adding Error Codes for IWLAN/EPDG Connection" into mm-wireless-dev
Nathan Harold [Wed, 24 Feb 2016 19:55:52 +0000 (19:55 +0000)]
Merge "Adding Error Codes for IWLAN/EPDG Connection" into mm-wireless-dev

8 years agoQS Animation tweaks
Jason Monk [Wed, 24 Feb 2016 19:53:57 +0000 (14:53 -0500)]
QS Animation tweaks

Try to do less work and animate less things, while keeping the same
animation overall.

Bug: 27278616
Change-Id: I26b6658fd64c74a70e9eae9e00de5f7b0927abb2

8 years agoMerge "Optimize calls to TelephonyManager to check for privileged apps" into nyc-dev
Amith Yamasani [Wed, 24 Feb 2016 19:42:10 +0000 (19:42 +0000)]
Merge "Optimize calls to TelephonyManager to check for privileged apps" into nyc-dev

8 years agoMerge "Fix NPE when null BackupObserver is passed into BackupManager#requestBackup...
Sergey Poromov [Wed, 24 Feb 2016 19:40:51 +0000 (19:40 +0000)]
Merge "Fix NPE when null BackupObserver is passed into BackupManager#requestBackup()" into nyc-dev

8 years agoresolve merge conflicts of e6c7c8e8f2 to cw-e-dev
Andre Eisenbach [Wed, 24 Feb 2016 19:36:27 +0000 (11:36 -0800)]
resolve merge conflicts of e6c7c8e8f2 to cw-e-dev

Change-Id: I94683e571a73df721206d7e5fc14cb817ec9620f

8 years agoOptimize calls to TelephonyManager to check for privileged apps
Amith Yamasani [Fri, 19 Feb 2016 20:55:27 +0000 (12:55 -0800)]
Optimize calls to TelephonyManager to check for privileged apps

Calling into TelephonyManager each of hundreds of apps to check
if the app is carrier privileged was very expensive, especially
when there aren't even any carrier access rules specified. This
change fetches all the carrier privileged apps in one call,
reducing the number of IPC calls to the radio process and checks
the package names locally.

If the carrier rules change or packages are modified, the list
will be computed and fetched again.

Other optimizations in Telephony help speed up the individual calls
to check if a package is privileged, as well.

Bug: 27271861
Change-Id: I5a77b6da4f2cdc603d2a73bd8569c5c38f06b42d

8 years agoMerge "Hide some tuner stuff that isn't ready." into nyc-dev
Jason Monk [Wed, 24 Feb 2016 19:22:49 +0000 (19:22 +0000)]
Merge "Hide some tuner stuff that isn't ready." into nyc-dev

8 years agoMerge "Un-hide string set persistence methods in Preference" into nyc-dev
Adam Powell [Wed, 24 Feb 2016 19:13:53 +0000 (19:13 +0000)]
Merge "Un-hide string set persistence methods in Preference" into nyc-dev

8 years agoMerge "Add fallback packages to be enabled iff no webview packages are valid" into...
Gustav Sennton [Wed, 24 Feb 2016 19:00:35 +0000 (19:00 +0000)]
Merge "Add fallback packages to be enabled iff no webview packages are valid" into nyc-dev

8 years agoFix build
Jorim Jaggi [Wed, 24 Feb 2016 18:44:24 +0000 (13:44 -0500)]
Fix build

Change-Id: Id21200a8239908c18379d67639c090ccfd3772f2

8 years agoSuppress output for Protobuf data if Bluetooth is disabled
Pavlin Radoslavov [Tue, 23 Feb 2016 19:54:37 +0000 (11:54 -0800)]
Suppress output for Protobuf data if Bluetooth is disabled

If Bluetooth is disabled or there is some other error,
don't print anything when extracting the Metrics-related data
in Protobuf format.

[Cherry-pick from AOSP]

Bug: 27315491
Change-Id: Ic1ec5334fbf0b524909400f080e2eac3ec34edf4

8 years agoFix NPE when null BackupObserver is passed into BackupManager#requestBackup()
Sergey Poromov [Wed, 24 Feb 2016 16:21:59 +0000 (17:21 +0100)]
Fix NPE when null BackupObserver is passed into BackupManager#requestBackup()

BackupManagerService has the null check, but it doesn't work
because passed BackupObserver object is wrapped into
this BackupObserverWrapper.
This was found during GTS testing.

Bug: 27334738
Change-Id: I16dc0230824b326d3fae1f8489f58b0c0d4e1c7c

8 years agoMerge "DO NOT MERGE Read Bluetooth interop database entries from settings (1/2)"...
Andre Eisenbach [Wed, 24 Feb 2016 18:35:37 +0000 (18:35 +0000)]
Merge "DO NOT MERGE Read Bluetooth interop database entries from settings (1/2)" into mnc-dr-dev

8 years agoMerge "Fix WebView Metrics opt out Javadoc formatting" into nyc-dev
Paul Miller [Wed, 24 Feb 2016 18:25:17 +0000 (18:25 +0000)]
Merge "Fix WebView Metrics opt out Javadoc formatting" into nyc-dev

8 years agoMerge "Move clock down 4dp in QS header" into nyc-dev
Jason Monk [Wed, 24 Feb 2016 18:23:44 +0000 (18:23 +0000)]
Merge "Move clock down 4dp in QS header" into nyc-dev

8 years agoMove clock down 4dp in QS header
Jason Monk [Wed, 24 Feb 2016 18:16:57 +0000 (13:16 -0500)]
Move clock down 4dp in QS header

Bug: 27319941
Change-Id: Ib4d8ea7814738f2e6b8ab3095a7e456d7c1f7366

8 years agoAlways consume bottom insets when navigation bar is force shown
Jorim Jaggi [Fri, 12 Feb 2016 23:04:21 +0000 (15:04 -0800)]
Always consume bottom insets when navigation bar is force shown

When an app requests SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION but we
force show the navigation bar, we need to treat for the app like
there is no virtual navigation bar on the device. Because if you
combine it with FLAG_HIDE_NAVIGATION, you'd expect the navigation
bar gets hidden but it doesn't, so there could be content that
overlaps with the navigation bar.

Bug: 27157904
Change-Id: I088e02eae2e723c35e9cb4873de6b1325458533b

8 years agoMerge "DPM: installKeyPair variant: caller can self-grant" into nyc-dev
Robin Lee [Wed, 24 Feb 2016 18:14:34 +0000 (18:14 +0000)]
Merge "DPM: installKeyPair variant: caller can self-grant" into nyc-dev

8 years agoHide some tuner stuff that isn't ready.
Jason Monk [Wed, 24 Feb 2016 18:01:53 +0000 (13:01 -0500)]
Hide some tuner stuff that isn't ready.

Change-Id: I075098068f4c9f91705e1196b40ab2d36d658bab

8 years agoMerge "Fix bootloops in TwilightService" into nyc-dev
Jason Monk [Wed, 24 Feb 2016 18:00:44 +0000 (18:00 +0000)]
Merge "Fix bootloops in TwilightService" into nyc-dev

8 years agoMerge "Fix issue #27289462: Alarm clock not working on NRC49C" into nyc-dev
Dianne Hackborn [Wed, 24 Feb 2016 18:00:38 +0000 (18:00 +0000)]
Merge "Fix issue #27289462: Alarm clock not working on NRC49C" into nyc-dev

8 years agoMerge "Work towards issue #26390161: Throttle syncs/jobs when system is low on RAM...
Dianne Hackborn [Wed, 24 Feb 2016 18:00:27 +0000 (18:00 +0000)]
Merge "Work towards issue #26390161: Throttle syncs/jobs when system is low on RAM" into nyc-dev

8 years agoFix bootloops in TwilightService
Jason Monk [Wed, 24 Feb 2016 17:56:16 +0000 (12:56 -0500)]
Fix bootloops in TwilightService

Bug: 27336023
Change-Id: I983f05bd69fd27bb3e3ae121d19fc9d006c95ffb

8 years agoMerge "Enable to set canRecord and tunerCount statically" into nyc-dev
Jae Seo [Wed, 24 Feb 2016 17:53:46 +0000 (17:53 +0000)]
Merge "Enable to set canRecord and tunerCount statically" into nyc-dev

8 years agoMerge "DO NOT MERGE: Multi-SIM - Fixing inconsistent naming in CarrierConfigManager...
Shishir Agrawal [Wed, 24 Feb 2016 17:42:33 +0000 (17:42 +0000)]
Merge "DO NOT MERGE: Multi-SIM - Fixing inconsistent naming in CarrierConfigManager." into mm-wireless-dev
am: d94fbf85d6  -s ours

* commit 'd94fbf85d6b9affc29fb312abd3548f3727c80c4':
  DO NOT MERGE: Multi-SIM - Fixing inconsistent naming in CarrierConfigManager.

8 years agoMerge "Add subscription specific TelephonyManager calls." into nyc-dev
Shishir Agrawal [Wed, 24 Feb 2016 17:35:44 +0000 (17:35 +0000)]
Merge "Add subscription specific TelephonyManager calls." into nyc-dev

8 years agoMerge "DO NOT MERGE: Multi-SIM - Fixing inconsistent naming in CarrierConfigManager...
Shishir Agrawal [Wed, 24 Feb 2016 17:33:11 +0000 (17:33 +0000)]
Merge "DO NOT MERGE: Multi-SIM - Fixing inconsistent naming in CarrierConfigManager." into mm-wireless-dev

8 years agoMerge "Add SystemApi for retrieving device flash lock state" into nyc-dev
Andres Morales [Wed, 24 Feb 2016 17:30:25 +0000 (17:30 +0000)]
Merge "Add SystemApi for retrieving device flash lock state" into nyc-dev

8 years agoDPM: installKeyPair variant: caller can self-grant
Robin Lee [Wed, 24 Feb 2016 12:08:32 +0000 (12:08 +0000)]
DPM: installKeyPair variant: caller can self-grant

If 'requestAccess' is true, the caller (either profile/device owner or a
designated certificate installer) will be granted usage of the keypair
on successful installation.

This has no security implications for a profile/device owner which would
already be able to self-grant. Delegated certificate installers did not
have this ability before.

This is only allowed at install-time- not afterward.

Bug: 24746231
Change-Id: Ia0ec290bb0bcde1d8137c188e2667cb7718dbfd7

8 years agoMerge "Audio record notification: report client/device configuration" into nyc-dev
Jean-Michel Trivi [Wed, 24 Feb 2016 17:08:32 +0000 (17:08 +0000)]
Merge "Audio record notification: report client/device configuration" into nyc-dev

8 years agoMerge "Don't try caching null ringtones." into nyc-dev
Jeff Sharkey [Wed, 24 Feb 2016 16:55:36 +0000 (16:55 +0000)]
Merge "Don't try caching null ringtones." into nyc-dev

8 years agoDon't try caching null ringtones.
Jeff Sharkey [Wed, 24 Feb 2016 16:54:14 +0000 (09:54 -0700)]
Don't try caching null ringtones.

Bug: 27330629
Change-Id: Id09d10d6f4a3a20782480647c68a5c94ef69e7b3

8 years agoMerge "Fix error formatting for copy/move/delete failures." into nyc-dev
Steve McKay [Wed, 24 Feb 2016 16:24:28 +0000 (16:24 +0000)]
Merge "Fix error formatting for copy/move/delete failures." into nyc-dev

8 years agoMerge "Add constant to link to app's general settings" into nyc-dev
Jason Monk [Wed, 24 Feb 2016 16:23:01 +0000 (16:23 +0000)]
Merge "Add constant to link to app's general settings" into nyc-dev

8 years agoOnly prolong animations for freeform
Jorim Jaggi [Wed, 24 Feb 2016 02:21:40 +0000 (21:21 -0500)]
Only prolong animations for freeform

So we don't unnecessarily slow down the regular transition

Change-Id: I84e4bf0f9a7caf59dd20478166458f2642e98c80

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 24 Feb 2016 15:37:35 +0000 (15:37 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 24 Feb 2016 15:32:23 +0000 (07:32 -0800)]
Import translations. DO NOT MERGE

Change-Id: I5cf7b687227eab1006fd0fe7b8bd09bb8e1740e2
Auto-generated-cl: translation import

8 years agoAdd constant to link to app's general settings
Jason Monk [Tue, 23 Feb 2016 22:57:28 +0000 (17:57 -0500)]
Add constant to link to app's general settings

Bug: 27276982
Change-Id: Ia438faeb12b24251bb74919f680713a7bc03e0b5

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 24 Feb 2016 15:23:12 +0000 (15:23 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 24 Feb 2016 15:22:14 +0000 (07:22 -0800)]
Import translations. DO NOT MERGE

Change-Id: I33919dcf9c769c9aeb603e6c9d022fc1aeba10ca
Auto-generated-cl: translation import

8 years agoMerge "Support changes in Settings for battery graph" into nyc-dev
Jason Monk [Wed, 24 Feb 2016 14:21:18 +0000 (14:21 +0000)]
Merge "Support changes in Settings for battery graph" into nyc-dev

8 years agoMerge "Fix QS battery details not updating" into nyc-dev
Jason Monk [Wed, 24 Feb 2016 14:17:06 +0000 (14:17 +0000)]
Merge "Fix QS battery details not updating" into nyc-dev

8 years agoMerge "Throw UnsupportedOperationException when creating ephemeral user on a system...
Lenka Trochtova [Wed, 24 Feb 2016 13:50:16 +0000 (13:50 +0000)]
Merge "Throw UnsupportedOperationException when creating ephemeral user on a system without split system user." into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 24 Feb 2016 13:25:31 +0000 (08:25 -0500)]
Import translations. DO NOT MERGE

Change-Id: I71f7d4c86befd1e8aecfe397792b63c1cf74aa29
Auto-generated-cl: translation import

8 years agoMerge "Call webview updating logic with the system UID when setup done." into nyc-dev
Gustav Sennton [Wed, 24 Feb 2016 12:56:08 +0000 (12:56 +0000)]
Merge "Call webview updating logic with the system UID when setup done." into nyc-dev

8 years agoMerge "Prevent ephemeral user from being re-entered after stop." into nyc-dev
Lenka Trochtova [Wed, 24 Feb 2016 12:34:57 +0000 (12:34 +0000)]
Merge "Prevent ephemeral user from being re-entered after stop." into nyc-dev

8 years agoMerge "Removing lock contention in SecurityLogMonitor" into nyc-dev
Michal Karpinski [Wed, 24 Feb 2016 12:12:25 +0000 (12:12 +0000)]
Merge "Removing lock contention in SecurityLogMonitor" into nyc-dev

8 years agoRemoving lock contention in SecurityLogMonitor
Michal Karpinski [Fri, 19 Feb 2016 12:47:46 +0000 (12:47 +0000)]
Removing lock contention in SecurityLogMonitor

After being interrupted the monitor thread tried to acquire
a lock that is held by interrupting thread, resulting in timeouting
on join().

Bug: 27061904
Change-Id: Ifbd578d5f5a266083b207fedd8ebb6d26ab08c31

8 years agoMerge "Fix FontFamily nAddFontWeightStyle in nyc" into nyc-dev
Diego Perez [Wed, 24 Feb 2016 11:50:22 +0000 (11:50 +0000)]
Merge "Fix FontFamily nAddFontWeightStyle in nyc" into nyc-dev

8 years agoMerge "Should call clearCallingIdentity before accessing getProfileParent" into nyc-dev
Tony Mak [Wed, 24 Feb 2016 11:36:39 +0000 (11:36 +0000)]
Merge "Should call clearCallingIdentity before accessing getProfileParent" into nyc-dev

8 years agoShould call clearCallingIdentity before accessing getProfileParent
Tony Mak [Wed, 24 Feb 2016 11:08:38 +0000 (11:08 +0000)]
Should call clearCallingIdentity before accessing getProfileParent

Bug: 27308833
Change-Id: Ib33fcc0f30dada5f307f45c7c85dce5fb5e4a064

8 years agoCall webview updating logic with the system UID when setup done.
Gustav Sennton [Wed, 24 Feb 2016 10:58:09 +0000 (10:58 +0000)]
Call webview updating logic with the system UID when setup done.

After performing the webview setup we check whether we changed webview
implementation during the setup and, if so, we rerun the updating-logic.
This logic needs special permissions such as changing settings
(Settings.Global) which the shared relro process doesn't have,
therefore, when the shared relro process notifies us that the setup is
done we need to switch to using the system uid when running the
update-logic.

Bug: 27262336
Change-Id: I68646884e31ba55c860ff98c3f30a520beb0ef95

8 years agoPrevent ephemeral user from being re-entered after stop.
Lenka Trochtova [Fri, 12 Feb 2016 09:42:12 +0000 (10:42 +0100)]
Prevent ephemeral user from being re-entered after stop.

Once the ephemeral user stops, the user's deletion is scheduled.
It takes a while before the user actually disappears and it is not
desirable for the user to be re-entered in the meantime.
Mark the user as disabled on stop and check this flag
in the activity manager to prevent the user from being switched
to again. Also hide the user from user-switching UI.

BUG: 26795729
BUG: 26780152

Change-Id: I83a61674958954b5a210114b88ffa5ae55922c1f

8 years agoMerge "Clarify javadoc for SecurityLog" into nyc-dev
Rubin Xu [Wed, 24 Feb 2016 10:31:35 +0000 (10:31 +0000)]
Merge "Clarify javadoc for SecurityLog" into nyc-dev

8 years agoFix error formatting for copy/move/delete failures.
Tomasz Mikolajewski [Wed, 24 Feb 2016 10:23:54 +0000 (19:23 +0900)]
Fix error formatting for copy/move/delete failures.

This caused major failures in the job operations, including
failing tests.

Change-Id: I697f1481df39a156f7ebfde08b31af6b23380f17

8 years agoMerge "Wire removeDocument() to Jobs." into nyc-dev
Tomasz Mikolajewski [Wed, 24 Feb 2016 08:42:15 +0000 (08:42 +0000)]
Merge "Wire removeDocument() to Jobs." into nyc-dev

8 years agoresolve merge conflicts of 51e4acb29d to nyc-dev
Lorenzo Colitti [Wed, 24 Feb 2016 06:06:39 +0000 (15:06 +0900)]
resolve merge conflicts of 51e4acb29d to nyc-dev

Also add the appropriate changes to api/test-current.txt, which
is not present on mm-wireless-dev from which this change came.

Change-Id: Ic4df6d0f89add73b7e5252ef662de07a4e8fce31

8 years agoMerge "Add Connectivity Metrics Logger service" into mm-wireless-dev
Pierre Imai [Wed, 24 Feb 2016 04:49:24 +0000 (04:49 +0000)]
Merge "Add Connectivity Metrics Logger service" into mm-wireless-dev

8 years agoMerge "Adapted the lockscreen style" into nyc-dev
Selim Cinek [Wed, 24 Feb 2016 03:59:44 +0000 (03:59 +0000)]
Merge "Adapted the lockscreen style" into nyc-dev

8 years agoWire removeDocument() to Jobs.
Tomasz Mikolajewski [Tue, 23 Feb 2016 06:12:54 +0000 (15:12 +0900)]
Wire removeDocument() to Jobs.

Bug: 27303034
Change-Id: I6388e2b70b523670210cd8285800b4c187c8f8b8

8 years agoMerge "Update accessibility to be encryption-aware." into nyc-dev
Jeff Sharkey [Wed, 24 Feb 2016 03:17:10 +0000 (03:17 +0000)]
Merge "Update accessibility to be encryption-aware." into nyc-dev

8 years agoUpdate accessibility to be encryption-aware.
Jeff Sharkey [Wed, 24 Feb 2016 00:52:16 +0000 (17:52 -0700)]
Update accessibility to be encryption-aware.

Look for both EA and non-EA accessibility services, but when the user
is locked only bind to EA services.  Once the user is unlocked, we
take another pass and bind to any non-EA services.

We only consider disabling accessibility once the user is unlocked,
since there could be non-EA services waiting in the wings.

Bug: 25860579
Change-Id: I97bd019661457c3577d629ba12290d02f026011a

8 years agoMerge "TIF: Add COLUMN_SEASON_TITLE and COLUMN_(SEASON|EPISODE)_DISPLAY_NUMBER" into...
Dongwon Kang [Wed, 24 Feb 2016 02:09:01 +0000 (02:09 +0000)]
Merge "TIF: Add COLUMN_SEASON_TITLE and COLUMN_(SEASON|EPISODE)_DISPLAY_NUMBER" into nyc-dev

8 years agoTIF: Add COLUMN_SEASON_TITLE and COLUMN_(SEASON|EPISODE)_DISPLAY_NUMBER
Dongwon Kang [Wed, 17 Feb 2016 18:40:44 +0000 (10:40 -0800)]
TIF: Add COLUMN_SEASON_TITLE and COLUMN_(SEASON|EPISODE)_DISPLAY_NUMBER

Bug: 21778419
Change-Id: I1684e2f1c274306706736061e3f41c9840e563c4

8 years agoAdapted the lockscreen style
Selim Cinek [Tue, 23 Feb 2016 20:28:31 +0000 (12:28 -0800)]
Adapted the lockscreen style

It's that time of the release again.

Bug: 24866646
Change-Id: Iebfae2f2cc6b5a21b7b98df359de2247b2bc8632

8 years agoImageReader: skip callback when image reader is being closed
Zhijun He [Wed, 24 Feb 2016 01:47:44 +0000 (17:47 -0800)]
ImageReader: skip callback when image reader is being closed

The application could acquire images in onImageAvailable callback when
the ImageReader is being closed. We need some protection here to avoid
application crash.

Change-Id: Ie5be8450048c0cfd78e5a7e27befe4de425d79f3

8 years agoFix issue #27289462: Alarm clock not working on NRC49C
Dianne Hackborn [Wed, 24 Feb 2016 01:54:30 +0000 (17:54 -0800)]
Fix issue #27289462: Alarm clock not working on NRC49C

Don't really want the system to crash.

Change-Id: I4b8ebca00a4e6a7d67717baf7267165de9e8afb3

8 years agoMerge "ImageReader: override the flexible YUV compatible formats" into nyc-dev
Zhijun He [Wed, 24 Feb 2016 01:45:29 +0000 (01:45 +0000)]
Merge "ImageReader: override the flexible YUV compatible formats" into nyc-dev

8 years agoMerge "Make FingerprintManager#hasEnrolledFingerprints per-user" into nyc-dev
Clara Bayarri [Wed, 24 Feb 2016 01:30:58 +0000 (01:30 +0000)]
Merge "Make FingerprintManager#hasEnrolledFingerprints per-user" into nyc-dev

8 years agoAdd subscription specific TelephonyManager calls.
Shishir Agrawal [Wed, 17 Feb 2016 19:36:15 +0000 (11:36 -0800)]
Add subscription specific TelephonyManager calls.

SubId specific version of the following functions are being added.
  - hasCarrierPrivileges
  - iccCloseLogicalChannel
  - iccExchangeSimIO
  - iccOpenLogicalChannel
  - iccTransmitApduBasicChannel
  - iccTransmitApduLogicalChannel
  - sendEnvelopeWithStatus
  - setOperatorBrandOverride
  - setPreferredNetworkTypeToGlobal

Bug: 26772894

Change-Id: I8c9e6d9bfe73f530e6f91c86211103fdfb1520bf

8 years agoWork towards issue #26390161: Throttle syncs/jobs when system is low on RAM
Dianne Hackborn [Wed, 24 Feb 2016 01:04:58 +0000 (17:04 -0800)]
Work towards issue #26390161: Throttle syncs/jobs when system is low on RAM

First, we need to make the job scheduler prioritize jobs for
foreground apps over background apps (so we will degrade well
when we are limiting the number of concurrent jobs).

So now the job scheduler keeps track of the process state of
each uid, and uses that to bump up the priority of jobs
associated with foreground uids.  Added constants for priorities
since we have different places specifying priorities.

Also cleaned up a bit of the reporting of "wrapped" jobs from
the sync manager -- there is a new tag argument that can be supplied,
to have the name and tag used in various places be based on that
instead of the useless internal class name.

Change-Id: I8781750ddfac1472a98e1873fc38c014425db3d6

8 years agoEnable to set canRecord and tunerCount statically
Jae Seo [Sat, 20 Feb 2016 02:39:28 +0000 (18:39 -0800)]
Enable to set canRecord and tunerCount statically

Bug: 27276122
Change-Id: I61d07cfdbe13e4484ccaf5cdcf0796f08c78e2a8