OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Fix CTS, Remove CONFIGURE_ASSIST_GESTURE permission" into oc-dr1-dev
Kevin Chyn [Fri, 11 Aug 2017 01:09:34 +0000 (01:09 +0000)]
Merge "Fix CTS, Remove CONFIGURE_ASSIST_GESTURE permission" into oc-dr1-dev
am: cad75e2437

Change-Id: Ib609a68d8da9eab5e4993565c61aec9ea6b1ba35

7 years agoMerge "DO NOT MERGE: Update BatteryStatsImpl to handle change in no. of freqs." into...
Sudheer Shanka [Fri, 11 Aug 2017 01:05:43 +0000 (01:05 +0000)]
Merge "DO NOT MERGE: Update BatteryStatsImpl to handle change in no. of freqs." into oc-mr1-dev

7 years agoMerge "FP permission checks should not crash system process" into oc-mr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 01:01:58 +0000 (01:01 +0000)]
Merge "FP permission checks should not crash system process" into oc-mr1-dev

7 years agoMerge "Fix CTS, Remove CONFIGURE_ASSIST_GESTURE permission" into oc-dr1-dev
TreeHugger Robot [Fri, 11 Aug 2017 00:59:08 +0000 (00:59 +0000)]
Merge "Fix CTS, Remove CONFIGURE_ASSIST_GESTURE permission" into oc-dr1-dev

7 years agoMerge "Update ConnOnActivityStartTest to be hermetic." into oc-mr1-dev
Sudheer Shanka [Thu, 10 Aug 2017 22:52:40 +0000 (22:52 +0000)]
Merge "Update ConnOnActivityStartTest to be hermetic." into oc-mr1-dev

7 years agoMerge "Stop focusing views before layout." into oc-dr1-dev
Phil Weaver [Thu, 10 Aug 2017 22:44:39 +0000 (22:44 +0000)]
Merge "Stop focusing views before layout." into oc-dr1-dev
am: a5dab05b61

Change-Id: I31f4ce541ac56887549a654b5e313e1f361152c3

7 years agoDO NOT MERGE: Update BatteryStatsImpl to handle change in no. of freqs.
Sudheer Shanka [Thu, 10 Aug 2017 19:02:31 +0000 (12:02 -0700)]
DO NOT MERGE: Update BatteryStatsImpl to handle change in no. of freqs.

Bug: 62240247
Test: cts-tradefed run singleCommand cts-dev -m CtsIncidentHostTestCases -t \
      com.android.server.cts.BatteryStatsValidationTest

Change-Id: I1328fe7bf29229e9563cde6eea80addf2b91ea5d

7 years agoMerge "Stop focusing views before layout." into oc-dr1-dev
Phil Weaver [Thu, 10 Aug 2017 22:34:03 +0000 (22:34 +0000)]
Merge "Stop focusing views before layout." into oc-dr1-dev

7 years agoMerge "Delete all ro.hwui.* props" into oc-mr1-dev
John Reck [Thu, 10 Aug 2017 21:57:02 +0000 (21:57 +0000)]
Merge "Delete all ro.hwui.* props" into oc-mr1-dev

7 years agoFix CTS, Remove CONFIGURE_ASSIST_GESTURE permission
Kevin Chyn [Thu, 10 Aug 2017 18:40:37 +0000 (11:40 -0700)]
Fix CTS, Remove CONFIGURE_ASSIST_GESTURE permission

Test: make -j56 cts
run cts -m CtsPermission2TestCases -t android.permission2.cts.PermissionPolicyTest#testPlatformPermissionPolicyUnaltered --skip-connectivity-check --skip-preconditions --serial <device serial>

Fixes: 64560640

Change-Id: Ic807028567da9a4f3f108121d3e36358a513cf04

7 years agoMerge "SharedMemory API changes" into oc-mr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 19:41:53 +0000 (19:41 +0000)]
Merge "SharedMemory API changes" into oc-mr1-dev

7 years agoStop focusing views before layout.
Phil Weaver [Thu, 10 Aug 2017 19:31:34 +0000 (12:31 -0700)]
Stop focusing views before layout.

Rolls back one line of ag/2257919.

Bug: 63811145
Test: TalkBack no longer reads the page backwards in:
Settings > System > Reset > Factory data reset
Settings > Connected devices > Android Beam

Change-Id: I6b04e64cd650ebda193da4a54bf0721bd256820c

