OSDN Git Service

android-x86/frameworks-base.git
6 years agoSupport Dynamic ImsService Querying
Brad Ebinger [Thu, 1 Mar 2018 21:05:59 +0000 (13:05 -0800)]
Support Dynamic ImsService Querying

1) Provide a "default" impl for MmTelFeature
instead of returning null.

2) Introduce a FeatureSlotPair, which maps a SIM
slot ID to a ImsFeature. This allows the ImsService
to provide which features it supports for multi-SIM
phones.

3) Pipe through ImsResolver state to help prevent IMS
operation when the ImsResolver is in the process of
figuring out feature capabilities.

Test: Telephony ImsService test app, telephony unit tests
Bug: 72642524

Merged-In: I4d7e9ba630739ade83e3242488f330ea6e73bbd7
Change-Id: Idb95f7651af200026d62e8b29eaed30bc0ebc9d3

6 years agoMerge "Carrier id api rename" into pi-dev
Chen Xu [Mon, 12 Mar 2018 22:49:21 +0000 (22:49 +0000)]
Merge "Carrier id api rename" into pi-dev

6 years agoMerge "DisplayCutout: Support more than one cutout" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 22:45:34 +0000 (22:45 +0000)]
Merge "DisplayCutout: Support more than one cutout" into pi-dev

6 years ago[automerger] Rework thumbnail cleanup am: 82a2a87474 am: 97eb9d056a skipped: cb9dd5d0...
Marco Nelissen [Mon, 12 Mar 2018 22:23:20 +0000 (22:23 +0000)]
[automerger] Rework thumbnail cleanup am: 82a2a87474 am: 97eb9d056a skipped: cb9dd5d0e6 am: ddfcb07714  -s ours am: 7e7681f7c3  -s ours
am: 36f77be954  -s ours

Change-Id: I3aed2cd01667f1befe5bb401cef41922f3133da7

6 years ago[automerger] Rework thumbnail cleanup am: 82a2a87474 am: 97eb9d056a skipped: cb9dd5d0...
Marco Nelissen [Mon, 12 Mar 2018 22:09:28 +0000 (22:09 +0000)]
[automerger] Rework thumbnail cleanup am: 82a2a87474 am: 97eb9d056a skipped: cb9dd5d0e6 am: ddfcb07714  -s ours
am: 7e7681f7c3  -s ours

Change-Id: Ic1dc057f8e32e2ef4ab09892f1d46a9f2bf89186

6 years ago[automerger] Rework thumbnail cleanup am: 82a2a87474 am: 97eb9d056a skipped: cb9dd5d0e6
Marco Nelissen [Mon, 12 Mar 2018 21:58:49 +0000 (21:58 +0000)]
[automerger] Rework thumbnail cleanup am: 82a2a87474 am: 97eb9d056a skipped: cb9dd5d0e6
am: ddfcb07714  -s ours

Change-Id: I9f21bbc8a7e4feac60a233fb7c79c587b0bc1a82

6 years agoMerge "Using zen duration preference" into pi-dev
Beverly Tai [Mon, 12 Mar 2018 21:39:18 +0000 (21:39 +0000)]
Merge "Using zen duration preference" into pi-dev

6 years agoMerge "TextClassifierService.onSelectionEvent" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 21:35:25 +0000 (21:35 +0000)]
Merge "TextClassifierService.onSelectionEvent" into pi-dev

6 years agoMerge "Add more APIs on hidden API light greylist" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 21:30:55 +0000 (21:30 +0000)]
Merge "Add more APIs on hidden API light greylist" into pi-dev

6 years agoMerge "Log interruptive notifications" into pi-dev
Julia Reynolds [Mon, 12 Mar 2018 21:10:59 +0000 (21:10 +0000)]
Merge "Log interruptive notifications" into pi-dev

6 years agoMerge "Add default URL bar resource id for autofill compat mode." into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 21:05:59 +0000 (21:05 +0000)]
Merge "Add default URL bar resource id for autofill compat mode." into pi-dev

6 years agoRework thumbnail cleanup -- DO NOT MERGE am: 338438b389 am: dfd8732488 -s ours
Marco Nelissen [Mon, 12 Mar 2018 20:39:16 +0000 (20:39 +0000)]
Rework thumbnail cleanup -- DO NOT MERGE am: 338438b389 am: dfd8732488  -s ours
am: afa1ac1c45  -s ours

Change-Id: I25e440aa943e7eae1315f2d14f9aa5a69ec84d6d

