OSDN Git Service

android-x86/frameworks-base.git
6 years agoAllow Instant Apps to call getPermissionControllerPackageName
Chad Brubaker [Wed, 21 Jun 2017 06:13:21 +0000 (23:13 -0700)]
Allow Instant Apps to call getPermissionControllerPackageName

This is needed for requesting permissions to work.

Bug: 62791664
Test: Requesting a runtime permission doesn't crash the app
Change-Id: If18ac8e4c903f3804ec24df39d169fa9145f449e

7 years agoMerge "Change brightness dialog theme" into oc-dev
Jason Monk [Tue, 30 May 2017 16:46:12 +0000 (16:46 +0000)]
Merge "Change brightness dialog theme" into oc-dev

7 years agoMerge "Suppress HUNs according to group alert behavior" into oc-dev
Julia Reynolds [Tue, 30 May 2017 16:43:33 +0000 (16:43 +0000)]
Merge "Suppress HUNs according to group alert behavior" into oc-dev

7 years agoMerge "Fix SurfaceView handler." into oc-dev
Rob Carr [Tue, 30 May 2017 16:17:25 +0000 (16:17 +0000)]
Merge "Fix SurfaceView handler." into oc-dev

7 years agoMerge "Reduce toast duration for channel warnings." into oc-dev
Geoffrey Pitsch [Tue, 30 May 2017 15:38:59 +0000 (15:38 +0000)]
Merge "Reduce toast duration for channel warnings." into oc-dev

7 years agoChange brightness dialog theme
Yoshinori Hirano [Mon, 22 May 2017 08:34:54 +0000 (17:34 +0900)]
Change brightness dialog theme

Added new theme Theme.DeviceDefault.QuickSettings.Dialog and applied it
to the brightness dialog.

Fixes: 62010126
Test: visual

Change-Id: I3bc1116a227d5e62d8624c9a4911771152f3ced0

7 years agoMerge "Improved autofillHints documentation." into oc-dev
TreeHugger Robot [Sat, 27 May 2017 02:25:02 +0000 (02:25 +0000)]
Merge "Improved autofillHints documentation." into oc-dev

7 years agoMerge "AAPT2: Follow symlinks when compiling" into oc-dev
TreeHugger Robot [Sat, 27 May 2017 01:43:46 +0000 (01:43 +0000)]
Merge "AAPT2: Follow symlinks when compiling" into oc-dev

7 years agoMerge "DividerView choreographer set earlier to avoid null exception" into oc-dev
TreeHugger Robot [Sat, 27 May 2017 01:29:41 +0000 (01:29 +0000)]
Merge "DividerView choreographer set earlier to avoid null exception" into oc-dev

7 years agoMerge "Add 32 and 128 bit Service Data parsing." into oc-dev
TreeHugger Robot [Sat, 27 May 2017 01:27:57 +0000 (01:27 +0000)]
Merge "Add 32 and 128 bit Service Data parsing." into oc-dev

7 years agoMerge "Don’t try to autoSize if TextView is not measured" into oc-dev
Siyamed Sinir [Sat, 27 May 2017 00:13:33 +0000 (00:13 +0000)]
Merge "Don’t try to autoSize if TextView is not measured" into oc-dev

7 years agoMerge changes from topic 'highlight_fixed' into oc-dev
TreeHugger Robot [Sat, 27 May 2017 00:11:01 +0000 (00:11 +0000)]
Merge changes from topic 'highlight_fixed' into oc-dev

* changes:
  Check default focus highlight for ImageView.
  Check state_focus in foreground.

7 years agoAAPT2: Follow symlinks when compiling
Adam Lesinski [Fri, 26 May 2017 23:31:38 +0000 (16:31 -0700)]
AAPT2: Follow symlinks when compiling

Bug: 62144459
Test: make AaptSymlinkTest
Change-Id: Idb3ab1ece17c52bb4fd174ec4c08a9e173289e55