7 years agoMerge "Added focus behavior changes to Build.VERSION documentation." into oc-mr1-dev
Evan Rosky [Thu, 10 Aug 2017 19:21:29 +0000 (19:21 +0000)]
Merge "Added focus behavior changes to Build.VERSION documentation." into oc-mr1-dev

7 years agoMerge "CharSequenceTransformation should not change anything when comparision fails...
TreeHugger Robot [Thu, 10 Aug 2017 18:48:55 +0000 (18:48 +0000)]
Merge "CharSequenceTransformation should not change anything when comparision fails." into oc-mr1-dev

7 years agoMerge "Hide the SEND_EMBMS_INTENTS permission" into oc-mr1-dev
Hall Liu [Thu, 10 Aug 2017 18:20:47 +0000 (18:20 +0000)]
Merge "Hide the SEND_EMBMS_INTENTS permission" into oc-mr1-dev

7 years agoMerge "Revert "Initial support for proposed android.net.lowpan"" into oc-dr1-dev
Ian Pedowitz [Thu, 10 Aug 2017 17:45:50 +0000 (17:45 +0000)]
Merge "Revert "Initial support for proposed android.net.lowpan"" into oc-dr1-dev
am: 0716c8e60e  -s ours

Change-Id: Iebfcbec5681f6b600c662ba1f3e705f10be79437

7 years agoMerge "Low battery notification has unique sound." into oc-mr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 17:37:05 +0000 (17:37 +0000)]
Merge "Low battery notification has unique sound." into oc-mr1-dev

7 years agoMerge "Revert "Initial support for proposed android.net.lowpan"" into oc-dr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 17:32:47 +0000 (17:32 +0000)]
Merge "Revert "Initial support for proposed android.net.lowpan"" into oc-dr1-dev

7 years agoDelete all ro.hwui.* props
John Reck [Mon, 17 Jul 2017 16:55:02 +0000 (09:55 -0700)]
Delete all ro.hwui.* props

Remove all ro.hwui.* tuning props and instead
calculate them from the screen resolution.

Or just hardcode them to what all devices
were hardcoding them to anyway.

Bug: 63741221
Test: Check cache size results on sailfish

Change-Id: I8b0d210572a246f4fefb076935cf5156a70c274c
Merged-In: I8b0d210572a246f4fefb076935cf5156a70c274c
(cherry picked from commit 8dc02f99d09130ace2ee738c2e689db1b3f33181)

7 years agoMerge "Localization of zen mode default rules." into oc-mr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 16:41:36 +0000 (16:41 +0000)]
Merge "Localization of zen mode default rules." into oc-mr1-dev

7 years agoRevert "Initial support for proposed android.net.lowpan"
Ian Pedowitz [Thu, 10 Aug 2017 02:15:31 +0000 (19:15 -0700)]
Revert "Initial support for proposed android.net.lowpan"

This reverts commit 4e0c2195dd999859f4e79cec1884326fb52a5916.

Fixes: 64111427
Test: Grabbed OC CTS binaries
Test: Extracted android-cts.zip  and from android-cts/tools directory launched ./cts-tradefed
Test: On the DUT (running build which has this CL cherrypicked), ran the below (will run this test on both abi's):
Test: run cts -m CtsPermission2TestCases -t android.permission2.cts.PermissionPolicyTest#testPlatformPermissionPolicyUnaltered --skip-connectivity-check --skip-preconditions --serial <device serial>
Test: Note, while b/64111427 is fixed, this uncovered b/64560640

Change-Id: I1d2132678281a917f03c69d5ead1d28313d7f46d
Merged-In: Icab67ba2c40bc02968e3f8ed2da5a4a3be6cf77f

7 years agoMerge "ClassLoaderFactory: Correct broken refactoring from change 19da1cf72e8." into...
Narayan Kamath [Thu, 10 Aug 2017 15:34:22 +0000 (15:34 +0000)]
Merge "ClassLoaderFactory: Correct broken refactoring from change 19da1cf72e8." into oc-mr1-dev

7 years agoMerge "Fix handling of @removed APIs." into oc-mr1-dev
Jeff Sharkey [Thu, 10 Aug 2017 15:18:58 +0000 (15:18 +0000)]
Merge "Fix handling of @removed APIs." into oc-mr1-dev

7 years agoClassLoaderFactory: Correct broken refactoring from change 19da1cf72e8.
Narayan Kamath [Thu, 10 Aug 2017 11:09:13 +0000 (12:09 +0100)]
ClassLoaderFactory: Correct broken refactoring from change 19da1cf72e8.

Bug: 64493351
Test: cts-tradefed run cts-dev -t android.appsecurity.cts.ClassloaderSplitsTest -m CtsAppSecurityHostTestCases
Change-Id: Ib4868c1e0320002f5122193621e9ab56fe34819f

7 years agoMerge "PackageParser: Parse android:classLoader during the full parse." into oc-mr1-dev
Narayan Kamath [Thu, 10 Aug 2017 11:04:40 +0000 (11:04 +0000)]
Merge "PackageParser: Parse android:classLoader during the full parse." into oc-mr1-dev

7 years agoMerge "Remove config_demoModePackage resource" into oc-dr1-dev
Justin Klaassen [Thu, 10 Aug 2017 06:53:34 +0000 (06:53 +0000)]
Merge "Remove config_demoModePackage resource" into oc-dr1-dev
am: 934a1081fe

Change-Id: I31ce02bfd8c736d8e0d46173759558faf7a6cc2f

7 years agoMerge "Remove config_demoModePackage resource" into oc-dr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 06:42:32 +0000 (06:42 +0000)]
Merge "Remove config_demoModePackage resource" into oc-dr1-dev