6 years agoMerge "Implemented WebView.isVisibleToUserForAutofill()" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 20:35:53 +0000 (20:35 +0000)]
Merge "Implemented WebView.isVisibleToUserForAutofill()" into pi-dev

6 years agoMerge "Expose whether a snapshot is a real snapshot" into pi-dev
Winson Chung [Mon, 12 Mar 2018 20:34:07 +0000 (20:34 +0000)]
Merge "Expose whether a snapshot is a real snapshot" into pi-dev

6 years agoRework thumbnail cleanup -- DO NOT MERGE am: 338438b389
Marco Nelissen [Mon, 12 Mar 2018 20:30:31 +0000 (20:30 +0000)]
Rework thumbnail cleanup -- DO NOT MERGE am: 338438b389
am: dfd8732488  -s ours

Change-Id: I55fc68fb627fa472cb7609c0d66e5679c03203fd

6 years agoRework thumbnail cleanup -- DO NOT MERGE
Marco Nelissen [Mon, 12 Mar 2018 20:18:40 +0000 (20:18 +0000)]
Rework thumbnail cleanup -- DO NOT MERGE
am: 338438b389

Change-Id: Ie70f916db23cfed4138812cc10a0c708ef1d45a4

6 years agoMerge "Revert "Disable LTO temporarily for hwui"" into pi-dev
Pirama Arumuga Nainar [Mon, 12 Mar 2018 20:16:01 +0000 (20:16 +0000)]
Merge "Revert "Disable LTO temporarily for hwui"" into pi-dev

6 years agoMerge "Unhide ImsCallProfileConstructor." into pi-dev
Mohamed Abdalkader [Mon, 12 Mar 2018 19:54:40 +0000 (19:54 +0000)]
Merge "Unhide ImsCallProfileConstructor." into pi-dev

6 years ago[automerger] Rework thumbnail cleanup am: 82a2a87474 am: 97eb9d056a skipped: cb9dd5d0e6
Android Build Merger (Role) [Mon, 12 Mar 2018 19:54:22 +0000 (19:54 +0000)]
[automerger] Rework thumbnail cleanup am: 82a2a87474 am: 97eb9d056a skipped: cb9dd5d0e6

Change-Id: Id9b936c4829603ea09fcc631a56755805ffc2b83

6 years agoMerge "AudioService: Hearing Aid output management" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 19:46:33 +0000 (19:46 +0000)]
Merge "AudioService: Hearing Aid output management" into pi-dev

6 years agoMerge "Add Application.getProcessName()" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 19:43:22 +0000 (19:43 +0000)]
Merge "Add Application.getProcessName()" into pi-dev

6 years agoMerge "heif: add definition for HEVC Main Still Picture profile" into pi-dev
Chong Zhang [Mon, 12 Mar 2018 19:40:00 +0000 (19:40 +0000)]
Merge "heif: add definition for HEVC Main Still Picture profile" into pi-dev

6 years agoAdd more APIs on hidden API light greylist
David Brazdil [Mon, 12 Mar 2018 15:16:14 +0000 (15:16 +0000)]
Add more APIs on hidden API light greylist

Seen in use by apps.

Bug: 71501570
Test: make
Change-Id: Ia639444acb36d2124d6c9c5fed32827d6c9edcae

6 years agoTextClassifierService.onSelectionEvent
Abodunrinwa Toki [Tue, 6 Feb 2018 23:32:41 +0000 (23:32 +0000)]
TextClassifierService.onSelectionEvent

Bug: 74466564
Bug: 67609167
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit FrameworksCoreTests:android.view.textclassifier.logging.SelectionEventTest
Merged-In: Ib5af1ec80a38432d1201fbc913acdc3597d6ba82
Change-Id: Ib5af1ec80a38432d1201fbc913acdc3597d6ba82

6 years agoMerge "Update documentation for Activity#onCreate." into pi-dev
Bryce Lee [Mon, 12 Mar 2018 19:18:36 +0000 (19:18 +0000)]
Merge "Update documentation for Activity#onCreate." into pi-dev

6 years agoMerge "Moved urlBarResourceId from autofill service manifest to whitelist settings...
TreeHugger Robot [Mon, 12 Mar 2018 18:53:10 +0000 (18:53 +0000)]
Merge "Moved urlBarResourceId from autofill service manifest to whitelist settings." into pi-dev

6 years agoMerge "Move escrow APIs into LockSettingsInternal" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 18:51:28 +0000 (18:51 +0000)]
Merge "Move escrow APIs into LockSettingsInternal" into pi-dev

