OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Fix bug #35673706 - null verifier component..."
TreeHugger Robot [Sat, 4 Mar 2017 03:25:40 +0000 (03:25 +0000)]
Merge "Fix bug #35673706 - null verifier component..."

7 years agoMerge "Make seccomp honor setenforce" am: c337e32bb0 am: 071dcc02b4
Paul Lawrence [Sat, 4 Mar 2017 02:29:36 +0000 (02:29 +0000)]
Merge "Make seccomp honor setenforce" am: c337e32bb0 am: 071dcc02b4
am: fb350eb0c7

Change-Id: Id8d8c478d9e1d929d216286bbf0fbdc423018c17

7 years agoMerge "Bluetooth: Use content observer for airplane mode"
TreeHugger Robot [Sat, 4 Mar 2017 02:27:05 +0000 (02:27 +0000)]
Merge "Bluetooth: Use content observer for airplane mode"

7 years agoMerge "Make seccomp honor setenforce" am: c337e32bb0
Paul Lawrence [Sat, 4 Mar 2017 02:23:14 +0000 (02:23 +0000)]
Merge "Make seccomp honor setenforce" am: c337e32bb0
am: 071dcc02b4

Change-Id: I95d2303229f38c3d0719d830deefd58cc3280278

7 years agoMerge "Make seccomp honor setenforce"
Paul Lawrence [Sat, 4 Mar 2017 02:17:43 +0000 (02:17 +0000)]
Merge "Make seccomp honor setenforce"
am: c337e32bb0

Change-Id: I9d1bfd35f7da304188da2d6aff6b937108ae4680

7 years agoMerge "Make seccomp honor setenforce"
Treehugger Robot [Sat, 4 Mar 2017 02:08:53 +0000 (02:08 +0000)]
Merge "Make seccomp honor setenforce"

7 years agoFix bug #35673706 - null verifier component...
Christopher Tate [Sat, 4 Mar 2017 01:18:20 +0000 (17:18 -0800)]
Fix bug #35673706 - null verifier component...

...causing an NPE when we attempted to call getPackageName() on it.

This patch avoids the NPE, but does not address the underlying
question of why the component we're attempting to target is coming
back null.  This new approach guarantees the security of the broadcast,
though, so we needn't worry further about that.

Test: install app & note verifier action

Change-Id: I0d316e0815210ba1fbb14da6b76d5c23a85c96a4

7 years agoMerge "fallout of cleaning-up libutils includes"
TreeHugger Robot [Sat, 4 Mar 2017 00:52:43 +0000 (00:52 +0000)]
Merge "fallout of cleaning-up libutils includes"

7 years agoMerge "AAPT2: Fix Plural::Equals() method"
TreeHugger Robot [Sat, 4 Mar 2017 00:50:49 +0000 (00:50 +0000)]
Merge "AAPT2: Fix Plural::Equals() method"

7 years agoMerge "expose isSealed() from the installer session"
TreeHugger Robot [Sat, 4 Mar 2017 00:47:32 +0000 (00:47 +0000)]
Merge "expose isSealed() from the installer session"

7 years agoMerge "Pass on the Apps Query Response to clients."
Ashutosh Joshi [Sat, 4 Mar 2017 00:37:33 +0000 (00:37 +0000)]
Merge "Pass on the Apps Query Response to clients."

7 years agoMerge "Add forAutoFill suffix on ViewStructure methods that add children."
TreeHugger Robot [Sat, 4 Mar 2017 00:37:11 +0000 (00:37 +0000)]
Merge "Add forAutoFill suffix on ViewStructure methods that add children."

7 years agoMerge "Set hdf var 'dac' to true in droiddoc options. Allows for DAC template customi...
Billy Lamberta [Sat, 4 Mar 2017 00:19:11 +0000 (00:19 +0000)]
Merge "Set hdf var 'dac' to true in droiddoc options. Allows for DAC template customizations in Doclava."

7 years agoMerge "Restrict access from apps to bluetooth_address setting"
TreeHugger Robot [Sat, 4 Mar 2017 00:03:42 +0000 (00:03 +0000)]
Merge "Restrict access from apps to bluetooth_address setting"

7 years agoMerge "Mark ACTION_VOICE_ASSIST as SystemApi"
TreeHugger Robot [Fri, 3 Mar 2017 23:58:16 +0000 (23:58 +0000)]
Merge "Mark ACTION_VOICE_ASSIST as SystemApi"