7 years agoMerge "Add permission check before setMain()" into oc-mr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 06:39:31 +0000 (06:39 +0000)]
Merge "Add permission check before setMain()" into oc-mr1-dev

7 years agoMerge "Do not translate "Wi-Fi calling" for VF DE" into oc-dr1-dev
Jayachandran Chinnakkannu [Thu, 10 Aug 2017 06:06:04 +0000 (06:06 +0000)]
Merge "Do not translate "Wi-Fi calling" for VF DE" into oc-dr1-dev
am: 256fe97329

Change-Id: I2938b5aab766f236d351d66e8912cc05091502fc

7 years agoMerge "Do not translate "Wi-Fi calling" for VF DE" into oc-dr1-dev
Jayachandran Chinnakkannu [Thu, 10 Aug 2017 06:00:34 +0000 (06:00 +0000)]
Merge "Do not translate "Wi-Fi calling" for VF DE" into oc-dr1-dev

7 years agoMerge "Add settings and reset operations for demo users" into oc-dr1-dev
Christine Franks [Thu, 10 Aug 2017 05:37:57 +0000 (05:37 +0000)]
Merge "Add settings and reset operations for demo users" into oc-dr1-dev
am: 88710dead0

Change-Id: Id1b8515e9323731f7bacd55d850460f00fc2c651

7 years agoMerge "Add settings and reset operations for demo users" into oc-dr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 05:28:47 +0000 (05:28 +0000)]
Merge "Add settings and reset operations for demo users" into oc-dr1-dev

7 years agoMerge "Go: add features for low ram / normal ram devices." into oc-mr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 04:35:09 +0000 (04:35 +0000)]
Merge "Go: add features for low ram / normal ram devices." into oc-mr1-dev

7 years agoMerge "Add metric constant for settings preference int value change." into oc-mr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 03:41:06 +0000 (03:41 +0000)]
Merge "Add metric constant for settings preference int value change." into oc-mr1-dev

7 years agoRemove config_demoModePackage resource
Justin Klaassen [Wed, 9 Aug 2017 04:07:24 +0000 (21:07 -0700)]
Remove config_demoModePackage resource

Bug: 62712426
Test: lunch walleye-eng && make -j19
Change-Id: Ifa1080d85222a43871598eaf0fe9813625d9115d

7 years agoMerge "FingerprintService should release wakelock only if isHeld" into oc-mr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 02:47:00 +0000 (02:47 +0000)]
Merge "FingerprintService should release wakelock only if isHeld" into oc-mr1-dev

7 years agoMerge "Don't lock down system user in demo mode" into oc-dr1-dev
Christine Franks [Thu, 10 Aug 2017 02:25:09 +0000 (02:25 +0000)]
Merge "Don't lock down system user in demo mode" into oc-dr1-dev
am: 4f540fe8d0

Change-Id: Ib4670a8e4685a9f9bd933ccba9878bd59ccb6059

7 years agoAdd settings and reset operations for demo users
Christine Franks [Mon, 7 Aug 2017 21:28:35 +0000 (14:28 -0700)]
Add settings and reset operations for demo users

- Allow Global settings to be set in demo mode
- Allow Secure settings to be set by demo users
- Allow fully enabling apps for demo users
- Send enable broadcast as foreground broadcast