6 years agoMerge "Polish FingerprintDialog" into pi-dev
Kevin Chyn [Mon, 12 Mar 2018 18:35:05 +0000 (18:35 +0000)]
Merge "Polish FingerprintDialog" into pi-dev

6 years agoMerge "Statsd BroadcastSubscribers can receive 'cookies'" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 18:27:02 +0000 (18:27 +0000)]
Merge "Statsd BroadcastSubscribers can receive 'cookies'" into pi-dev

6 years agoMerge "Remove kPullerCooldownMap from code" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 18:25:00 +0000 (18:25 +0000)]
Merge "Remove kPullerCooldownMap from code" into pi-dev

6 years agoMerge "Adding generation of ACTION_TOGGLE_RECENTS to shared lib" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 18:13:16 +0000 (18:13 +0000)]
Merge "Adding generation of ACTION_TOGGLE_RECENTS to shared lib" into pi-dev

6 years agoAllow TextClassifierServices to get a hold of a local TextClassifer.
Abodunrinwa Toki [Tue, 6 Mar 2018 18:18:30 +0000 (18:18 +0000)]
Allow TextClassifierServices to get a hold of a local TextClassifer.

Test: builds
Bug: 74466564
Bug: 72747726
Merged-In: Idb108f2b3d95393a051f9f19b0c04fc4e3ed2b33
Change-Id: Idb108f2b3d95393a051f9f19b0c04fc4e3ed2b33

6 years agoMerge "Defer deleting a http cache" into pi-dev
Chris Tate [Mon, 12 Mar 2018 18:00:05 +0000 (18:00 +0000)]
Merge "Defer deleting a http cache" into pi-dev

6 years agoDefer deleting a http cache
Hidehiko Tsuchiya [Thu, 18 Jan 2018 04:50:55 +0000 (13:50 +0900)]
Defer deleting a http cache

Symptom:
StatementService was crashed due to the exception;
"java.lang.IllegalStateException: cache is closed"

Root cause:
The http cache is deleted at DirectStatementService#onDestroy
in main thread. If a worker thread is still alive and it tries to
access the cache, it fails with IllegalStateException.

Solution:
The request of deleting a cache was moved from the main thread to
worker. Now, the cache can be deleted safely.

Cherrypick from AOSP master.

Bug: 73911877
Test: manual
Change-Id: I61f4e62b00e35f4a272ef983758e61ef3bf2d180
Merged-In: I61f4e62b00e35f4a272ef983758e61ef3bf2d180

6 years agoMerge "Avoid changing display power state on draw wake lock" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 17:58:55 +0000 (17:58 +0000)]
Merge "Avoid changing display power state on draw wake lock" into pi-dev

6 years agoMerge "Implement CodecProfileLevel.{equals|hashCode}" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 17:45:57 +0000 (17:45 +0000)]
Merge "Implement CodecProfileLevel.{equals|hashCode}" into pi-dev

6 years agoMerge "Logging in StatsCompanionService" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 17:37:11 +0000 (17:37 +0000)]
Merge "Logging in StatsCompanionService" into pi-dev

6 years agoAdd default URL bar resource id for autofill compat mode.
Felipe Leme [Mon, 12 Mar 2018 17:28:42 +0000 (10:28 -0700)]
Add default URL bar resource id for autofill compat mode.

These ids used to be defined at the manifest but now are defined on settings,
so we need to provide default values until the settings are fixed.

Test: atest FrameworksServicesTests:AutofillManagerServiceTest

Bug: 74445943

Change-Id: I050a96d73cb9e008179865381c6abc3041e82844

6 years agoDisplayCutout: Support more than one cutout
Adrian Roos [Mon, 5 Mar 2018 18:50:16 +0000 (19:50 +0100)]
DisplayCutout: Support more than one cutout

Also makes API more restrictive. Also moves window manager specific
logic out of the framework. Also fixes SystemUI such that it can properly
deal with more than one cutout.

Bug: 74195186
Test: atest DisplayCutoutTest WmDisplayCutoutTest DisplayContentTests WindowFrameTests
Change-Id: Ib7b89e119ce2d3961687579bb81eadce1159a600

6 years agoMoved urlBarResourceId from autofill service manifest to whitelist settings.
Felipe Leme [Fri, 9 Mar 2018 22:13:18 +0000 (14:13 -0800)]
Moved urlBarResourceId from autofill service manifest to whitelist settings.