7 years agoMerge "Fixed a bug where min-priority were in the middle" into oc-dev
Selim Cinek [Fri, 26 May 2017 23:32:11 +0000 (23:32 +0000)]
Merge "Fixed a bug where min-priority were in the middle" into oc-dev

7 years agoAdd 32 and 128 bit Service Data parsing.
Jakub Pawlowski [Fri, 26 May 2017 20:59:55 +0000 (13:59 -0700)]
Add 32 and 128 bit Service Data parsing.

Bug: 62078132
Change-Id: I79ff75cd5ccbe346dca79693b074ff3cd09112dd
(cherry picked from commit 45033a7e5799f2d957c7dad22eec0bfef94b3e16)

7 years agoMerge "Refresh screen off timeout when screen lock is released in VR" into oc-dev
Andrii Kulian [Fri, 26 May 2017 23:15:14 +0000 (23:15 +0000)]
Merge "Refresh screen off timeout when screen lock is released in VR" into oc-dev

7 years agoMerge "Fix the back button ripple." into oc-dev
TreeHugger Robot [Fri, 26 May 2017 23:10:44 +0000 (23:10 +0000)]
Merge "Fix the back button ripple." into oc-dev

7 years agoMerge "Add ID_LENGTH field for Empty type record" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 22:51:55 +0000 (22:51 +0000)]
Merge "Add ID_LENGTH field for Empty type record" into oc-dev

7 years agoMerge "Don't show ripple effect on the element replacing "See All"" into oc-dev
Sergey Vasilinets [Fri, 26 May 2017 22:11:22 +0000 (22:11 +0000)]
Merge "Don't show ripple effect on the element replacing "See All"" into oc-dev

7 years agoMerge "Add WearDisplayService to the system server; add a SET_DISPLAY_OFFSET permissi...
TreeHugger Robot [Fri, 26 May 2017 21:48:48 +0000 (21:48 +0000)]
Merge "Add WearDisplayService to the system server; add a SET_DISPLAY_OFFSET permission." into oc-dev

7 years agoMerge "Properly read vibration setting on boot." into oc-dev
TreeHugger Robot [Fri, 26 May 2017 21:43:24 +0000 (21:43 +0000)]
Merge "Properly read vibration setting on boot." into oc-dev

7 years agoCheck default focus highlight for ImageView.
Jiaquan He [Mon, 1 May 2017 21:18:39 +0000 (14:18 -0700)]
Check default focus highlight for ImageView.

This commit specially checks isDefaultFocusHighlightNeeded for
ImageView. We should also check with the content drawable of the
ImageView besides its foreground or background.

Bug: 62141891
Test: cts-tradefed run singleCommand cts --skip-device-info
--skip-preconditions --abi armeabi-v7a -m CtsViewTestCases -t
android.view.cts.View_DefaultFocusHighlightTest#testIsDefaultFocusHighlightNeeded

Change-Id: Iaf12a5863d7760d9361d0196a46de07a9ccda74e

7 years agoMerge "Disable autofill while user setup is not completed." into oc-dev
TreeHugger Robot [Fri, 26 May 2017 21:29:41 +0000 (21:29 +0000)]
Merge "Disable autofill while user setup is not completed." into oc-dev

7 years agoFix the back button ripple.
Jiaquan He [Wed, 24 May 2017 23:00:10 +0000 (16:00 -0700)]
Fix the back button ripple.

Bug: 62141426
Test: Manually checked that the default highlight doesn't show up
when tapping on the back button on the navigation bar.
Change-Id: Iedef32077c869e55f14dbd0aa92c4ce3220e0d1a

7 years agoFix SurfaceView handler.
John Reck [Fri, 26 May 2017 20:57:14 +0000 (13:57 -0700)]
Fix SurfaceView handler.

The UI Thread is whatever we happen to be attached to, or the current thread if we are unattached.

Bug: 38180075
Test: Repro from bug. go/wm-smoke.
Change-Id: I3f75882aa13de2b781c71ebbc7b09888981521b3

7 years agoMerge "Use uptime instead of elapsed for measuring duration" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 20:56:05 +0000 (20:56 +0000)]
Merge "Use uptime instead of elapsed for measuring duration" into oc-dev

