OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Add more APIs on hidden API light greylist" into pi-dev
David Brazdil [Mon, 12 Mar 2018 23:16:24 +0000 (23:16 +0000)]
Merge "Add more APIs on hidden API light greylist" into pi-dev
am: 34cc187561

Change-Id: I242e26f3bedff68c2e2f54ff2e1ebaf745454102

6 years agoMerge "Merge "Remove getDefaultSim hidden api" am: fdf4dd7928 am: 083986303a" into...
Android Build Merger (Role) [Mon, 12 Mar 2018 23:07:52 +0000 (23:07 +0000)]
Merge "Merge "Remove getDefaultSim hidden api" am: fdf4dd7928 am: 083986303a" into pi-dev-plus-aosp

6 years agoMerge "Remove getDefaultSim hidden api" am: fdf4dd7928
Jordan Liu [Mon, 12 Mar 2018 23:07:23 +0000 (23:07 +0000)]
Merge "Remove getDefaultSim hidden api" am: fdf4dd7928
am: 083986303a

Change-Id: Ib638d1a7002e24f53150c505aee359cf062ddfdd

6 years agoMerge "Log interruptive notifications" into pi-dev
Julia Reynolds [Mon, 12 Mar 2018 23:05:40 +0000 (23:05 +0000)]
Merge "Log interruptive notifications" into pi-dev
am: dcf12d4a39

Change-Id: Id22e93e6777b956721425a434adb3c270ddc8b57

6 years agoMerge "Remove getDefaultSim hidden api"
Jordan Liu [Mon, 12 Mar 2018 22:57:21 +0000 (22:57 +0000)]
Merge "Remove getDefaultSim hidden api"
am: fdf4dd7928

Change-Id: Iddf30f8b24ec3de2497af050674a0d4d64cb7686

6 years agoMerge "Add default URL bar resource id for autofill compat mode." into pi-dev
Felipe Leme [Mon, 12 Mar 2018 22:54:09 +0000 (22:54 +0000)]
Merge "Add default URL bar resource id for autofill compat mode." into pi-dev
am: c2ecfd9754

Change-Id: I26402bc6a7f4cce95601d1653efc299c3c271888

6 years agoRework thumbnail cleanup -- DO NOT MERGE am: 338438b389 am: dfd8732488 -s ours am...
Marco Nelissen [Mon, 12 Mar 2018 22:00:25 +0000 (22:00 +0000)]
Rework thumbnail cleanup -- DO NOT MERGE am: 338438b389 am: dfd8732488  -s ours am: afa1ac1c45  -s ours
am: cb956d256e  -s ours

Change-Id: I9f29983908e7b3ddd7053da7fbf6ce3d9e80ff97

6 years agoMerge "Implemented WebView.isVisibleToUserForAutofill()" into pi-dev
Felipe Leme [Mon, 12 Mar 2018 21:52:13 +0000 (21:52 +0000)]
Merge "Implemented WebView.isVisibleToUserForAutofill()" into pi-dev
am: ec174b28c4

Change-Id: I472cbdae966778e46fd4d05c0455cc352cdc63b5

6 years agoMerge "Expose whether a snapshot is a real snapshot" into pi-dev
Winson Chung [Mon, 12 Mar 2018 21:47:35 +0000 (21:47 +0000)]
Merge "Expose whether a snapshot is a real snapshot" into pi-dev
am: 4aee38fd01

Change-Id: Ib94f0ca6e741bbb8495c33803516ffb94227ae2b

6 years agoMerge "Revert "Disable LTO temporarily for hwui"" into pi-dev
Pirama Arumuga Nainar [Mon, 12 Mar 2018 21:42:56 +0000 (21:42 +0000)]
Merge "Revert "Disable LTO temporarily for hwui"" into pi-dev
am: 6964e7548f

Change-Id: I8858a18ec131cf6d75df4ddb9850de8e573c3674

6 years agoMerge "Unhide ImsCallProfileConstructor." into pi-dev
Mohamed Abdalkader [Mon, 12 Mar 2018 21:38:00 +0000 (21:38 +0000)]
Merge "Unhide ImsCallProfileConstructor." into pi-dev
am: 7333793eaa