Bug: 62712426
Test: runtest -c \
com.android.server.devicepolicy.DevicePolicyManagerTest \
frameworks-services

Change-Id: Icd5d1eda12aa6b97bd4770713710a982bb0fc8e5

7 years agoMerge "Don't lock down system user in demo mode" into oc-dr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 02:17:48 +0000 (02:17 +0000)]
Merge "Don't lock down system user in demo mode" into oc-dr1-dev

7 years agoFP permission checks should not crash system process
Kevin Chyn [Wed, 9 Aug 2017 18:45:21 +0000 (11:45 -0700)]
FP permission checks should not crash system process

Fixes: 62335242

Test: modify FingerprintManager, check that system_server doesn't crash.
If the application tries to fake the opPackageName, they will receive
a SecurityException from appOps

Change-Id: I0ea213ca1b2c63811573405945a9fcda19472529

7 years agoMerge "Merge "Fix source for PiP hover accessibility events" into oc-dr1-dev am:...
Android Build Merger (Role) [Thu, 10 Aug 2017 00:21:24 +0000 (00:21 +0000)]
Merge "Merge "Fix source for PiP hover accessibility events" into oc-dr1-dev am: a4b5e0893f" into oc-mr1-dev

7 years agoMerge "Fix source for PiP hover accessibility events" into oc-dr1-dev
Phil Weaver [Thu, 10 Aug 2017 00:19:04 +0000 (00:19 +0000)]
Merge "Fix source for PiP hover accessibility events" into oc-dr1-dev
am: a4b5e0893f

Change-Id: I5e79cbadd085c2ce3eacae628388ce13bdded508

7 years agoMerge "DropBoxManagerService: Don't store redundant information" into oc-mr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 00:18:56 +0000 (00:18 +0000)]
Merge "DropBoxManagerService: Don't store redundant information" into oc-mr1-dev

7 years agoGo: add features for low ram / normal ram devices.
Dianne Hackborn [Tue, 8 Aug 2017 22:50:31 +0000 (15:50 -0700)]
Go: add features for low ram / normal ram devices.

Automatically populated from ActivityManager.isLowRamDevice().

Test: manual

Change-Id: I027b8ae0205c9793a91ffdd2635479610a62aff9

7 years agoMerge "Fix source for PiP hover accessibility events" into oc-dr1-dev
Phil Weaver [Thu, 10 Aug 2017 00:13:04 +0000 (00:13 +0000)]
Merge "Fix source for PiP hover accessibility events" into oc-dr1-dev

7 years agoMerge "Fix BLE scan leaks" into oc-mr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 23:45:13 +0000 (23:45 +0000)]
Merge "Fix BLE scan leaks" into oc-mr1-dev

7 years agoMerge "Cherry-pick: Add null check for Wi-Fi command" into oc-dr1-dev
Takashi Furukawa [Wed, 9 Aug 2017 23:28:41 +0000 (23:28 +0000)]
Merge "Cherry-pick: Add null check for Wi-Fi command" into oc-dr1-dev
am: b9a56a4af7  -s ours

Change-Id: Ib675b2f620cb2a3f57aa1ad3f1cbe891d24102e4

7 years agoHide the SEND_EMBMS_INTENTS permission
Hall Liu [Wed, 9 Aug 2017 23:16:44 +0000 (16:16 -0700)]
Hide the SEND_EMBMS_INTENTS permission

Bug: 64340162
Change-Id: Ia9370c0e80bb3a99df5008febc994846204272c1

7 years agoMerge "Revert multi-package APK flag to off." into oc-mr1-dev
Garry Boyer [Wed, 9 Aug 2017 23:24:28 +0000 (23:24 +0000)]
Merge "Revert multi-package APK flag to off." into oc-mr1-dev

7 years agoMerge "Cherry-pick: Add null check for Wi-Fi command" into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 23:12:57 +0000 (23:12 +0000)]
Merge "Cherry-pick: Add null check for Wi-Fi command" into oc-dr1-dev

7 years agoMerge "Don't set inset frame for letterboxed app in fullscreen" into oc-dr1-dev
Andrii Kulian [Wed, 9 Aug 2017 22:53:49 +0000 (22:53 +0000)]
Merge "Don't set inset frame for letterboxed app in fullscreen" into oc-dr1-dev
am: 7afbe54e0d

Change-Id: I9e3d26c49742cde534ade6a8568e0d021d6e2321