The manifest attribute is still public as it might have been used by autofill
services deployed against P DP1; it will be removed after the next developer
previs is branched out. We also need to assumie a default value for the buttons
if not specified by settings, but that will be done in a separate change so it
can be easily reverted.

Also implemented support for multiple buttons, and added unit tests.

Test: atest CtsAutoFillServiceTestCases:VirtualContainerActivityCompatModeTest \
CtsAutoFillServiceTestCases:VirtualContainerActivityTest \
FrameworksServicesTests:AutofillManagerServiceTest

Bug: 74445943
Bug: 72811561
Fixes: 73786629

Change-Id: I066ecf40fde2c5318dd8633a659fca8b7af8aecd

6 years agoUpdate documentation for Activity#onCreate.
Bryce Lee [Mon, 12 Mar 2018 17:06:23 +0000 (10:06 -0700)]
Update documentation for Activity#onCreate.

The current description incorrectly states #onDestroy will be called
immediately when invoking #finish during #onCreate.

Change-Id: I816a54457d7aca0b40feac9a5656d94f7e712c76
Fixes: 69144863
Test: comment update.

6 years agoMerge "Nit cleanup: Update TileLayout.onLayout" into pi-dev
Rohan Shah [Mon, 12 Mar 2018 16:53:56 +0000 (16:53 +0000)]
Merge "Nit cleanup: Update TileLayout.onLayout" into pi-dev

6 years agoMerge "[QS] Fix alarm text in QS header" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 16:53:13 +0000 (16:53 +0000)]
Merge "[QS] Fix alarm text in QS header" into pi-dev

6 years agoMerge "[QS] Update hotspot tile secondary text (data saver)" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 16:46:18 +0000 (16:46 +0000)]
Merge "[QS] Update hotspot tile secondary text (data saver)" into pi-dev

6 years agoMerge "Don't let non-touchable windows retain a11y focus" into pi-dev
Phil Weaver [Mon, 12 Mar 2018 16:42:10 +0000 (16:42 +0000)]
Merge "Don't let non-touchable windows retain a11y focus" into pi-dev

6 years agoAudioService: Hearing Aid output management
Jakub Pawlowski [Thu, 22 Feb 2018 01:15:12 +0000 (17:15 -0800)]
AudioService: Hearing Aid output management

This patch makes Hearing Aid output active/inactive when the connection
state, reported from Bluetooth stack is changed.

Bug: 64038649
Test: mm
Change-Id: Iaeee39febab3c340a77e02afe3e0a573fb9736f9

6 years agoMerge "Whitelist UsbManager and UsbPortStatus apis" into pi-dev
Artem Iglikov [Mon, 12 Mar 2018 16:28:46 +0000 (16:28 +0000)]
Merge "Whitelist UsbManager and UsbPortStatus apis" into pi-dev

6 years agoMerge "Fix resource directory references" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 16:23:29 +0000 (16:23 +0000)]
Merge "Fix resource directory references" into pi-dev

6 years agoMerge "Merge textclassifier/logging/ into textclassifier/" into pi-dev
Abodunrinwa Toki [Mon, 12 Mar 2018 15:16:53 +0000 (15:16 +0000)]
Merge "Merge textclassifier/logging/ into textclassifier/" into pi-dev

6 years agoMerge "Support enhanced call blocking function" into pi-dev
Tyler Gunn [Mon, 12 Mar 2018 15:16:04 +0000 (15:16 +0000)]
Merge "Support enhanced call blocking function" into pi-dev

6 years agoMerge "Camera: SessionConfiguration should use Executors" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 14:55:34 +0000 (14:55 +0000)]
Merge "Camera: SessionConfiguration should use Executors" into pi-dev

6 years agoFix resource directory references
Alan Viverette [Mon, 12 Mar 2018 14:32:22 +0000 (10:32 -0400)]
Fix resource directory references

Fixes: 74514647
Test: make
Change-Id: I47d65e56f7cdd3faa80c14d18e2e7767ca293ee4

6 years agoMerge "Add measurements for TransportClient connections" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 14:32:59 +0000 (14:32 +0000)]
Merge "Add measurements for TransportClient connections" into pi-dev

6 years agoMerge "[Magnifier-28] Set corner radius" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 14:12:16 +0000 (14:12 +0000)]
Merge "[Magnifier-28] Set corner radius" into pi-dev