7 years agoMerge "Resolve inflate attr against default package" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 20:54:49 +0000 (20:54 +0000)]
Merge "Resolve inflate attr against default package" into oc-dev

7 years agoAdd ID_LENGTH field for Empty type record
Yuka Anami [Mon, 15 May 2017 04:53:04 +0000 (13:53 +0900)]
Add ID_LENGTH field for Empty type record

If ID_LENGTH field is omitted from Empty Type record, it cannot be
detected as Ndef since the data is strictly checked by e3fc7d9954.
But it is not possible to create raw bytes of Empty Type record
which can meet this condition by using NdefRecord/NdefMessage.
To fix this issue, added ID_LENGTH field to Empty type record.

Bug: 38299566
Test: Write and read NDEF tag with empty type record
Change-Id: Idb58c80cf8562a8b314f4ddeccdc627dc0c6f5b4
(cherry picked from commit ef9d0a480ef72a4ff0de5b5afa3661cff81fd8b5)

7 years agoMerge "Fix QS Detail header touch target" into oc-dev
Jason Monk [Fri, 26 May 2017 20:44:10 +0000 (20:44 +0000)]
Merge "Fix QS Detail header touch target" into oc-dev

7 years agoProperly read vibration setting on boot.
Julia Reynolds [Fri, 26 May 2017 18:43:47 +0000 (14:43 -0400)]
Properly read vibration setting on boot.

Test: runtest systemui-notification
Change-Id: I400bc3df441524abe4973d4d6bccc7ef30a2e1c7
Fixes: 37865035

7 years agoSuppress HUNs according to group alert behavior
Julia Reynolds [Fri, 26 May 2017 17:36:31 +0000 (13:36 -0400)]
Suppress HUNs according to group alert behavior

Test: runtest systemui, systemui-notification
Change-Id: I9f987bc0ba22f2d48b02585fd722880bb5c2a9b5
Fixes: 62126386

7 years agoMerge "Fixed broken ImageFloatingTextViewTests" into oc-dev
Selim Cinek [Fri, 26 May 2017 19:45:00 +0000 (19:45 +0000)]
Merge "Fixed broken ImageFloatingTextViewTests" into oc-dev

7 years agoMerge "Make volume dialog pick up on theme changes" into oc-dev
Jason Monk [Fri, 26 May 2017 19:03:39 +0000 (19:03 +0000)]
Merge "Make volume dialog pick up on theme changes" into oc-dev

7 years agoDon’t try to autoSize if TextView is not measured
Siyamed Sinir [Fri, 26 May 2017 02:37:06 +0000 (19:37 -0700)]
Don’t try to autoSize if TextView is not measured

This CL early returns from auto sizing text if the view is not measured
yet.

Test: run cts --test android.widget.cts.TextViewTest -m CtsWidgetTestCases
Test: Added cts.TextViewTest#testAutosizeWithMaxLines_shouldNotThrowException
Test: Manual test with sample app for the failing case.

Bug: 38440435
Change-Id: Ic03c991f33a2b7701623f00f44cba7fb6cdfce46

7 years agoResolve inflate attr against default package
Alan Viverette [Tue, 23 May 2017 15:33:42 +0000 (11:33 -0400)]
Resolve inflate attr against default package

Change-Id: I2de0f79fb4918770c9f816934b1fc4953073a4f1
Fixes: 38456890
Test: LayoutInflaterTest#testInclude

7 years agoMerge "Moar Autofill Framework javadoc improvements:" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 18:55:32 +0000 (18:55 +0000)]
Merge "Moar Autofill Framework javadoc improvements:" into oc-dev

7 years agoMerge "Add ResourceId validation helper method" into oc-dev
Adam Lesinski [Fri, 26 May 2017 18:45:24 +0000 (18:45 +0000)]
Merge "Add ResourceId validation helper method" into oc-dev

7 years agoMerge "AAPT2: Implement attribute compat versioning" into oc-dev
Adam Lesinski [Fri, 26 May 2017 18:42:43 +0000 (18:42 +0000)]
Merge "AAPT2: Implement attribute compat versioning" into oc-dev