7 years agoMerge "Minor documentation fixes."
TreeHugger Robot [Fri, 3 Mar 2017 23:44:02 +0000 (23:44 +0000)]
Merge "Minor documentation fixes."

7 years agoMerge "Fix crash in secondary user"
TreeHugger Robot [Fri, 3 Mar 2017 23:10:28 +0000 (23:10 +0000)]
Merge "Fix crash in secondary user"

7 years agoexpose isSealed() from the installer session
Todd Kennedy [Fri, 3 Mar 2017 21:05:12 +0000 (13:05 -0800)]
expose isSealed() from the installer session

Change-Id: I5232a012fbee8931b0e3f584d6bb2e273a789dee
Fixes: 35948628
Test: Manual

7 years agoMerge changes from topic 'sms-file-refactor'
Nathan Harold [Fri, 3 Mar 2017 22:51:38 +0000 (22:51 +0000)]
Merge changes from topic 'sms-file-refactor'

* changes:
  Permit privileged system apps to send SMS without persisting.
  Move newFromRil() function to a utility class
  Remove dependency on telephony-common from services/core
  Move OTASP_* Consts from ServiceStateTracker to TelephonyManager
  Port Utility Functions from DefaultPhoneNotifier
  Remove dependency on IccConstants from SmsManager
  Merge branch 'stage-telephony-refactor' into master

7 years agoMerge "Modify SurfaceView to use SurfaceFlinger child surfaces."
TreeHugger Robot [Fri, 3 Mar 2017 22:45:20 +0000 (22:45 +0000)]
Merge "Modify SurfaceView to use SurfaceFlinger child surfaces."

7 years agoAdd forAutoFill suffix on ViewStructure methods that add children.
Felipe Leme [Fri, 3 Mar 2017 22:29:17 +0000 (14:29 -0800)]
Add forAutoFill suffix on ViewStructure methods that add children.

Change-Id: I36f7bd26b7d45fd809d7398cc86de3d2671f2b28
Fixes: 35764877
Test: m update-api

7 years agoMerge "Adding support for passing arbitrary extras when requesting to pin a widget...
TreeHugger Robot [Fri, 3 Mar 2017 22:26:46 +0000 (22:26 +0000)]
Merge "Adding support for passing arbitrary extras when requesting to pin a widget. Also defining an extra constant for widget preview which can be used by developers to provide a snapshot of the widget with the pin request"

7 years agoMerge "Fix qs tiles disappearing when leaving edit"
TreeHugger Robot [Fri, 3 Mar 2017 22:26:16 +0000 (22:26 +0000)]
Merge "Fix qs tiles disappearing when leaving edit"

7 years agoSet hdf var 'dac' to true in droiddoc options.
Billy Lamberta [Fri, 3 Mar 2017 21:09:15 +0000 (13:09 -0800)]
Set hdf var 'dac' to true in droiddoc options.
Allows for DAC template customizations in Doclava.

Test: make offline-sdk-docs
Change-Id: I11aa79eeba2f7440fa68ee92276eecec6db7f836

7 years agoRestrict access from apps to bluetooth_address setting
Alex Klyubin [Fri, 3 Mar 2017 22:08:36 +0000 (14:08 -0800)]
Restrict access from apps to bluetooth_address setting

BluetoothManagerService for some reason leaks the Android's Bluetooth
MAC address via Settings.Secure which is normally readable by all
apps. This lets apps bypass the restriction on access to Bluetooth MAC
address from apps.

This commit fixes the issue by restricting access to bluetooth_address
secure setting (Settings.Secure). Only packages which hold the
android.permission.LOCAL_MAC_ADDRESS permission retain access.

This commit accordingly grants LOCAL_MAC_ADDRESS permission to the
system Shell app because a number of scripts (including Android CTS)
use "adb shell settings get secure bluetooth_address" as a convenient
way to query the device's Bluetooth MAC address over ADB. This is
acceptable because the user of the device can see the Bluetooth MAC
address and thus it's fine for shell to be able to see the address as
well.

Test: See CTS test added in the cts project in this topic.
Test: "adb shell settings get secure bluetooth_address" returns the
      Bluetooth MAC address of the Android.
Test: "adb shell settings list secure | grep bluetooth_address"
      returns the Bluetooth MAC address of the Android.
Test: Bluetooth works (toggling off/on, pairing, file transfer)
Bug: 33701414

Change-Id: I17b110b96eb3794b25c1661e93d29a7a003e3c9a