6 years agoMerge "Add hidden API used by CTS to greylist" into pi-dev
David Brazdil [Mon, 12 Mar 2018 13:41:13 +0000 (13:41 +0000)]
Merge "Add hidden API used by CTS to greylist" into pi-dev

6 years agoLog interruptive notifications
Julia Reynolds [Wed, 7 Mar 2018 13:30:37 +0000 (08:30 -0500)]
Log interruptive notifications

First pass only logs audibly interruptive notfications; visually
interruptive notifications will be added in a future CL

Test: runtest systemui-notification, cts
Bug: 74318867
Change-Id: I604495bd4af9741ec52c38e4faa17cc87e2a522b

6 years agoWhitelist UsbManager and UsbPortStatus apis
Artem Iglikov [Mon, 12 Mar 2018 11:21:56 +0000 (11:21 +0000)]
Whitelist UsbManager and UsbPortStatus apis

Bug: 74424953
Test: N/A
Change-Id: I8e96e3c81067a65430c58ab3f7fa2013a52d2be5

6 years agoAdd measurements for TransportClient connections
Bernardo Rufino [Fri, 9 Mar 2018 12:43:48 +0000 (12:43 +0000)]
Add measurements for TransportClient connections

Retrievable via 'adb shell dumpsys backup transportstats'.
Sample output:

Average connection time: 36.00 ms
Max connection time: 181 ms
Min connection time: 7 ms
Number of connections: 16
Per transport:
    com.google.android.gms/.backup.BackupTransportService
        Average connection time: 27.71 ms
        Max connection time: 139 ms
        Min connection time: 13 ms
        Number of connections: 14
    com.google.android.gms/.backup.component.D2dTransportService
        Average connection time: 181.00 ms
        Max connection time: 181 ms
        Min connection time: 181 ms
        Number of connections: 1
    android/com.android.internal.backup.LocalTransportService
        Average connection time: 7.00 ms
        Max connection time: 7 ms
        Min connection time: 7 ms
        Number of connections: 1

Bug: 72485465
Test: Will follow in another CL if reviewers OK w/ approach.
Change-Id: I133ed423d0b8471d69e3c3631aadee7d42d0ec0e
(cherry picked from commit e5a976404c66c054fbec9b124f816a90f9d6b4dc)

6 years agoMove escrow APIs into LockSettingsInternal
Rubin Xu [Thu, 24 Aug 2017 17:21:52 +0000 (18:21 +0100)]
Move escrow APIs into LockSettingsInternal

Remove the IPC interfaces so these APIs are only available to other
services running inside system server process only.

Bug: 62264551
Test: runtest frameworks-services -p com.android.server.locksettings
Change-Id: Ic7ac5df5fb977bc68a2c4daafaa3cdaf3ba66fcd

6 years ago[Magnifier-28] Set corner radius
Mihai Popa [Thu, 1 Mar 2018 16:08:14 +0000 (16:08 +0000)]
[Magnifier-28] Set corner radius

This CL updates both the magnifier and the floating toolbar to use the
dialogCornerRadius attribute for the corner radius of their windows. In
both we use its value defined in the default device theme, rather than
the value defined in the application's custom theme.

Bug: 70848492
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: Ifcf4cff1f38fd18b7dbb4c1802390e3beb92cd3c
(cherry picked from commit 3dcbc2112d9a47779f2d6b1a54df729ae43aed7e)
Merged-In: Ifcf4cff1f38fd18b7dbb4c1802390e3beb92cd3c

6 years ago[Magnifier-33] Add animation on line jump
Mihai Popa [Wed, 7 Mar 2018 19:56:21 +0000 (19:56 +0000)]
[Magnifier-33] Add animation on line jump

This CL adds a simple motion animation when the magnifier jumps between
lines.

Bug: 74381647
Test: manual testing
Test: atest FrameworksCoreTests:android.widget.TextViewActivityTest
Test: atest CtsWidgetTestCases:android.widget.cts.TextViewTest
Change-Id: I27caba47b18e694f93739866d6fd69569cb89184
(cherry picked from commit 8175edc7555febe2fd9792a13abb346577b02c95)
Merged-In: I27caba47b18e694f93739866d6fd69569cb89184

6 years agoMerge "[Magnifier-32] Do not magnify outside selection" into pi-dev
Mihai Popa [Mon, 12 Mar 2018 11:46:06 +0000 (11:46 +0000)]
Merge "[Magnifier-32] Do not magnify outside selection" into pi-dev

6 years agoAdd hidden API used by CTS to greylist
David Brazdil [Mon, 12 Mar 2018 10:15:46 +0000 (10:15 +0000)]
Add hidden API used by CTS to greylist