7 years agoMerge "HIDL: C++ Java parity" into oc-dev
Steven Moreland [Fri, 26 May 2017 18:31:53 +0000 (18:31 +0000)]
Merge "HIDL: C++ Java parity" into oc-dev

7 years agoDisable autofill while user setup is not completed.
Felipe Leme [Fri, 26 May 2017 16:24:33 +0000 (09:24 -0700)]
Disable autofill while user setup is not completed.

Test: manual verification with experimental app
Test: manual verification with Autofill with Google on flashed deviced
Test: existing CtsAutoFillServiceTestCases pass
Test: new LoginActivityTest.testSetupComplete pass

Fixes: 62049772

Change-Id: I1e914c44062755f8c88656482338e76aeaafd543

7 years agoMerge "Playback activity monitoring: add player types" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 18:06:16 +0000 (18:06 +0000)]
Merge "Playback activity monitoring: add player types" into oc-dev

7 years agoMerge "Add logging and null check for SkColorSpace serialization" into oc-dev
Matt Sarett [Fri, 26 May 2017 17:54:09 +0000 (17:54 +0000)]
Merge "Add logging and null check for SkColorSpace serialization" into oc-dev

7 years agoFix QS Detail header touch target
Jason Monk [Fri, 26 May 2017 17:19:38 +0000 (13:19 -0400)]
Fix QS Detail header touch target

Move around some spacings and paddings to make sure the whole area
counts as a touch for the header.

Test: manual
Change-Id: I3d7515767cc3624efb195481886dc03c69cc39c9
Fixes: 38250837

7 years agoMake volume dialog pick up on theme changes
Jason Monk [Fri, 26 May 2017 14:38:54 +0000 (10:38 -0400)]
Make volume dialog pick up on theme changes

Test: change theme, view volume
Change-Id: I3f5b6ea7fd949e72624458a13b6c953629fcd1b5
Fixes: 38408033

7 years agoUse uptime instead of elapsed for measuring duration
Amith Yamasani [Fri, 26 May 2017 16:46:58 +0000 (09:46 -0700)]
Use uptime instead of elapsed for measuring duration

in time taken to read cpu stats.

This should avoid super long durations > 10 secs that are occasionally
seen in system logs.

Bug: 62104524
Test: manual
Change-Id: I9ed985a61125a207b6d4f6297091bd11b4c78616

7 years agoMerge "Collapse QS panel forcibly after dismissing Keyguard" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 16:20:45 +0000 (16:20 +0000)]
Merge "Collapse QS panel forcibly after dismissing Keyguard" into oc-dev

7 years agoMerge "Send notification state event more frequently" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 16:19:18 +0000 (16:19 +0000)]
Merge "Send notification state event more frequently" into oc-dev

7 years agoMerge "Create a new drawable after caching the DrawableContainer" into oc-dev
Tenghui Zhu [Fri, 26 May 2017 16:10:19 +0000 (16:10 +0000)]
Merge "Create a new drawable after caching the DrawableContainer" into oc-dev

7 years agoMerge "Properly battery blame throttled location requests" into oc-dev
Soonil Nagarkar [Fri, 26 May 2017 16:05:09 +0000 (16:05 +0000)]
Merge "Properly battery blame throttled location requests" into oc-dev

7 years agoAdd logging and null check for SkColorSpace serialization
Matt Sarett [Fri, 26 May 2017 14:55:38 +0000 (10:55 -0400)]
Add logging and null check for SkColorSpace serialization

Test: Compiled and flashed device.

BUG:38502480

Change-Id: Iaae74d8485ef88d85b634ddf86999e5cac60028f

7 years agoMerge "Fix RTL for SignalDrawable" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 15:30:18 +0000 (15:30 +0000)]
Merge "Fix RTL for SignalDrawable" into oc-dev