7 years agoMark ACTION_VOICE_ASSIST as SystemApi
Amith Yamasani [Fri, 3 Mar 2017 18:15:57 +0000 (10:15 -0800)]
Mark ACTION_VOICE_ASSIST as SystemApi

.. since it is implemented by a system app. This allows the
CTS test that verifies android.* namespace intents to pass.

Change-Id: I083e1d12a79fa67e15158ca7390353303cd0e06e
Fixes: 35274957
Test: cts-tradefed run cts-dev -m CtsSignatureTestCases

7 years agoBluetooth: Use content observer for airplane mode
Ajay Panicker [Wed, 22 Feb 2017 20:23:15 +0000 (12:23 -0800)]
Bluetooth: Use content observer for airplane mode

We are making this switch as the airplane mode switch intent is going away.

Fix: 35256299
Test: Toggle Airplane Mode
Change-Id: I3b1e5bbdf689b0db98cfbb0ab377198d34f0ba05

7 years agoMerge "Move framework-specific portions of pathmap.mk into frameworks/base"
TreeHugger Robot [Fri, 3 Mar 2017 21:59:24 +0000 (21:59 +0000)]
Merge "Move framework-specific portions of pathmap.mk into frameworks/base"

7 years agoMerge "Fix initial StatusBar wiping out disabled state"
TreeHugger Robot [Fri, 3 Mar 2017 21:58:59 +0000 (21:58 +0000)]
Merge "Fix initial StatusBar wiping out disabled state"

7 years agoMinor documentation fixes.
Felipe Leme [Fri, 3 Mar 2017 21:56:11 +0000 (13:56 -0800)]
Minor documentation fixes.

Test: m update-api
Bug: 33550221

Change-Id: I757f161eb78a5c0c662743f35a372c91130c5b34

7 years agoMerge "OMS: Introduce default overlays"
TreeHugger Robot [Fri, 3 Mar 2017 21:36:05 +0000 (21:36 +0000)]
Merge "OMS: Introduce default overlays"

7 years agoMerge "Persist the debug time correction flag."
Daniel Nishi [Fri, 3 Mar 2017 21:35:13 +0000 (21:35 +0000)]
Merge "Persist the debug time correction flag."

7 years agoFix crash in secondary user
Makoto Onuki [Fri, 3 Mar 2017 21:33:05 +0000 (13:33 -0800)]
Fix crash in secondary user

Test: manual test
Change-Id: If406807094f216fd3cfd80db7c6498c954a3fc95
Fix: 35938801

7 years agoMerge "Use SkPaint.nothingToDraw instead of PaintUtils helper."
TreeHugger Robot [Fri, 3 Mar 2017 21:09:43 +0000 (21:09 +0000)]
Merge "Use SkPaint.nothingToDraw instead of PaintUtils helper."

7 years agoMake seccomp honor setenforce
Paul Lawrence [Fri, 3 Mar 2017 21:04:35 +0000 (13:04 -0800)]
Make seccomp honor setenforce

Note: This code is in frameworks, since we might want to have tools
linked against seccomp_policy that continue to enforce seccomp

Bug: 35950093
Test: Builds, Seccomp: 2 is in zygote & zygote64 status
      Run setenforce 0 && stop && start
      Seccomp: 0 is in zygote & zygote64 status

Change-Id: I797a6c29f58725f84089c570f784125fb99f57ce

7 years agoModify SurfaceView to use SurfaceFlinger child surfaces.
Robert Carr [Fri, 3 Mar 2017 18:48:11 +0000 (10:48 -0800)]
Modify SurfaceView to use SurfaceFlinger child surfaces.

Here we have SurfaceView bypass the WindowManager and speak
directly to SurfaceFlinger using child surfaces. We also
implement some logic in the WM to handle child surfaces
in various Surface replacement scenarios.

For those following along in the revert Saga, this
also includes the follow up CLs to the original CL.
- Surface inset calculation
- Animation fixes.

The error causing revert was a deferTransactionUntil(-1)...-1
cast to uint, defer transaction until MAX_UINT.