Hidden API uses detected during a run of CTS.

Bug: 64382372
Test: make
Test: run CTS, no 'dark greylist' uses
Change-Id: I7e1d4ddc731d35e427e2781f0a867db68c5f45ec

6 years agoMerge "Revert "Revert "Remove a compat hack SurfaceView#setWindowType()""" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 09:45:42 +0000 (09:45 +0000)]
Merge "Revert "Revert "Remove a compat hack SurfaceView#setWindowType()""" into pi-dev

6 years agoMerge "Revert "Plumb IME subtype change from IMMS to IMS."" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 08:49:20 +0000 (08:49 +0000)]
Merge "Revert "Plumb IME subtype change from IMMS to IMS."" into pi-dev

6 years agoMerge "Add the ability to refresh to the captive portal app." into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 08:42:05 +0000 (08:42 +0000)]
Merge "Add the ability to refresh to the captive portal app." into pi-dev

6 years agoAdd the ability to refresh to the captive portal app.
Chalard Jean [Fri, 9 Mar 2018 13:28:51 +0000 (22:28 +0900)]
Add the ability to refresh to the captive portal app.

Bug: 69840796
Test: manual
      created a small app that brings up the captive portal app,
      checked that pulling down does show the refresh spinner,
      refresh the page, and hide the spinner when refreshed.
      Checked that it works multiple times in a row.

Change-Id: Ieefdaffa9325b0c5f1b02ab6052c29a381f3a4d4

6 years agoMerge "Allow apps in /odm/app and /odm/priv-app" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 05:07:32 +0000 (05:07 +0000)]
Merge "Allow apps in /odm/app and /odm/priv-app" into pi-dev

6 years agoMerge "Bouncer animation" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 02:04:21 +0000 (02:04 +0000)]
Merge "Bouncer animation" into pi-dev

6 years agoMerge changes from topic "yukawa-b66498367" into pi-dev
TreeHugger Robot [Mon, 12 Mar 2018 01:58:06 +0000 (01:58 +0000)]
Merge changes from topic "yukawa-b66498367" into pi-dev

* changes:
  Revert "Switch and store keyboard layouts based on IME subtype."
  Revert "Accept null subtype in InputMethodSubtypeHandle."

6 years agoAllow apps in /odm/app and /odm/priv-app
Jiyong Park [Thu, 28 Dec 2017 03:03:28 +0000 (12:03 +0900)]
Allow apps in /odm/app and /odm/priv-app

/odm is a vendor partition other than /vendor. Both partitions are for
HW-specific modules such as HALs. The difference is that /odm is owned
by ODM (usually device manufacturer which designs the board), whereas
/vendor is owned by SoC manufacturer. In other words, /odm partition is
for board-specific customization to the /vendor partition.

Since apps can exist in /vendor/app and /vendor/priv-app, the same has
to be supported for /odm partition.

Bug: 71366495
Test: m -j
Teet: cd frameworks/base/tests/OdmApps; atest .
Change-Id: I1ec8b22b080efdefd67a45ce9c7aeaa2aef350e0

6 years agoMerge "Switch to BaseNetdEventCallback instead of interface" into pi-dev
Erik Kline [Mon, 12 Mar 2018 01:25:02 +0000 (01:25 +0000)]
Merge "Switch to BaseNetdEventCallback instead of interface" into pi-dev

6 years agoMerge "Correct button measuring" into pi-dev
Lucas Dupin [Sat, 10 Mar 2018 19:00:03 +0000 (19:00 +0000)]
Merge "Correct button measuring" into pi-dev

6 years agoMerge textclassifier/logging/ into textclassifier/
Abodunrinwa Toki [Fri, 2 Mar 2018 13:53:21 +0000 (13:53 +0000)]
Merge textclassifier/logging/ into textclassifier/

This is based on feedback on Ib5af1ec80a38432d1201fbc913acdc3597d6ba82

Bug: 74466564
Bug: 67609167
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest
Test: bit CtsViewTestCases:android.view.textclassifier.cts.LoggerTest
Merged-In: Ic8d58acb2bbd63cedcac4aa16940b4ac852aadc8
Change-Id: Ic8d58acb2bbd63cedcac4aa16940b4ac852aadc8

6 years agoMerge "Add tron metric logging" into pi-dev
Victor Chang [Sat, 10 Mar 2018 12:24:38 +0000 (12:24 +0000)]
Merge "Add tron metric logging" into pi-dev