7 years agoMerge "Removed deprecated setAutofill() method for virtual children." into oc-dev
TreeHugger Robot [Fri, 26 May 2017 15:08:14 +0000 (15:08 +0000)]
Merge "Removed deprecated setAutofill() method for virtual children." into oc-dev

7 years agoReduce toast duration for channel warnings.
Geoffrey Pitsch [Fri, 26 May 2017 14:50:05 +0000 (10:50 -0400)]
Reduce toast duration for channel warnings.

Test: manual
Fixes: 38380608
Change-Id: Ia91dae29362bf59b6bf8927d195bacf4a2eb36cb

7 years agoMerge "Check for false touches when determining if the notif menu should be shown...
TreeHugger Robot [Fri, 26 May 2017 14:40:21 +0000 (14:40 +0000)]
Merge "Check for false touches when determining if the notif menu should be shown" into oc-dev

7 years agoMerge "AOD: Fix AOD background bug" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 14:39:46 +0000 (14:39 +0000)]
Merge "AOD: Fix AOD background bug" into oc-dev

7 years agoMerge "Allow some system notifications to be blocked." into oc-dev
Julia Reynolds [Fri, 26 May 2017 14:39:26 +0000 (14:39 +0000)]
Merge "Allow some system notifications to be blocked." into oc-dev

7 years agoMerge "Add 2 hours as an option for snoozing, update default to 1 hour" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 14:37:17 +0000 (14:37 +0000)]
Merge "Add 2 hours as an option for snoozing, update default to 1 hour" into oc-dev

7 years agoCollapse QS panel forcibly after dismissing Keyguard
Yoshinori Hirano [Fri, 14 Apr 2017 02:29:38 +0000 (11:29 +0900)]
Collapse QS panel forcibly after dismissing Keyguard

The Quick Settings panel is not collapsed when the screen lock is
unlocked by using TileService APIs (unlockAndRun() and
startActivityAndCollapse()).
To fix this issue, the QS panel should be collapsed forcibly when
startActivityAndCollapse() is called.

Bug: 38252721
Test: manual - install an app which calls startActivityAndCollapse()
               inside the runnable passed to unlockAndRun().

Author: Yuta Yamada <yuta.x.yamada@sonymobile.com>
Change-Id: I82d1df368d5024283f58ee5cc2d42559aac28467

7 years agoFix RTL for SignalDrawable
Jason Monk [Thu, 25 May 2017 20:11:52 +0000 (16:11 -0400)]
Fix RTL for SignalDrawable

Test: visual
Change-Id: I685125dff96829159d78983ad4b7c7f91d095c5c
Fixes: 38487767

7 years agoMerge "Remove the old version of setAffiliationIds" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 13:00:35 +0000 (13:00 +0000)]
Merge "Remove the old version of setAffiliationIds" into oc-dev

7 years agoMerge "WifiManager: add iface name and mode labels" into oc-dev
Erik Kline [Fri, 26 May 2017 09:49:20 +0000 (09:49 +0000)]
Merge "WifiManager: add iface name and mode labels" into oc-dev

7 years agoPlayback activity monitoring: add player types
Jean-Michel Trivi [Thu, 25 May 2017 22:11:07 +0000 (15:11 -0700)]
Playback activity monitoring: add player types

Add player types for playback activity monitoring:
 - AAudio
 - hardware sources
 - proxy for external players
Fix some declarations that do not follow coding guidelines

Test: n/a
Bug: 62027849
Change-Id: I14088a071a296fa8d342b36b550f1dc4e3388653

7 years agoMerge "Add extra debug logging to WifiTracker." into oc-dev
TreeHugger Robot [Fri, 26 May 2017 02:47:51 +0000 (02:47 +0000)]
Merge "Add extra debug logging to WifiTracker." into oc-dev

7 years agoFixed a bug where min-priority were in the middle
Selim Cinek [Fri, 26 May 2017 01:30:10 +0000 (18:30 -0700)]
Fixed a bug where min-priority were in the middle

The recent intrusiveness could elevate min priority notifications
temporarily and the reordering was also blocked while looking at it.
We're now allowing the shade to reorder if a notification updates to
min-priority.