Change-Id: I9133d9a2bca538fd3b099ff5132b8e7460e50074

6 years agoMerge "AudioService: Hearing Aid output management" into pi-dev
Jakub Pawlowski [Mon, 12 Mar 2018 21:33:15 +0000 (21:33 +0000)]
Merge "AudioService: Hearing Aid output management" into pi-dev
am: 228f8f877a

Change-Id: Id15e31b1d405d004b4e9f1099f478e5b222a3656

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 "Add Application.getProcessName()" into pi-dev
Andrew Grieve [Mon, 12 Mar 2018 21:25:28 +0000 (21:25 +0000)]
Merge "Add Application.getProcessName()" into pi-dev
am: 44662a157e

Change-Id: I90a6d1dce5b504e578161e365f9efa74935779c6

6 years agoMerge "Remove getDefaultSim hidden api"
Jordan Liu [Mon, 12 Mar 2018 21:17:43 +0000 (21:17 +0000)]
Merge "Remove getDefaultSim hidden api"

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

Change-Id: I5744f14be7cf4a0086f987227558c74974f2532b

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 agoMerge "Update documentation for Activity#onCreate." into pi-dev
Bryce Lee [Mon, 12 Mar 2018 20:50:19 +0000 (20:50 +0000)]
Merge "Update documentation for Activity#onCreate." into pi-dev
am: 2b9620cc71

Change-Id: Ida3fd0947d97a6e26547d4182691ae8c66f5705c

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 agoMerge "Moved urlBarResourceId from autofill service manifest to whitelist settings...
Felipe Leme [Mon, 12 Mar 2018 20:19:10 +0000 (20:19 +0000)]
Merge "Moved urlBarResourceId from autofill service manifest to whitelist settings." into pi-dev
am: 9e56800b6e

Change-Id: I521d7b979b343cf89db14864b63a10b29396694e

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 "Move escrow APIs into LockSettingsInternal" into pi-dev
Rubin Xu [Mon, 12 Mar 2018 20:12:18 +0000 (20:12 +0000)]
Merge "Move escrow APIs into LockSettingsInternal" into pi-dev
am: e40dcabbc8

Change-Id: I0e6a1c4355243cf8ae0074672bb26f8669343c49

6 years agoMerge "Polish FingerprintDialog" into pi-dev
Kevin Chyn [Mon, 12 Mar 2018 20:02:59 +0000 (20:02 +0000)]
Merge "Polish FingerprintDialog" into pi-dev
am: 7b97503caa

Change-Id: I39ffd837d75c40ca0cb33c96d7cb501045ef457f

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 agoMerge "Statsd BroadcastSubscribers can receive 'cookies'" into pi-dev
Bookatz [Mon, 12 Mar 2018 19:49:31 +0000 (19:49 +0000)]
Merge "Statsd BroadcastSubscribers can receive 'cookies'" into pi-dev
am: 81cacb274c

Change-Id: I4a74e97d84db573c98d4fbb3645ad0662c153aea

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 agoMerge "Remove kPullerCooldownMap from code" into pi-dev
Chenjie Yu [Mon, 12 Mar 2018 19:36:58 +0000 (19:36 +0000)]
Merge "Remove kPullerCooldownMap from code" into pi-dev
am: 9722ec74e0

Change-Id: I729a7169fbc579adfb72652e1123fbb932ad811b

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 agoMerge "Adding generation of ACTION_TOGGLE_RECENTS to shared lib" into pi-dev
Vadim Tryshev [Mon, 12 Mar 2018 19:32:02 +0000 (19:32 +0000)]
Merge "Adding generation of ACTION_TOGGLE_RECENTS to shared lib" into pi-dev
am: 82bc5baeb5

Change-Id: Ice9e85805b27139bbeec98f0c1736e0265d95309

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 agoAllow TextClassifierServices to get a hold of a local TextClassifer.
Abodunrinwa Toki [Mon, 12 Mar 2018 19:15:37 +0000 (19:15 +0000)]
Allow TextClassifierServices to get a hold of a local TextClassifer.
am: e6d974a567