6 years agoMerge "Add more common hidden API uses into light greylist" into pi-dev
David Brazdil [Sat, 10 Mar 2018 11:52:12 +0000 (11:52 +0000)]
Merge "Add more common hidden API uses into light greylist" into pi-dev

6 years agoMerge "Deprecate most of NetworkInfo." into pi-dev
Chalard Jean [Sat, 10 Mar 2018 07:51:11 +0000 (07:51 +0000)]
Merge "Deprecate most of NetworkInfo." into pi-dev

6 years agoMerge "Expose CONNECTIVITY_ACTION to Instant Apps" into pi-dev
TreeHugger Robot [Sat, 10 Mar 2018 04:34:08 +0000 (04:34 +0000)]
Merge "Expose CONNECTIVITY_ACTION to Instant Apps" into pi-dev

6 years agoRework thumbnail cleanup -- DO NOT MERGE
Marco Nelissen [Tue, 7 Nov 2017 21:52:02 +0000 (13:52 -0800)]
Rework thumbnail cleanup -- DO NOT MERGE

Bug: 63766886
Test: ran CTS tests
Change-Id: I1f92bb014e275eafe3f42aef1f8c817f187c6608
Merged-In: I1f92bb014e275eafe3f42aef1f8c817f187c6608

6 years agoAdding generation of ACTION_TOGGLE_RECENTS to shared lib
Vadim Tryshev [Fri, 9 Mar 2018 19:08:53 +0000 (11:08 -0800)]
Adding generation of ACTION_TOGGLE_RECENTS to shared lib

Bug: 72967764
Test: atest google/perf/app-transition/sysui-latency-test, watch for 1_*
entries in output

Change-Id: I0bfaa46df4f3167687099742cb3063e88dab30ae

6 years agoMerge "Zygote: Set libbase default tag on fork" into pi-dev
TreeHugger Robot [Sat, 10 Mar 2018 03:09:52 +0000 (03:09 +0000)]
Merge "Zygote: Set libbase default tag on fork" into pi-dev

6 years agoLogging in StatsCompanionService
Tej Singh [Fri, 9 Mar 2018 03:07:58 +0000 (19:07 -0800)]
Logging in StatsCompanionService

Converted a lot of log lines to debug and turned them off by default.

Bug: 72567474
Test: none
Change-Id: I46ca0609648e64b862a56e5f5d445c91a3e889da

6 years agoMerge "PackageManager: Avoid null access" into pi-dev
TreeHugger Robot [Sat, 10 Mar 2018 01:52:55 +0000 (01:52 +0000)]
Merge "PackageManager: Avoid null access" into pi-dev

6 years agoMerge "Merge changes from topic "am-59911b1f-fa0c-400c-a3f8-812ac0a8762b" into oc...
Android Build Merger (Role) [Sat, 10 Mar 2018 01:14:39 +0000 (01:14 +0000)]
Merge "Merge changes from topic "am-59911b1f-fa0c-400c-a3f8-812ac0a8762b" into oc-dev am: fe6a5c4675 am: 5eb85f01d2 am: 037206683b" into pi-dev

6 years agoMerge changes from topic "am-59911b1f-fa0c-400c-a3f8-812ac0a8762b" into oc-dev am...
Pengquan Meng [Sat, 10 Mar 2018 01:14:11 +0000 (01:14 +0000)]
Merge changes from topic "am-59911b1f-fa0c-400c-a3f8-812ac0a8762b" into oc-dev am: fe6a5c4675 am: 5eb85f01d2
am: 037206683b

Change-Id: If981740986af74936a82d496eab591d8009e3613

6 years agoMerge "Adding isNotInRecents to RemoteAnimationTarget" into pi-dev
TreeHugger Robot [Sat, 10 Mar 2018 01:11:27 +0000 (01:11 +0000)]
Merge "Adding isNotInRecents to RemoteAnimationTarget" into pi-dev

6 years agoBouncer animation
Lucas Dupin [Mon, 5 Mar 2018 04:18:15 +0000 (20:18 -0800)]
Bouncer animation

More obvious animation where bouncer position is influenced
by touches.

Test: Pull up bouncer, press back button
Test: Pull up bouncer, unlock with fp
Test: Unlock with fp with bouncer hidden
Test: Unlock with SmartLock
Test: Ask for auth on top of FLAG_SHOW_WHEN_LOCKED activity, press back
Test: packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Fixes: 3699775
Change-Id: I016dfa17f17571261691669c82385d2d844c5917