Test: manual, add intrusive notification, update while looking at the shade to min
Change-Id: I75b23a7cbaecc8ae941d6680a924c79371c95991
Fixes: 37515606

7 years agoMerge "Fix issue #62103358: ProcessRecord dump formatting problem" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 01:12:13 +0000 (01:12 +0000)]
Merge "Fix issue #62103358: ProcessRecord dump formatting problem" into oc-dev

7 years agoMerge "SelectionActionModeHelper should use target view's thread" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 00:45:38 +0000 (00:45 +0000)]
Merge "SelectionActionModeHelper should use target view's thread" into oc-dev

7 years agoAdd extra debug logging to WifiTracker.
Sundeep Ghuman [Thu, 11 May 2017 00:45:13 +0000 (17:45 -0700)]
Add extra debug logging to WifiTracker.

Bug: b/38212080
Test: NA
Change-Id: I1f5d1a1d43a1dd4d9ce2235d3a53d043d4e2120d

7 years agoRefresh screen off timeout when screen lock is released in VR
Andrii Kulian [Wed, 24 May 2017 19:24:09 +0000 (12:24 -0700)]
Refresh screen off timeout when screen lock is released in VR

When evaluating conditions for user activity with no lights change,
treat POLICY_VR the same way as for POLICY_BRIGHT, so new activity
timeout will be set.

Bug: 37968591
Test: Set screen timeout to 15s, launch Daydream, wait, launch Welcome flow.
Change-Id: I3185cc97364ae5631ef53906958b16d41f326c3b

7 years agoMerge "Relayout when base inner insets change" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 23:25:43 +0000 (23:25 +0000)]
Merge "Relayout when base inner insets change" into oc-dev

7 years agoMerge "Port Ic9d9d65c66325904c95ab3966bdcc16e7668278b to oc-dev" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 23:19:51 +0000 (23:19 +0000)]
Merge "Port Ic9d9d65c66325904c95ab3966bdcc16e7668278b to oc-dev" into oc-dev

7 years agoMerge "Removing unused SecureTouchListener" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 23:17:43 +0000 (23:17 +0000)]
Merge "Removing unused SecureTouchListener" into oc-dev

7 years agoMoar Autofill Framework javadoc improvements:
Felipe Leme [Thu, 25 May 2017 18:24:23 +0000 (11:24 -0700)]
Moar Autofill Framework javadoc improvements:

- Fixed WebView < > and API calls.
- Improved description of virtual views.
- Described how to set boundaries of virtual views.
- Improved AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS doc.

Bug: 37567048
Test: ran 'm -j doc-comment-check-docs' and checked resulting HTML

Change-Id: Ic0d1e9ff2703c87d4007f0092a2f8dfe0efca6db

7 years agoMerge "Offer listener to observe StrictMode violations." into oc-dev
Jeff Sharkey [Thu, 25 May 2017 23:07:04 +0000 (23:07 +0000)]
Merge "Offer listener to observe StrictMode violations." into oc-dev

7 years agoMerge "Update ActivityStack#removeActivityFromHistoryLocked documentation." into...
TreeHugger Robot [Thu, 25 May 2017 23:03:49 +0000 (23:03 +0000)]
Merge "Update ActivityStack#removeActivityFromHistoryLocked documentation." into oc-dev

7 years agoMerge changes from topic 'multinetwork_vndk' into oc-dev
Lorenzo Colitti [Thu, 25 May 2017 23:02:36 +0000 (23:02 +0000)]
Merge changes from topic 'multinetwork_vndk' into oc-dev

* changes:
  Allow vendor code to link to libandroid_net.
  Move libandroid_net from Android.mk to Android.bp.

7 years agoMerge "Fix safezone and getAlpha b/38361276 Test: frameworks/base/core/tests/coretest...
TreeHugger Robot [Thu, 25 May 2017 22:55:51 +0000 (22:55 +0000)]
Merge "Fix safezone and getAlpha b/38361276 Test: frameworks/base/core/tests/coretests/src/android/graphics/drawable/IconTest.java" into oc-dev