Change-Id: I4f2b63e01ce93186857641616c4eea3aae039bc8

6 years agoMerge "Merge "Make TelephonyManager#{set/get}{Voice/Date}ActivationState SystemApis...
Android Build Merger (Role) [Mon, 12 Mar 2018 18:54:01 +0000 (18:54 +0000)]
Merge "Merge "Make TelephonyManager#{set/get}{Voice/Date}ActivationState SystemApis" am: d82b356685 am: 30663935e4  -s ours" into pi-dev-plus-aosp

6 years agoMerge "Make TelephonyManager#{set/get}{Voice/Date}ActivationState SystemApis" am...
Gil O'Neil [Mon, 12 Mar 2018 18:53:32 +0000 (18:53 +0000)]
Merge "Make TelephonyManager#{set/get}{Voice/Date}ActivationState SystemApis" am: d82b356685
am: 30663935e4  -s ours

Change-Id: I954f586f115e822d96e60526125f7791390ae0c3

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 "Defer deleting a http cache" into pi-dev
Chris Tate [Mon, 12 Mar 2018 18:51:16 +0000 (18:51 +0000)]
Merge "Defer deleting a http cache" into pi-dev
am: 15e91e6f3a  -s ours

Change-Id: I603138ee257f6f6c7d5d77a5720149cb09225682

6 years agoMerge "Make TelephonyManager#{set/get}{Voice/Date}ActivationState SystemApis"
Gil O'Neil [Mon, 12 Mar 2018 18:40:35 +0000 (18:40 +0000)]
Merge "Make TelephonyManager#{set/get}{Voice/Date}ActivationState SystemApis"
am: d82b356685

Change-Id: I2c1cd1512450401c89d5603d75dcd9ad358544b8

6 years agoMerge "Avoid changing display power state on draw wake lock" into pi-dev
Ivan Podogov [Mon, 12 Mar 2018 18:37:31 +0000 (18:37 +0000)]
Merge "Avoid changing display power state on draw wake lock" into pi-dev
am: a71712dfa8

Change-Id: Idabd29b48e2450974f44a982fe2fd95086af8005

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 "Implement CodecProfileLevel.{equals|hashCode}" into pi-dev
Wonsik Kim [Mon, 12 Mar 2018 18:15:45 +0000 (18:15 +0000)]
Merge "Implement CodecProfileLevel.{equals|hashCode}" into pi-dev
am: 89a2b6c560

Change-Id: I95389e92c7d0b9cae098997e6c6e7b9aa27a149e

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 "Logging in StatsCompanionService" into pi-dev
Tej Singh [Mon, 12 Mar 2018 17:54:00 +0000 (17:54 +0000)]
Merge "Logging in StatsCompanionService" into pi-dev
am: fe00a37b8f

Change-Id: If44d77b5dc85e340d5e2cd5542540a2cf85ea36e

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 agoMerge "Make TelephonyManager#{set/get}{Voice/Date}ActivationState SystemApis"
Gil O'Neil [Mon, 12 Mar 2018 17:28:47 +0000 (17:28 +0000)]
Merge "Make TelephonyManager#{set/get}{Voice/Date}ActivationState SystemApis"

6 years agoMerge "Nit cleanup: Update TileLayout.onLayout" into pi-dev
Rohan Shah [Mon, 12 Mar 2018 17:28:44 +0000 (17:28 +0000)]
Merge "Nit cleanup: Update TileLayout.onLayout" into pi-dev
am: 71120e1b20

Change-Id: I87ac4893c28360bba7cb088bfaaa652619196bfc

6 years agoMerge "[QS] Fix alarm text in QS header" into pi-dev
Rohan Shah [Mon, 12 Mar 2018 17:20:43 +0000 (17:20 +0000)]
Merge "[QS] Fix alarm text in QS header" into pi-dev
am: df59556a9e

Change-Id: If0c7c6b4669f51d81bc7b84adc39442ce06b2850

6 years agoMerge "[QS] Update hotspot tile secondary text (data saver)" into pi-dev
Rohan Shah [Mon, 12 Mar 2018 17:12:25 +0000 (17:12 +0000)]
Merge "[QS] Update hotspot tile secondary text (data saver)" into pi-dev
am: 0cee663bf6