6 years agoMerge "MediaPlayer2Impl: fix getBufferedPosition" into pi-dev
TreeHugger Robot [Sat, 10 Mar 2018 01:00:35 +0000 (01:00 +0000)]
Merge "MediaPlayer2Impl: fix getBufferedPosition" into pi-dev

6 years agoMerge "statsd AnomalyDetection improvements" into pi-dev
TreeHugger Robot [Sat, 10 Mar 2018 00:55:21 +0000 (00:55 +0000)]
Merge "statsd AnomalyDetection improvements" into pi-dev

6 years agoMerge changes from topic "am-59911b1f-fa0c-400c-a3f8-812ac0a8762b" into oc-dev am...
Pengquan Meng [Sat, 10 Mar 2018 00:44:41 +0000 (00:44 +0000)]
Merge changes from topic "am-59911b1f-fa0c-400c-a3f8-812ac0a8762b" into oc-dev am: fe6a5c4675
am: 5eb85f01d2

Change-Id: Iaf8ea26f3739a5c62ce6bb402ae8161ef99b5f80

6 years agoMerge "Track last job execution in heartbeat time, not strictly real time" into pi-dev
TreeHugger Robot [Sat, 10 Mar 2018 00:22:57 +0000 (00:22 +0000)]
Merge "Track last job execution in heartbeat time, not strictly real time" into pi-dev

6 years agoMerge "Stop preloading recent tasks in SysUI when bound to overview service" into...
Winson Chung [Sat, 10 Mar 2018 00:22:31 +0000 (00:22 +0000)]
Merge "Stop preloading recent tasks in SysUI when bound to overview service" into pi-dev

6 years agoMerge changes from topic "am-59911b1f-fa0c-400c-a3f8-812ac0a8762b" into oc-dev
Pengquan Meng [Sat, 10 Mar 2018 00:20:21 +0000 (00:20 +0000)]
Merge changes from topic "am-59911b1f-fa0c-400c-a3f8-812ac0a8762b" into oc-dev
am: fe6a5c4675

Change-Id: I4440e9b50e975ea3a20ecd216b83deb83afe2780

6 years agoMerge "Filter out detached views from touch" into pi-dev
TreeHugger Robot [Sat, 10 Mar 2018 00:18:34 +0000 (00:18 +0000)]
Merge "Filter out detached views from touch" into pi-dev

6 years agoMerge "Fixed issue with focusing on minimized split-screen stack" into pi-dev
Wale Ogunwale [Sat, 10 Mar 2018 00:17:10 +0000 (00:17 +0000)]
Merge "Fixed issue with focusing on minimized split-screen stack" into pi-dev

6 years agoMerge "Added ACTION_BATTERY_LEVEL_CHANGED" into pi-dev
Fyodor Kupolov [Sat, 10 Mar 2018 00:14:11 +0000 (00:14 +0000)]
Merge "Added ACTION_BATTERY_LEVEL_CHANGED" into pi-dev

6 years agoMerge "Add -c option for dumpsys usagestats" into pi-dev
Michael Wachenschwanz [Sat, 10 Mar 2018 00:14:06 +0000 (00:14 +0000)]
Merge "Add -c option for dumpsys usagestats" into pi-dev

6 years agoDon't let non-touchable windows retain a11y focus
Phil Weaver [Sat, 10 Mar 2018 00:00:24 +0000 (16:00 -0800)]
Don't let non-touchable windows retain a11y focus

Accessibility services can't see non-touchable windows,
so those windows should not be allowed to have
accessibility focus.

Bug: 70986605
Test: Manually went through bug steps, verified that
double-tapping on the screen has no effect.

Change-Id: I7be72331c5704f7aa99714a01bbb2e336eea15e1

6 years agoMerge "Permit all daltonizer settings to be restored" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 23:55:50 +0000 (23:55 +0000)]
Merge "Permit all daltonizer settings to be restored" into pi-dev

6 years ago[QS] Fix alarm text in QS header
Rohan Shah [Fri, 9 Mar 2018 23:47:36 +0000 (15:47 -0800)]
[QS] Fix alarm text in QS header

Alarm text would go away until a restart. Turned out that we were
incorrectly making the view invisible immediately after animating it in
because the listener persisted on the ViewPropertyAnimator (single
instance per View).

Test: Visually using repro steps
Bug: 74359491
Change-Id: I2e0b8a9f4b767450df72f7ea7953f4ed75ae8f4c