7 years agoMerge "Force a light to be set for the first time" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 22:54:59 +0000 (22:54 +0000)]
Merge "Force a light to be set for the first time" into oc-dev

7 years agoMerge "Fixed memory leak with the inflater" into oc-dev
Selim Cinek [Thu, 25 May 2017 22:54:08 +0000 (22:54 +0000)]
Merge "Fixed memory leak with the inflater" into oc-dev

7 years agoMerge "Fix and clarify behavior of vertical/horizontal attributes" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 22:51:14 +0000 (22:51 +0000)]
Merge "Fix and clarify behavior of vertical/horizontal attributes" into oc-dev

7 years agoDon't show ripple effect on the element replacing "See All"
sergeyv [Thu, 25 May 2017 22:49:40 +0000 (15:49 -0700)]
Don't show ripple effect on the element replacing "See All"

bug: 30247194
Test: manual
Change-Id: Icbe5baba62df7b2a107ecc00d52119cb557d3a6b

7 years agoMerge "Fixed an issue when inflating too many notifications" into oc-dev
Selim Cinek [Thu, 25 May 2017 22:42:11 +0000 (22:42 +0000)]
Merge "Fixed an issue when inflating too many notifications" into oc-dev

7 years agoFix issue #62103358: ProcessRecord dump formatting problem
Dianne Hackborn [Thu, 25 May 2017 22:33:53 +0000 (15:33 -0700)]
Fix issue #62103358: ProcessRecord dump formatting problem

Give hasTopUi and hasOverlayUi a newline, also combine them together,
and move them up to be with the rest of the process importance
data (not at the very end after all the list of connections and
other things).

Test: manual

Change-Id: I1a391c03b58e0e5e6f7ce595376f590ce9e7e5bc

7 years agoImproved autofillHints documentation.
Felipe Leme [Thu, 25 May 2017 17:55:36 +0000 (10:55 -0700)]
Improved autofillHints documentation.

Bug: 38086244
Test: ran 'mmm -j frameworks/base/:doc-comment-check-docs' and checked HTML.

Change-Id: Ia7d2f75ae1db067106af36aa8dbb1cdbf3b40b3a

7 years agoSelectionActionModeHelper should use target view's thread
Makoto Onuki [Wed, 24 May 2017 19:25:46 +0000 (12:25 -0700)]
SelectionActionModeHelper should use target view's thread

Use the looper from the TextView's thread for the helper

Bug 62043115
Test: Manual, type on edit field and select text

Change-Id: I501430a500016a81963a9f9fa636474b708b9b36

7 years agoMerge "Handle install time ephemeral permissions" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 22:28:24 +0000 (22:28 +0000)]
Merge "Handle install time ephemeral permissions" into oc-dev

7 years agoMerge "Add test to verify all sysui tests extend the right stuff" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 22:21:23 +0000 (22:21 +0000)]
Merge "Add test to verify all sysui tests extend the right stuff" into oc-dev

7 years agoMerge "Allow the creation of IMPORTANCE_NONE channels" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 22:14:31 +0000 (22:14 +0000)]
Merge "Allow the creation of IMPORTANCE_NONE channels" into oc-dev

7 years agoHIDL: C++ Java parity
Steven Moreland [Tue, 23 May 2017 19:45:16 +0000 (12:45 -0700)]
HIDL: C++ Java parity

Add same restrictions to Java that we have in C++ HIDL
code for C++ services.

Test: hidl_test_java, multiple internal devices work
Bug: 38415912
Merged-In: I48571a5cd94b0ba6b1f722d032e45aac6e9527ed
Change-Id: I48571a5cd94b0ba6b1f722d032e45aac6e9527ed

7 years agoMerge "Add a function to verify if idmap is made from given target/overlay packages...
TreeHugger Robot [Thu, 25 May 2017 21:50:52 +0000 (21:50 +0000)]
Merge "Add a function to verify if idmap is made from given target/overlay packages" into oc-dev