Bug: 28858420
Bug: 31518219
Bug: 34888808
Bug: 35588318
Bug: 35396882
Test: Existing tests still pass (except for the ones that don't and will be deleted).
Change-Id: Ib37236950a1dd3c4f9f4b58fd41ef9003c0557ef

7 years agoMerge "Add autoFillHint property to view"
Philip P. Moltmann [Fri, 3 Mar 2017 20:53:39 +0000 (20:53 +0000)]
Merge "Add autoFillHint property to view"

7 years agoMerge "nativemidi: Prototype demonstrating native access to IMidiDeviceServer"
Paul Mclean [Fri, 3 Mar 2017 20:51:43 +0000 (20:51 +0000)]
Merge "nativemidi: Prototype demonstrating native access to IMidiDeviceServer"

7 years agofallout of cleaning-up libutils includes
Mathias Agopian [Wed, 1 Mar 2017 01:43:39 +0000 (17:43 -0800)]
fallout of cleaning-up libutils includes

Test: run & compile
Bug: n/a
Change-Id: I0f6a0be03f4b120b1b5876aae0c0618c025d9f2b

7 years agoMerge "Add API for checking which CA certs were installed by the DO/PO"
TreeHugger Robot [Fri, 3 Mar 2017 20:28:33 +0000 (20:28 +0000)]
Merge "Add API for checking which CA certs were installed by the DO/PO"

7 years agoFix initial StatusBar wiping out disabled state
Jason Monk [Fri, 3 Mar 2017 15:28:45 +0000 (10:28 -0500)]
Fix initial StatusBar wiping out disabled state

It was injecting some current disabled state before it actually
had any, which made us lose the disabled state.

Change-Id: Ie6947e72733212e3efcfaea09a59e586ae35fb1d
Fixes: 35767933
Test: Set pin, go to bouncer, look at home

7 years agoMerge "Defining extras for New Unread-Message Broadcast"
Srinivas Visvanathan [Fri, 3 Mar 2017 20:09:35 +0000 (20:09 +0000)]
Merge "Defining extras for New Unread-Message Broadcast"

7 years agoMerge "Allow resid notification channel group labels."
TreeHugger Robot [Fri, 3 Mar 2017 19:45:42 +0000 (19:45 +0000)]
Merge "Allow resid notification channel group labels."

7 years agoMerge "QS: Fix up non-dual target touches"
Jason Monk [Fri, 3 Mar 2017 19:38:46 +0000 (19:38 +0000)]
Merge "QS: Fix up non-dual target touches"

7 years agoMerge "Save/load calculated cache quotas to a file."
Daniel Nishi [Fri, 3 Mar 2017 19:35:23 +0000 (19:35 +0000)]
Merge "Save/load calculated cache quotas to a file."

7 years agoUse SkPaint.nothingToDraw instead of PaintUtils helper.
Derek Sollenberger [Fri, 3 Mar 2017 19:02:09 +0000 (14:02 -0500)]
Use SkPaint.nothingToDraw instead of PaintUtils helper.

The PaintUtils helper is now shared between all pipelines and was
missing a quick reject test for drawLoopers which are used in
view.setShadowLayer and supported in the Skia pipelines.

Bug: 35809097
Test: added hwui unit test and verified in DocumentsUI app
Change-Id: I3c4a988f1c42b7f421f78ac3659af1daee910ea2

7 years agoMerge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork" am...
Peter Qiu [Fri, 3 Mar 2017 19:22:10 +0000 (19:22 +0000)]
Merge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork" am: 6ac19c0d23 am: be39334afb
am: 8cf05dfe92

Change-Id: Iecbe5a8d084302a2fa8ca49495ef93df78607428

7 years agoMerge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork" am...
Peter Qiu [Fri, 3 Mar 2017 19:16:14 +0000 (19:16 +0000)]
Merge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork" am: 6ac19c0d23
am: be39334afb

Change-Id: I922cadda8d9becd391dbaffc0da7e098bdda89f6

7 years agoMerge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork"
Peter Qiu [Fri, 3 Mar 2017 19:10:46 +0000 (19:10 +0000)]
Merge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork"
am: 6ac19c0d23

Change-Id: Ia4966b2d8109a85a94f59d7ec57b387a8f6f612e

7 years agoMerge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork"
Treehugger Robot [Fri, 3 Mar 2017 19:02:27 +0000 (19:02 +0000)]
Merge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork"

7 years agoMerge "handle case where user == USER_ALL"
TreeHugger Robot [Fri, 3 Mar 2017 19:00:48 +0000 (19:00 +0000)]
Merge "handle case where user == USER_ALL"

7 years agonativemidi: Prototype demonstrating native access to IMidiDeviceServer
Mikhail Naganov [Thu, 1 Sep 2016 01:08:10 +0000 (18:08 -0700)]
nativemidi: Prototype demonstrating native access to IMidiDeviceServer

Framework changes and a demo app
Comment and finalized Native MIDI API
Replaced fixed PortRegistry tables with std::map.
more error handling.
Removed not-very-useful MidiDeviceManager class.
Made Java API functions @hide.

Bug: 30252756

Test: Manual
Change-Id: Iae98e589f38ef6d625ff0842401193fe98c5d881

7 years agoMerge "Revert "Remove AHardwareBuffer_ API from libandroid""
Mathias Agopian [Fri, 3 Mar 2017 18:47:49 +0000 (18:47 +0000)]
Merge "Revert "Remove AHardwareBuffer_ API from libandroid""

7 years agoAdd API for checking which CA certs were installed by the DO/PO
Bartosz Fabianowski [Wed, 22 Feb 2017 22:41:14 +0000 (23:41 +0100)]
Add API for checking which CA certs were installed by the DO/PO

With this API, the system can determine whether a CA cert was
installed by the user or the user's DO/PO.

Bug: 32692748
Test: unit tests (see DevicePolicyManagerTest.java for invocation)
Test: cts-tradefed run cts-dev --module CtsDevicePolicyManagerTestCases

Change-Id: I3bcae5ac18ec2b110154184fc515df804fd73da6

7 years agoMerge "AAPT2: Fix escaping sequence processing in XML parsing"
TreeHugger Robot [Fri, 3 Mar 2017 18:36:25 +0000 (18:36 +0000)]
Merge "AAPT2: Fix escaping sequence processing in XML parsing"

7 years agoMerge changes Ie009b2c3,I313b5334,Iae36fc6b
Selim Cinek [Fri, 3 Mar 2017 18:30:56 +0000 (18:30 +0000)]
Merge changes Ie009b2c3,I313b5334,Iae36fc6b

* changes:
  Animating the statusbar icons now when closing
  Fixed a few issues around notifications and density changes
  All touches to low priority headers should be accepted

7 years agoAnimating the statusbar icons now when closing
Selim Cinek [Thu, 2 Mar 2017 00:50:30 +0000 (16:50 -0800)]
Animating the statusbar icons now when closing

On the keyguard the statusbaricons would not animate
in if there were no notifications. We can't just magically
appear them in that case but need to animate them.

Change-Id: Ie009b2c351b7a45f9219ddc1114be79477ea692b
Fixes: 33652041

7 years agoFixed a few issues around notifications and density changes
Selim Cinek [Wed, 1 Mar 2017 23:13:36 +0000 (15:13 -0800)]
Fixed a few issues around notifications and density changes

Because density and font size changes would actually be
delivered by Dependency, the SystemUI could actually get
the onDensityChanged after the onDensityOrFontScaleChanged.
Let's make sure all configuration changes now go through the
same listener.
This also ensures that the caching of the icon offsets is done
correctly, since the statusbar layout may actually be laid out
later then the shelf.

Test: change density from small to large, observe normal layout
Change-Id: I313b5334ccbb57f7929fe03dbd5119396123b137
Fixes: 35678628

7 years agoAll touches to low priority headers should be accepted
Selim Cinek [Wed, 1 Mar 2017 01:22:49 +0000 (17:22 -0800)]
All touches to low priority headers should be accepted

Since there is no conflicting touch target, we now accept
all touches there.

Test: add low-pririty notification, click below text
Fixes: 35851799
Change-Id: Iae36fc6b950a0dbb569bfae43a5505588d9e0ace

7 years agoPermit privileged system apps to send SMS without persisting.
Abhijith Shastry [Tue, 14 Feb 2017 21:02:59 +0000 (13:02 -0800)]
Permit privileged system apps to send SMS without persisting.

The system app needs to have MODIFY_PHONE_STATE permission.

Original Change-Id: Ic9242972a211c90378c183c3abf95672c2816ac7
BUG: 35325136
Test: API visibility change, Manual

Change-Id: I37b185feaa72e330a0845eff137ea310ad0dca08

7 years agoMove newFromRil() function to a utility class
Nathan Harold [Wed, 25 Jan 2017 01:08:34 +0000 (17:08 -0800)]
Move newFromRil() function to a utility class

Remove a dependency on frameworks/opt from SmsMessage for CDMA

-Code move to frameworks/opt/telephony../cdma/SmsMessageConverter

Bug: 33414487
Test: Manually verified GSM and CDMA SMS: MO and MT
Change-Id: I730d292c4aad6524b03b18c0751738a73a71ecf7

7 years agoRemove dependency on telephony-common from services/core
Nathan Harold [Wed, 14 Dec 2016 19:40:03 +0000 (11:40 -0800)]
Remove dependency on telephony-common from services/core

After migrating all the dependencies from frameworks/opt/telephony
to frameworks/base, the dependency is no longer needed and should
never have been created in the first place. Happily removed.

Bug: 33414487
Test: compilation
Change-Id: I261da4c6b819b3c960ce56d2cab5c80cb34e852e

7 years agoMove OTASP_* Consts from ServiceStateTracker to TelephonyManager
Nathan Harold [Wed, 14 Dec 2016 19:24:48 +0000 (11:24 -0800)]
Move OTASP_* Consts from ServiceStateTracker to TelephonyManager

-Move the OTASP_* constants from SST
-Update references to those constants in TelephonyRegistry

Bug: 33414487
Test: compilation
Change-Id: I9516a8dfa9623d69d7e051749815e91ed3d013fa

7 years agoPort Utility Functions from DefaultPhoneNotifier
Nathan Harold [Wed, 14 Dec 2016 18:48:00 +0000 (10:48 -0800)]
Port Utility Functions from DefaultPhoneNotifier

-Move static utility functions from frameworks/opt/telephony/
 ..DefaultPhoneNotifier to a new utility class in frameworks/base

-Update TelephonyRegistry to point to the new functions.

Bug: 33414487
Test: compilation
Change-Id: I36a113cb5122569d451ec3a2dfa71d72d590fa52

7 years agoRemove dependency on IccConstants from SmsManager
Nathan Harold [Wed, 14 Dec 2016 03:03:09 +0000 (19:03 -0800)]
Remove dependency on IccConstants from SmsManager

-Redefine the length of the SmsRecord in SmsManager

Bug: 33414487
Test: compilation
Change-Id: I941085e96f45164152528c123102a59930859546

7 years agoMerge branch 'stage-telephony-refactor' into master
Dan Willemsen [Tue, 14 Feb 2017 22:17:12 +0000 (14:17 -0800)]
Merge branch 'stage-telephony-refactor' into master

Bug: 33644781
Change-Id: If571e3ad9432035811714e3a92d9dfff39311c61

7 years agoMerge "Add tracking of bg check violations in broadcast stats."
Dianne Hackborn [Fri, 3 Mar 2017 18:07:53 +0000 (18:07 +0000)]
Merge "Add tracking of bg check violations in broadcast stats."

7 years agoMerge "Address feedback from API council for INITIAL_URI."
Garfield Tan [Fri, 3 Mar 2017 18:00:36 +0000 (18:00 +0000)]
Merge "Address feedback from API council for INITIAL_URI."

7 years agoDefining extras for New Unread-Message Broadcast
Srinivas Visvanathan [Fri, 3 Mar 2017 17:57:18 +0000 (09:57 -0800)]
Defining extras for New Unread-Message Broadcast

- Defining extras for sender fields in the Broadcast intent.

Bug: 33280056
Test: Manually
Change-Id: Ie77bee498141c079f6f2ec811e527230c95e8831

7 years agoMerge "Prevent PiP movement while the resize animation is running."
Winson Chung [Fri, 3 Mar 2017 17:28:42 +0000 (17:28 +0000)]
Merge "Prevent PiP movement while the resize animation is running."

7 years agoMerge "move PermissionsSummaryHelper into SettingsLib to share with car/settings"
Roger Xue [Fri, 3 Mar 2017 17:06:55 +0000 (17:06 +0000)]
Merge "move PermissionsSummaryHelper into SettingsLib to share with car/settings"

7 years agoMerge "Fix DND status icon not showing"
TreeHugger Robot [Fri, 3 Mar 2017 17:05:30 +0000 (17:05 +0000)]
Merge "Fix DND status icon not showing"

7 years agoMerge "Fix small tile state issue"
TreeHugger Robot [Fri, 3 Mar 2017 17:02:16 +0000 (17:02 +0000)]
Merge "Fix small tile state issue"

7 years agoMerge "Add extra indicating honored query arguments."
TreeHugger Robot [Fri, 3 Mar 2017 16:35:09 +0000 (16:35 +0000)]
Merge "Add extra indicating honored query arguments."

7 years agoMove framework-specific portions of pathmap.mk into frameworks/base
Alan Viverette [Mon, 19 Dec 2016 15:53:15 +0000 (10:53 -0500)]
Move framework-specific portions of pathmap.mk into frameworks/base

Test: make docs && make
Change-Id: I983a17bed8b14b6d94f7c4d3e900f4bb8bb34b86

7 years agoQS: Fix up non-dual target touches
Jason Monk [Fri, 3 Mar 2017 15:05:18 +0000 (10:05 -0500)]
QS: Fix up non-dual target touches

Make sure the label doesn't take any touches or show a background
if the tile doesn't support dual touch targets.

Test: Click on text of flashlight
Change-Id: Ib6a91e04a739e3ba74d0d05336ce70790dcf6a7a
Fixes: 35855398

7 years agoFix qs tiles disappearing when leaving edit
Evan Laird [Tue, 28 Feb 2017 22:27:04 +0000 (17:27 -0500)]
Fix qs tiles disappearing when leaving edit

On presenting the customizer view to edit quick settings tiles, the
tiles were fetched in background threads (2 different ones). If the user
then managed to dismiss the view too quickly, a save would occur before
all tiles were loaded and they would disappear. This change coerces
tiles to load on the same background thread and allows the customizer
view to know when that operation is complete. Thus, it can save only
when it knows that all possible tiles were loaded.

Fixes:35556395
Test: runtest -x SystemUI/tests/src/com/android/systemui/qs/customize/TileQueryHelperTest.java
Change-Id: Ie232d3c28645d38aad97a8763b7418e6b044b5cc

7 years agoMerge "Save TaskRecord before calling performClearTaskLocked."
Bryce Lee [Fri, 3 Mar 2017 15:16:50 +0000 (15:16 +0000)]
Merge "Save TaskRecord before calling performClearTaskLocked."

7 years agoMerge "Remove mTask from AppWindowToken."
Bryce Lee [Fri, 3 Mar 2017 15:14:20 +0000 (15:14 +0000)]
Merge "Remove mTask from AppWindowToken."

7 years agoMerge "Add more instrumentation to BackupManagerService"
Anton Philippov [Fri, 3 Mar 2017 15:09:00 +0000 (15:09 +0000)]
Merge "Add more instrumentation to BackupManagerService"

7 years agoFix small tile state issue
Jason Monk [Fri, 3 Mar 2017 14:10:50 +0000 (09:10 -0500)]
Fix small tile state issue

On catching exception was assigning to an unused value.

Test: make
Change-Id: Ic70759f02cabdbc3833c94bb89c1e3a776fbbf59

7 years agoMerge "Move value for the Build.CUR_DEVELOPMENT constant into libcore" am: 3e6c189c68...
Tobias Thierer [Fri, 3 Mar 2017 12:19:35 +0000 (12:19 +0000)]
Merge "Move value for the Build.CUR_DEVELOPMENT constant into libcore" am: 3e6c189c68 am: 50351bd85c
am: e8903c666a

Change-Id: I45e9a8b2b084a892f754f27a044d70318eb99772

7 years agoMerge "Move value for the Build.CUR_DEVELOPMENT constant into libcore" am: 3e6c189c68
Tobias Thierer [Fri, 3 Mar 2017 12:14:04 +0000 (12:14 +0000)]
Merge "Move value for the Build.CUR_DEVELOPMENT constant into libcore" am: 3e6c189c68
am: 50351bd85c

Change-Id: I155559d6c283e58c14995cec8423924ef14bd5b0

7 years agoMerge "Move value for the Build.CUR_DEVELOPMENT constant into libcore"
Tobias Thierer [Fri, 3 Mar 2017 12:07:59 +0000 (12:07 +0000)]
Merge "Move value for the Build.CUR_DEVELOPMENT constant into libcore"
am: 3e6c189c68

Change-Id: I981b746a28cda09d7a75fa79faeacb2cc58b1fc4

7 years agoMerge "Move value for the Build.CUR_DEVELOPMENT constant into libcore"
Tobias Thierer [Fri, 3 Mar 2017 12:02:09 +0000 (12:02 +0000)]
Merge "Move value for the Build.CUR_DEVELOPMENT constant into libcore"

7 years agoMerge "fd_utils: switch to libbase logging." am: 982f42f71c am: a31b7d383f
Narayan Kamath [Fri, 3 Mar 2017 11:17:51 +0000 (11:17 +0000)]
Merge "fd_utils: switch to libbase logging." am: 982f42f71c am: a31b7d383f
am: 5d763a36b4

Change-Id: I837fa62065df0acd7f3fc8d3e605709861107ab4

7 years agoMerge "fd_utils: switch to libbase logging." am: 982f42f71c
Narayan Kamath [Fri, 3 Mar 2017 11:12:50 +0000 (11:12 +0000)]
Merge "fd_utils: switch to libbase logging." am: 982f42f71c
am: a31b7d383f

Change-Id: I55defd68178a4374e0f1b138fa320db1cfe8a448

7 years agoMerge "fd_utils: switch to libbase logging."
Narayan Kamath [Fri, 3 Mar 2017 11:07:19 +0000 (11:07 +0000)]
Merge "fd_utils: switch to libbase logging."
am: 982f42f71c

Change-Id: I22364e3242317761ac27c51c54efb84dd6aee815

7 years agoMerge "fd_utils: switch to libbase logging."
Narayan Kamath [Fri, 3 Mar 2017 10:59:23 +0000 (10:59 +0000)]
Merge "fd_utils: switch to libbase logging."

7 years agoMerge "fd_utils: add missing logging for a couple of failure cases." am: 9dbcff7d73...
Narayan Kamath [Fri, 3 Mar 2017 10:52:32 +0000 (10:52 +0000)]
Merge "fd_utils: add missing logging for a couple of failure cases." am: 9dbcff7d73 am: 04d17c07cc
am: 7e0db82cd5

Change-Id: Ibbcdcb8d4b9e47ef7963e1521ceb9d4179de13de

7 years agoMerge "fd_utils: add missing logging for a couple of failure cases." am: 9dbcff7d73
Narayan Kamath [Fri, 3 Mar 2017 10:46:47 +0000 (10:46 +0000)]
Merge "fd_utils: add missing logging for a couple of failure cases." am: 9dbcff7d73
am: 04d17c07cc

Change-Id: I736ac35b6f040b9470ec51fb7804bebb38afb6fe

7 years agoMerge "fd_utils: add missing logging for a couple of failure cases."
Narayan Kamath [Fri, 3 Mar 2017 10:41:46 +0000 (10:41 +0000)]
Merge "fd_utils: add missing logging for a couple of failure cases."
am: 9dbcff7d73

Change-Id: Iabd49e8f322e926b1b157ff85f1e9e4f66b0f56a

7 years agoMerge "fd_utils: add missing logging for a couple of failure cases."
Narayan Kamath [Fri, 3 Mar 2017 10:34:36 +0000 (10:34 +0000)]
Merge "fd_utils: add missing logging for a couple of failure cases."

7 years agoMerge "Use iterator to remove elements from collection when traversing it"
Michal Karpinski [Fri, 3 Mar 2017 10:02:13 +0000 (10:02 +0000)]
Merge "Use iterator to remove elements from collection when traversing it"

7 years agoMerge "Fill-provider can control the negative button label and listener"
TreeHugger Robot [Fri, 3 Mar 2017 04:45:35 +0000 (04:45 +0000)]
Merge "Fill-provider can control the negative button label and listener"

7 years agoMerge "Allow auto-fill services to disable themselves"
TreeHugger Robot [Fri, 3 Mar 2017 04:45:35 +0000 (04:45 +0000)]
Merge "Allow auto-fill services to disable themselves"

7 years agoMerge changes from topic 'secondary-dex1' am: d56d98b860 am: e6f3ed6aef
Calin Juravle [Fri, 3 Mar 2017 04:10:02 +0000 (04:10 +0000)]
Merge changes from topic 'secondary-dex1' am: d56d98b860 am: e6f3ed6aef
am: 969327b823  -s ours

Change-Id: I03c3f76927e4d9e46d512fe9074cacb10d743167

7 years agoMerge "Add a missing write lock to settings state."
Svetoslav Ganov [Fri, 3 Mar 2017 04:08:17 +0000 (04:08 +0000)]
Merge "Add a missing write lock to settings state."

7 years agoMerge changes from topic 'secondary-dex1' am: d56d98b860
Calin Juravle [Fri, 3 Mar 2017 03:56:13 +0000 (03:56 +0000)]
Merge changes from topic 'secondary-dex1' am: d56d98b860
am: e6f3ed6aef

Change-Id: Ia637e1c6caccf33137cde413779911dab5677147

7 years agoMerge "Remove the name length limit for system properties." am: c657b769ab am: 6f00e6e977
Elliott Hughes [Fri, 3 Mar 2017 03:52:37 +0000 (03:52 +0000)]
Merge "Remove the name length limit for system properties." am: c657b769ab am: 6f00e6e977
am: b088dd5d15  -s ours

Change-Id: I4c40815a0bbb4bf216fb9ac98c9c37853a74c5a0