7 years agoMerge "Support copying from index8 into another index8." into oc-dr1-dev
Derek Sollenberger [Wed, 9 Aug 2017 22:50:12 +0000 (22:50 +0000)]
Merge "Support copying from index8 into another index8." into oc-dr1-dev
am: f112fde96d  -s ours

Change-Id: I28e0f5b34ea30d1a8edaa3858b2bb569612a57e5

7 years agoMerge "Don't set inset frame for letterboxed app in fullscreen" into oc-dr1-dev
Andrii Kulian [Wed, 9 Aug 2017 22:40:59 +0000 (22:40 +0000)]
Merge "Don't set inset frame for letterboxed app in fullscreen" into oc-dr1-dev

7 years agoMerge "Support copying from index8 into another index8." into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 22:33:34 +0000 (22:33 +0000)]
Merge "Support copying from index8 into another index8." into oc-dr1-dev

7 years agoMerge "WifiManager: update docs on setWifiEnabled" into oc-dr1-dev
Rebecca Silberstein [Wed, 9 Aug 2017 22:33:00 +0000 (22:33 +0000)]
Merge "WifiManager: update docs on setWifiEnabled" into oc-dr1-dev
am: 54233f96d7

Change-Id: I47400de6e07c228e48c1467060a2179af9e4b4d9

7 years agoCharSequenceTransformation should not change anything when comparision fails.
Felipe Leme [Tue, 8 Aug 2017 19:39:04 +0000 (12:39 -0700)]
CharSequenceTransformation should not change anything when comparision fails.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.CharSequenceTransformationTest#testMismatch
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Fixes: 64482785

Change-Id: Ia6036e0a1c6f5f084e6b13c7bdd3a9e24be7ac1a

7 years agoMerge "WifiManager: update docs on setWifiEnabled" into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 22:23:14 +0000 (22:23 +0000)]
Merge "WifiManager: update docs on setWifiEnabled" into oc-dr1-dev

7 years agoMerge "Update isWiredHeadsetOn() to support USB headsets." into oc-dr1-dev
Paul Mclean [Wed, 9 Aug 2017 22:13:48 +0000 (22:13 +0000)]
Merge "Update isWiredHeadsetOn() to support USB headsets." into oc-dr1-dev
am: 75384f617d

Change-Id: I693a3cf37c55085eee470091edf5fff0bc62ece8

7 years agoMerge "Update isWiredHeadsetOn() to support USB headsets." into oc-dr1-dev
Paul Mclean [Wed, 9 Aug 2017 21:59:55 +0000 (21:59 +0000)]
Merge "Update isWiredHeadsetOn() to support USB headsets." into oc-dr1-dev

7 years agoAdd permission check before setMain()
Shubang [Wed, 9 Aug 2017 03:48:54 +0000 (20:48 -0700)]
Add permission check before setMain()

Test: make; cts-tradefed; run cts -m CtsTvTestCases;
Bug: 64489430
Change-Id: I1365165eb1ba76b3a54a3141cc19e8245c99f279

7 years agoMerge "Fix BLE scan leaks" into oc-dev am: 6e749c392b
Vinay Kalia [Wed, 9 Aug 2017 21:23:16 +0000 (21:23 +0000)]
Merge "Fix BLE scan leaks" into oc-dev am: 6e749c392b
am: 3e832cf58e

Change-Id: I4edafeb10fcb2dabffe2b139893ae18139930656

7 years agoMerge "Worked around a bug where the a group child could be leaked" into oc-dr1-dev
Selim Cinek [Wed, 9 Aug 2017 21:17:14 +0000 (21:17 +0000)]
Merge "Worked around a bug where the a group child could be leaked" into oc-dr1-dev
am: f89e462bc7

Change-Id: Iead3762d5064362fbc37be960d744d68b9f7b31d

7 years agoMerge "Fix BLE scan leaks" into oc-dev
Vinay Kalia [Wed, 9 Aug 2017 21:11:53 +0000 (21:11 +0000)]
Merge "Fix BLE scan leaks" into oc-dev
am: 6e749c392b

Change-Id: I35705a81a45d2c7fd48f021a5e0e93e1709c6876

7 years agoMerge "Light alarm activity tracing" into oc-mr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 21:05:32 +0000 (21:05 +0000)]
Merge "Light alarm activity tracing" into oc-mr1-dev

7 years agoAdd metric constant for settings preference int value change.
Doris Ling [Tue, 8 Aug 2017 20:03:41 +0000 (13:03 -0700)]
Add metric constant for settings preference int value change.