7 years agoMerge "Fix up the QS gutter" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 21:41:47 +0000 (21:41 +0000)]
Merge "Fix up the QS gutter" into oc-dev

7 years agoMerge "AOD: Fix camera icon visibility" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 21:40:50 +0000 (21:40 +0000)]
Merge "AOD: Fix camera icon visibility" into oc-dev

7 years agoAllow vendor code to link to libandroid_net.
Lorenzo Colitti [Wed, 17 May 2017 07:50:17 +0000 (16:50 +0900)]
Allow vendor code to link to libandroid_net.

This library contains only the multinetwork API, which is part
of the NDK and has long-term support. It is needed by any native
that wants to use network communications on a different network
than the default network, and thus is necessary for vendor code
such as IMS clients or carrier applications.

Bug: 37527489
Test: marlin builds and boots
Test: MultinetworkApiTest CTS tests passes
Change-Id: I2aa592d1d082aae410173adf2a09f6d1dd8092dc
Merged-In: I2aa592d1d082aae410173adf2a09f6d1dd8092dc

7 years agoMove libandroid_net from Android.mk to Android.bp.
Lorenzo Colitti [Wed, 17 May 2017 07:46:02 +0000 (16:46 +0900)]
Move libandroid_net from Android.mk to Android.bp.

This is the first step of making libandroid_net available to
vendor code. This is a partial cherry-pick of ag/2210044 that
only moves the build target (hence the Merged-In change ID).

Bug: 37527489
Test: marlin builds and boots
Change-Id: Id9e4d13d4e75f6f6381c675c4e9f72e9f4769d22
Merged-In: Ie3c9c3d3c8c75ade36422d1e8ee0a5fe117e9091

7 years agoUpdate ActivityStack#removeActivityFromHistoryLocked documentation.
Bryce Lee [Thu, 25 May 2017 20:57:46 +0000 (13:57 -0700)]
Update ActivityStack#removeActivityFromHistoryLocked documentation.

Followup to ag/2187696

Test: Documentation only
Bug: 37752430
Change-Id: I6e6a1e6727793037b398ef5b2da58d9efad4ada0

7 years agoMerge "Use cached keyguard flags during relaunch." into oc-dev
Bryce Lee [Thu, 25 May 2017 20:43:30 +0000 (20:43 +0000)]
Merge "Use cached keyguard flags during relaunch." into oc-dev

7 years agoAllow some system notifications to be blocked.
Julia Reynolds [Wed, 24 May 2017 20:09:19 +0000 (16:09 -0400)]
Allow some system notifications to be blocked.

- Happens at a channel level, and system services have to opt in

Bug: 38428796
Test: runtest systemui-notification, manual
Change-Id: I5592b4e32c177844583aee25379390199eef0a58

7 years agoMerge "Do not remove task until all activities have been destroyed." into oc-dev
Bryce Lee [Thu, 25 May 2017 20:42:15 +0000 (20:42 +0000)]
Merge "Do not remove task until all activities have been destroyed." into oc-dev

7 years agoSend notification state event more frequently
Julia Reynolds [Thu, 25 May 2017 16:35:36 +0000 (12:35 -0400)]
Send notification state event more frequently

- For all new notifications that will appear in the status
bar.

Change-Id: I7f3414d4007be26558f8f4b7ec72dde17a538b05
Fixes: 38500162
Test: manual

7 years agoMerge "Ensure that windows are drawn before starting transition into PiP." into oc-dev
TreeHugger Robot [Thu, 25 May 2017 20:30:21 +0000 (20:30 +0000)]
Merge "Ensure that windows are drawn before starting transition into PiP." into oc-dev

7 years agoCheck for false touches when determining if the notif menu should be shown
Mady Mellor [Thu, 11 May 2017 00:51:25 +0000 (17:51 -0700)]
Check for false touches when determining if the notif menu should be shown

If it's a false touch don't show the menu.

Test: manual: try swiping things away on the lockscreen (fast + long)
     try showing notification menu on the lockscreen
Bug: 38208094

Change-Id: I16ceedd90a5fbc80156a9495d6cfd6fa02771886