Change-Id: Ie902f041a2dfb678803556426507a323192f2411

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 "Don't let non-touchable windows retain a11y focus" into pi-dev
Phil Weaver [Mon, 12 Mar 2018 17:04:20 +0000 (17:04 +0000)]
Merge "Don't let non-touchable windows retain a11y focus" into pi-dev
am: 8bbc30955a

Change-Id: Ia611497edd3721ea3ff88cf93087c45894b18656

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 "Whitelist UsbManager and UsbPortStatus apis" into pi-dev
Artem Iglikov [Mon, 12 Mar 2018 16:51:33 +0000 (16:51 +0000)]
Merge "Whitelist UsbManager and UsbPortStatus apis" into pi-dev
am: aad361480b

Change-Id: I76c655fc7d717c95291cc8cd3237a1b6c6e18dea

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 agoMerge "Fix resource directory references" into pi-dev
Alan Viverette [Mon, 12 Mar 2018 16:38:41 +0000 (16:38 +0000)]
Merge "Fix resource directory references" into pi-dev
am: c82bcf4d3c

Change-Id: I7e92f5b46c7809273dc7b41918df9839df41dfd7

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:49:43 +0000 (15:49 +0000)]
Merge "Merge textclassifier/logging/ into textclassifier/" into pi-dev
am: 9554dd94ec

Change-Id: Ic4f3b315e6afb94cdeea6b057af2fc84379f2b07

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

Change-Id: Ic13cea460351ca7a39f14aac26af58e127a05eb5

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
Emilian Peev [Mon, 12 Mar 2018 15:11:43 +0000 (15:11 +0000)]
Merge "Camera: SessionConfiguration should use Executors" into pi-dev
am: 9d3d6b4076

Change-Id: I906fd922753497dc150e8fe2d68d7af72152a316

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 agoMerge "Add measurements for TransportClient connections" into pi-dev
Bernardo Rufino [Mon, 12 Mar 2018 14:54:22 +0000 (14:54 +0000)]
Merge "Add measurements for TransportClient connections" into pi-dev
am: 4bc0f39b4c

Change-Id: I1280327ce46033c6e1215d8562cdab94fbc30f69

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
Mihai Popa [Mon, 12 Mar 2018 14:29:23 +0000 (14:29 +0000)]
Merge "[Magnifier-28] Set corner radius" into pi-dev
am: d50aa52596

Change-Id: I77a28851c1945bcc7f8ed1660672e9f6c05c1e57

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 14:00:59 +0000 (14:00 +0000)]
Merge "Add hidden API used by CTS to greylist" into pi-dev
am: c819abbf20

Change-Id: I54605ca30ad9000e9bd16d3bb43ae630325912b7

6 years ago[Magnifier-33] Add animation on line jump
Mihai Popa [Mon, 12 Mar 2018 13:52:52 +0000 (13:52 +0000)]
[Magnifier-33] Add animation on line jump
am: 3872238081

Change-Id: Ie86a1e725ce97bb765db35dbb09dc085df1a7009

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 agoMerge "[Magnifier-32] Do not magnify outside selection" into pi-dev
Mihai Popa [Mon, 12 Mar 2018 12:08:18 +0000 (12:08 +0000)]
Merge "[Magnifier-32] Do not magnify outside selection" into pi-dev
am: 8a06a9f7dd

Change-Id: I852adb48ef86e3346c27bdecaf8d523107f8ce80

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
Tarandeep Singh [Mon, 12 Mar 2018 09:57:48 +0000 (09:57 +0000)]
Merge "Revert "Revert "Remove a compat hack SurfaceView#setWindowType()""" into pi-dev
am: 4b306e5e23

Change-Id: I7991370efab6d53c7b299ec86a851018062ed3f4

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
Yohei Yukawa [Mon, 12 Mar 2018 09:05:18 +0000 (09:05 +0000)]
Merge "Revert "Plumb IME subtype change from IMMS to IMS."" into pi-dev
am: 59444f6abf

Change-Id: Ibd6c9bc4bf05cd83d39964e085842902e599dbd5