Bug: 64485529
Test: build
Change-Id: Ib9f04ce8f1ff671196c3f269c555288fcc0df35c
Merged-In: Ic5733fc48bc6cab6a9ada73b9e531f9fde787240

7 years agoMerge "Worked around a bug where the a group child could be leaked" into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 21:03:15 +0000 (21:03 +0000)]
Merge "Worked around a bug where the a group child could be leaked" into oc-dr1-dev

7 years agoMerge "Fix BLE scan leaks" into oc-dev
Vinay Kalia [Wed, 9 Aug 2017 21:02:32 +0000 (21:02 +0000)]
Merge "Fix BLE scan leaks" into oc-dev

7 years agoLow battery notification has unique sound.
Beverly [Mon, 31 Jul 2017 14:37:17 +0000 (10:37 -0400)]
Low battery notification has unique sound.

Change-Id: I51c8e099da04d4bf1a55d081c9fce7fc8fb90bd1
Fixes: 63853037
Test: runtest systemui

7 years agoMerge "Fixes recents from disappearing when split and restarted" into oc-mr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 20:52:13 +0000 (20:52 +0000)]
Merge "Fixes recents from disappearing when split and restarted" into oc-mr1-dev

7 years agoLocalization of zen mode default rules.
Beverly [Wed, 2 Aug 2017 17:36:11 +0000 (13:36 -0400)]
Localization of zen mode default rules.

Test: runtest -x frameworks/base/services/tests/notification/src/com/android/server/notification/NotificationManagerServiceTest.java
Test: runtest -x frameworks/base/services/tests/notification/src/com/android/server/notification/ZenModeHelperTest.java
Change-Id: If7c38e5da56dd171e296182ef2c36e7286666ec5
Fixes: 38128497

7 years agoMerge "Make rounded corners handle color inversion" into oc-dr1-dev
Jason Monk [Wed, 9 Aug 2017 20:45:50 +0000 (20:45 +0000)]
Merge "Make rounded corners handle color inversion" into oc-dr1-dev
am: ca91e6cecd

Change-Id: I9d701444957cae9395f23537df63a76498ede87b

7 years agoMerge "Make rounded corners handle color inversion" into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 20:38:49 +0000 (20:38 +0000)]
Merge "Make rounded corners handle color inversion" into oc-dr1-dev

7 years agoMerge "Bring home to front behind assistant stack when needed." into oc-dr1-dev
Bryce Lee [Wed, 9 Aug 2017 20:34:57 +0000 (20:34 +0000)]
Merge "Bring home to front behind assistant stack when needed." into oc-dr1-dev
am: 0a3684eb45

Change-Id: Ic1be6d9c3336fe78d1a7beb06d712fd88fa2e9ed

7 years agoMerge "Bring home to front behind assistant stack when needed." into oc-dr1-dev
Bryce Lee [Wed, 9 Aug 2017 20:21:03 +0000 (20:21 +0000)]
Merge "Bring home to front behind assistant stack when needed." into oc-dr1-dev

7 years agoMerge "Allow SMS and calling for demo users" into oc-dr1-dev
Christine Franks [Wed, 9 Aug 2017 20:15:33 +0000 (20:15 +0000)]
Merge "Allow SMS and calling for demo users" into oc-dr1-dev
am: 4387d3a523

Change-Id: I163963c15c009eaf70907203cf941e182409eafc

7 years agoMerge "Rate limit notifyColorsChanged()" into oc-mr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 20:07:48 +0000 (20:07 +0000)]
Merge "Rate limit notifyColorsChanged()" into oc-mr1-dev

7 years agoMerge "Allow SMS and calling for demo users" into oc-dr1-dev
Christine Franks [Wed, 9 Aug 2017 20:06:35 +0000 (20:06 +0000)]
Merge "Allow SMS and calling for demo users" into oc-dr1-dev

7 years agoMerge "Add future consideration for USB rndis notification handling" into oc-dr1-dev
Erik Kline [Wed, 9 Aug 2017 19:40:47 +0000 (19:40 +0000)]
Merge "Add future consideration for USB rndis notification handling" into oc-dr1-dev
am: 15fbf9786d

Change-Id: Ic924639baa940363f5a29161bebc74f33b97165d

7 years agoMerge "Fix race condition in binder thread" into oc-dr1-dev
Lucas Dupin [Wed, 9 Aug 2017 19:37:56 +0000 (19:37 +0000)]
Merge "Fix race condition in binder thread" into oc-dr1-dev
am: 33e014b9bc

Change-Id: I5e98f321a23a5c99b321c10c59bbbc55b308bbf9

7 years agoMerge "Add future consideration for USB rndis notification handling" into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 19:28:49 +0000 (19:28 +0000)]
Merge "Add future consideration for USB rndis notification handling" into oc-dr1-dev

7 years agoMerge "Fix race condition in binder thread" into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 19:24:16 +0000 (19:24 +0000)]
Merge "Fix race condition in binder thread" into oc-dr1-dev

7 years agoDropBoxManagerService: Don't store redundant information
Makoto Onuki [Tue, 8 Aug 2017 21:58:19 +0000 (14:58 -0700)]
DropBoxManagerService: Don't store redundant information

Filenames can be calculated from other fields, so there's no need to
store them.

This will reduce the average EntryFile size from 160b to 28b, so in theory
it could save 132 KB for 1000 entries.

- Also switched from HashMap to ArrayMap, which should help a bit too.

- Also fixed unit tests and added more.

Bug: 20890386
Test: bit FrameworksServicesTests:com.android.server.DropBoxTest
Test: Boot, check the dropbox directory, run dumpsys dropbox, reboot and repeat.

Change-Id: If567750f478318acd621864d1d4ef2ed41f214bd

7 years agoUpdate isWiredHeadsetOn() to support USB headsets.
Paul McLean [Fri, 4 Aug 2017 17:12:19 +0000 (11:12 -0600)]
Update isWiredHeadsetOn() to support USB headsets.

Bug: 64250808
Test: Manual from an App (UsbDescriptors app)
Change-Id: Ic979636025e871d69853a7460befce4e1b1a6ed8

7 years agoMerge changes I52152223,I49db5cab into oc-dr1-dev
Winson Chung [Wed, 9 Aug 2017 19:01:50 +0000 (19:01 +0000)]
Merge changes I52152223,I49db5cab into oc-dr1-dev
am: fc596b1cf6

Change-Id: I53f12c1d0854d56ad0e700bf028fd68b47917e1f

7 years agoMerge changes I52152223,I49db5cab into oc-dr1-dev
Winson Chung [Wed, 9 Aug 2017 18:52:42 +0000 (18:52 +0000)]
Merge changes I52152223,I49db5cab into oc-dr1-dev

* changes:
  Ensure that we register the media session listener for the current user.
  Fix issue with PiP callbacks not being handled for secondary users.

7 years agoSupport copying from index8 into another index8.
Derek Sollenberger [Fri, 4 Aug 2017 18:13:57 +0000 (14:13 -0400)]
Support copying from index8 into another index8.

Both bitmap's must share the same color table as we essentially
memcopy the pixel data between the buffers.

Bug: 64112829
Test: CtsGraphicsTestCases
Merged-In: I317e3a814dbd102925fe412d2e19111b0af3af38
Change-Id: I5d99627fe7dd0639bb47a2eb8790510beebe6c6f

7 years agoCatch (and ignore) any timeout exceptions when releasing WakeLock am: 9468b48565...
Zheng Zhang [Wed, 9 Aug 2017 18:40:30 +0000 (18:40 +0000)]
Catch (and ignore) any timeout exceptions when releasing WakeLock am: 9468b48565  -s ours am: 4542686e42 am: c915b7f703
am: 54ad8c1f15

Change-Id: Ic9d8b66343523750a562954a8be60b0663b833d5

7 years agoFix Wakelock underlock in GnssLocationProvider. am: 2ed0166808 -s ours am: 5d60709dc...
Wei Wang [Wed, 9 Aug 2017 18:39:20 +0000 (18:39 +0000)]
Fix Wakelock underlock in GnssLocationProvider. am: 2ed0166808  -s ours am: 5d60709dc3 am: 17669d31df
am: 5043ac7af3

Change-Id: If0a08d8818160d9dd7ea60dd932c00320feb7654

7 years agoMerge "Optimize filterByLanguage by caching locale objects" into oc-mr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 18:35:01 +0000 (18:35 +0000)]
Merge "Optimize filterByLanguage by caching locale objects" into oc-mr1-dev

7 years agoFix source for PiP hover accessibility events
Phil Weaver [Wed, 9 Aug 2017 18:28:41 +0000 (11:28 -0700)]
Fix source for PiP hover accessibility events

The events were ending up not important for a11y and
with invalid window ids, which prevented TalkBack from
seeing them properly.

Bug: 64428961
Test: Ran YouTube in PiP, now able to select it.
Change-Id: I38ccbf5f2f35ffda255b84f229e98ca23e6b11aa

7 years agoFixes recents from disappearing when split and restarted
Matthew Ng [Thu, 27 Jul 2017 22:41:01 +0000 (15:41 -0700)]
Fixes recents from disappearing when split and restarted

The launch flags are interpreted incorrectly when minimized causing
Recents to start an entrance animation by moving off screen and being
invisible when Recents is destroyed and shown again by density or font
system changes. When recents is restarted, reset the flags to ignore the
entrance animation from moving them off screen.

Fixes: 62195106
Test: Open settings, go to page to change font size, dock by holding
recents button, with at least one task in Recents, change density. Also
can minimize and unminimize and changing density would also get fixed.
Change-Id: I519f59faf5e98c9d116bf66297f033c7f5fb7138

7 years agoMerge "Dismiss recents after switching users" into oc-mr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 18:26:04 +0000 (18:26 +0000)]
Merge "Dismiss recents after switching users" into oc-mr1-dev

7 years agoCatch (and ignore) any timeout exceptions when releasing WakeLock am: 9468b48565...
Zheng Zhang [Wed, 9 Aug 2017 18:24:15 +0000 (18:24 +0000)]
Catch (and ignore) any timeout exceptions when releasing WakeLock am: 9468b48565  -s ours am: 4542686e42
am: c915b7f703

Change-Id: If08c8029ad5054f947ada0c5f4923f62761bf47c

7 years agoFix Wakelock underlock in GnssLocationProvider. am: 2ed0166808 -s ours am: 5d60709dc3
Wei Wang [Wed, 9 Aug 2017 18:23:00 +0000 (18:23 +0000)]
Fix Wakelock underlock in GnssLocationProvider. am: 2ed0166808  -s ours am: 5d60709dc3
am: 17669d31df

Change-Id: I7e5b94c6adf57ff19c64fe508f7f3cc6d6a9c1c7

7 years agoCatch (and ignore) any timeout exceptions when releasing WakeLock am: 9468b48565...
Zheng Zhang [Wed, 9 Aug 2017 18:09:48 +0000 (18:09 +0000)]
Catch (and ignore) any timeout exceptions when releasing WakeLock am: 9468b48565  -s ours
am: 4542686e42

Change-Id: Id140fee89f552999522f3116854761c14265ef04

7 years agoFix Wakelock underlock in GnssLocationProvider. am: 2ed0166808 -s ours
Wei Wang [Wed, 9 Aug 2017 18:08:52 +0000 (18:08 +0000)]
Fix Wakelock underlock in GnssLocationProvider. am: 2ed0166808  -s ours
am: 5d60709dc3

Change-Id: I10a42eee839da98af9434d1f7530335dfa732632

7 years agoMerge "Grant default ringtone picker storage permissions" into oc-dr1-dev
Justin Klaassen [Wed, 9 Aug 2017 17:59:04 +0000 (17:59 +0000)]
Merge "Grant default ringtone picker storage permissions" into oc-dr1-dev
am: 8039ac418f

Change-Id: I8c3575d974a5266b62d560508df1253ba80fb0e4

7 years agoCatch (and ignore) any timeout exceptions when releasing WakeLock
Zheng Zhang [Wed, 9 Aug 2017 17:58:18 +0000 (17:58 +0000)]
Catch (and ignore) any timeout exceptions when releasing WakeLock
am: 9468b48565  -s ours

Change-Id: Ia1c10a46771ff4602a1005a3bf0bddaf6f1a70b6

7 years agoFix Wakelock underlock in GnssLocationProvider.
Wei Wang [Wed, 9 Aug 2017 17:57:17 +0000 (17:57 +0000)]
Fix Wakelock underlock in GnssLocationProvider.
am: 2ed0166808  -s ours

Change-Id: I965a5b57ffbc2adcde3a83a95793a3dc29673641

7 years agoWorked around a bug where the a group child could be leaked
Selim Cinek [Tue, 8 Aug 2017 17:58:32 +0000 (10:58 -0700)]
Worked around a bug where the a group child could be leaked

It may happen that a group entry could be leaked, if an
entry is inserted again after it was removed. We now added
logging to detect it better and worked around the issue.

Change-Id: Iaa6dfedddf5bafe0697bd0411b2e5f24982b1160
Fixes: 63717947
Test: add groups and remove / hun children