OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Ensure that the recent tasks are loaded for SysUI's current user." into oc...
Winson Chung [Fri, 23 Jun 2017 12:44:01 +0000 (12:44 +0000)]
Merge "Ensure that the recent tasks are loaded for SysUI's current user." into oc-dev am: cd73cc4c6d
am: a8e14f2448

Change-Id: I2a53a421fbfc3d97309b8b4be1a1a7b215f0c3a1

7 years agoMerge "WifiEnterpriseConfig: New copy method to ignore masked password" into oc-dev...
Roshan Pius [Fri, 23 Jun 2017 12:42:12 +0000 (12:42 +0000)]
Merge "WifiEnterpriseConfig: New copy method to ignore masked password" into oc-dev am: db11f55cb7
am: 7a3df45483

Change-Id: I9aad81e9015ac22d43c2864ec58213ccb22df54d

7 years agoMerge "Stop loading other package's font by default." into oc-dev am: 824d75e0e1
Seigo Nonaka [Fri, 23 Jun 2017 12:41:01 +0000 (12:41 +0000)]
Merge "Stop loading other package's font by default." into oc-dev am: 824d75e0e1
am: ba12631bba  -s ours

Change-Id: If5124a045069500c2cf3c52da2533603de5e4816

7 years agoMerge "Stop loading other package's font by default." into oc-dev am: 824d75e0e1...
Seigo Nonaka [Fri, 23 Jun 2017 12:35:19 +0000 (12:35 +0000)]
Merge "Stop loading other package's font by default." into oc-dev am: 824d75e0e1  -s ours
am: 2629b0c1a0  -s ours

Change-Id: Ie753fcbec56aab3a6718140a71a0d7e44e4a23dd

7 years agoStop loading other package's font by default.
Seigo Nonaka [Thu, 22 Jun 2017 15:22:18 +0000 (08:22 -0700)]
Stop loading other package's font by default.

Since CONTEXT_RESTRICTED is not a default flag of createPackageContext,
we can't rely on it for preventing unexpected font injections.
To protect developers and existing apps from a risk of font injection,
stop loading font from other package's resouce unless the developer
explicitly set CONTEXT_IGNORE_SECURITY.

Bug: 62813533
Bug: 62879353
Test: Manually done
Merged-In: I4442ddc48dadb5c968b444be86038b602074d301
Change-Id: I4442ddc48dadb5c968b444be86038b602074d301
(cherry picked from commit 6d6cd68660635d670b0cb17f348b7c1da13704b3)

7 years agoMerge "Stop loading other package's font by default." into oc-dev
Seigo Nonaka [Fri, 23 Jun 2017 12:23:36 +0000 (12:23 +0000)]
Merge "Stop loading other package's font by default." into oc-dev
am: 824d75e0e1  -s ours

Change-Id: Ib6375fdfa9295add1e4d53f220f3b8d22f48b855

7 years agoMerge "Ensure that the recent tasks are loaded for SysUI's current user." into oc-dev
Winson Chung [Fri, 23 Jun 2017 05:24:01 +0000 (05:24 +0000)]
Merge "Ensure that the recent tasks are loaded for SysUI's current user." into oc-dev
am: cd73cc4c6d

Change-Id: I380e262ab207e06b8a07b210d47cbc1294ba26f0

7 years agoMerge "Ensure that the recent tasks are loaded for SysUI's current user." into oc-dev
TreeHugger Robot [Fri, 23 Jun 2017 05:16:08 +0000 (05:16 +0000)]
Merge "Ensure that the recent tasks are loaded for SysUI's current user." into oc-dev

7 years agoMerge "WifiEnterpriseConfig: New copy method to ignore masked password" into oc-dev
Roshan Pius [Fri, 23 Jun 2017 04:33:13 +0000 (04:33 +0000)]
Merge "WifiEnterpriseConfig: New copy method to ignore masked password" into oc-dev
am: db11f55cb7

Change-Id: I9131d29ad8e192e7af7c596fb5d954e040adb968

7 years agoMerge "Merge "Add in the getCacheQuotaBytes method to wrapper." into oc-dev am: f14c1...
Android Build Merger (Role) [Fri, 23 Jun 2017 04:31:45 +0000 (04:31 +0000)]
Merge "Merge "Add in the getCacheQuotaBytes method to wrapper." into oc-dev am: f14c1e12cf am: 41b743d8ad" into oc-dr1-dev-plus-aosp

7 years agoMerge "Add in the getCacheQuotaBytes method to wrapper." into oc-dev am: f14c1e12cf
Daniel Nishi [Fri, 23 Jun 2017 04:28:41 +0000 (04:28 +0000)]
Merge "Add in the getCacheQuotaBytes method to wrapper." into oc-dev am: f14c1e12cf
am: 58ad534db8

Change-Id: Ibef96b005e6227cd20c834b238f3561f2d7e218f

7 years agoMerge "Add in the getCacheQuotaBytes method to wrapper." into oc-dev am: f14c1e12cf
Daniel Nishi [Fri, 23 Jun 2017 04:28:37 +0000 (04:28 +0000)]
Merge "Add in the getCacheQuotaBytes method to wrapper." into oc-dev am: f14c1e12cf
am: 41b743d8ad

Change-Id: Ie55bd4b478a3ca4ea475132ade37f03a0b9b4a00

7 years agoMerge "WifiEnterpriseConfig: New copy method to ignore masked password" into oc-dev
TreeHugger Robot [Fri, 23 Jun 2017 04:26:45 +0000 (04:26 +0000)]
Merge "WifiEnterpriseConfig: New copy method to ignore masked password" into oc-dev

7 years agoMerge "Stop loading other package's font by default." into oc-dev
Seigo Nonaka [Fri, 23 Jun 2017 04:23:44 +0000 (04:23 +0000)]
Merge "Stop loading other package's font by default." into oc-dev
am: 824d75e0e1

Change-Id: I5518dbd8b5d8a4548ea00bbfca0e3aee87880ee7

7 years agoMerge "Add in the getCacheQuotaBytes method to wrapper." into oc-dev
Daniel Nishi [Fri, 23 Jun 2017 04:19:13 +0000 (04:19 +0000)]
Merge "Add in the getCacheQuotaBytes method to wrapper." into oc-dev
am: f14c1e12cf

Change-Id: Ied7c80b4b9e58fa0d5b31e7a7bce33028e55337b

7 years agoMerge "Add in the getCacheQuotaBytes method to wrapper." into oc-dev
Daniel Nishi [Fri, 23 Jun 2017 04:19:10 +0000 (04:19 +0000)]
Merge "Add in the getCacheQuotaBytes method to wrapper." into oc-dev
am: f14c1e12cf

Change-Id: I48c0c952d4679304d1adcda238e93c6bdd133110

7 years agoMerge "Stop loading other package's font by default." into oc-dev
TreeHugger Robot [Fri, 23 Jun 2017 04:10:42 +0000 (04:10 +0000)]
Merge "Stop loading other package's font by default." into oc-dev

7 years agoMerge "Add in the getCacheQuotaBytes method to wrapper." into oc-dev
TreeHugger Robot [Fri, 23 Jun 2017 04:09:32 +0000 (04:09 +0000)]
Merge "Add in the getCacheQuotaBytes method to wrapper." into oc-dev

7 years agoMerge "Bluetooth: minor documentation fix to de-confuse" am: 5a56873612 am: 3205ff1331
Marie Janssen [Fri, 23 Jun 2017 03:47:09 +0000 (03:47 +0000)]
Merge "Bluetooth: minor documentation fix to de-confuse" am: 5a56873612 am: 3205ff1331
am: f71b0bedcf

Change-Id: I615f8f2d16d2dd17fcbd5df20378766096631eeb

7 years agoMerge "Bluetooth: minor documentation fix to de-confuse" am: 5a56873612
Marie Janssen [Fri, 23 Jun 2017 03:38:17 +0000 (03:38 +0000)]
Merge "Bluetooth: minor documentation fix to de-confuse" am: 5a56873612
am: 3205ff1331

Change-Id: I0cd44ad8d22da154d0bf666b9075a3fcbc655439

7 years agoMerge "Bluetooth: minor documentation fix to de-confuse"
Marie Janssen [Fri, 23 Jun 2017 03:28:34 +0000 (03:28 +0000)]
Merge "Bluetooth: minor documentation fix to de-confuse"
am: 5a56873612

Change-Id: Ie202361631f9268055a190c8606e07d89dc349d4

7 years agoMerge "Bluetooth: minor documentation fix to de-confuse"
Marie Janssen [Fri, 23 Jun 2017 03:17:35 +0000 (03:17 +0000)]
Merge "Bluetooth: minor documentation fix to de-confuse"

7 years agoMerge "Merge "Dump user id in dumpsys activity starter" into oc-dev am: b55b842898...
Android Build Merger (Role) [Fri, 23 Jun 2017 02:29:25 +0000 (02:29 +0000)]
Merge "Merge "Dump user id in dumpsys activity starter" into oc-dev am: b55b842898 am: 13df994243" into oc-dr1-dev-plus-aosp

7 years agoMerge "Dump user id in dumpsys activity starter" into oc-dev am: b55b842898
Wale Ogunwale [Fri, 23 Jun 2017 02:27:28 +0000 (02:27 +0000)]
Merge "Dump user id in dumpsys activity starter" into oc-dev am: b55b842898
am: e30da86a46

Change-Id: Idad772522638c93a1d2a042aa374ec2cabf55167

7 years agoMerge "Dump user id in dumpsys activity starter" into oc-dev am: b55b842898
Wale Ogunwale [Fri, 23 Jun 2017 02:27:23 +0000 (02:27 +0000)]
Merge "Dump user id in dumpsys activity starter" into oc-dev am: b55b842898
am: 13df994243

Change-Id: Ia38529b06e7859884531f945fa32770017f11467

7 years agoMerge "Dump user id in dumpsys activity starter" into oc-dev
Wale Ogunwale [Fri, 23 Jun 2017 02:19:26 +0000 (02:19 +0000)]
Merge "Dump user id in dumpsys activity starter" into oc-dev
am: b55b842898

Change-Id: I5b73df5e46d26d2008dba7a34345a0c37c099514

7 years agoMerge "Dump user id in dumpsys activity starter" into oc-dev
Wale Ogunwale [Fri, 23 Jun 2017 02:19:25 +0000 (02:19 +0000)]
Merge "Dump user id in dumpsys activity starter" into oc-dev
am: b55b842898

Change-Id: I36a34d029f75195d4a865affef5257f1d4aa5d50

7 years agoMerge "Dump user id in dumpsys activity starter" into oc-dev
TreeHugger Robot [Fri, 23 Jun 2017 02:10:32 +0000 (02:10 +0000)]
Merge "Dump user id in dumpsys activity starter" into oc-dev

7 years agoMerge "Log call to setPortRoles" into oc-dr1-dev
Badhri Jagan Sridharan [Fri, 23 Jun 2017 02:07:57 +0000 (02:07 +0000)]
Merge "Log call to setPortRoles" into oc-dr1-dev
am: 025b07c38e

Change-Id: Icd1d42fd0fb301f68dae38a242760035c1f6dfec

7 years agoStop loading other package's font by default.
Seigo Nonaka [Thu, 22 Jun 2017 15:22:18 +0000 (08:22 -0700)]
Stop loading other package's font by default.

Since CONTEXT_RESTRICTED is not a default flag of createPackageContext,
we can't rely on it for preventing unexpected font injections.
To protect developers and existing apps from a risk of font injection,
stop loading font from other package's resouce unless the developer
explicitly set CONTEXT_IGNORE_SECURITY.

This CL contains Iac2a6fb3d82ef23d5ca6ee33f4aaa9ed28455271 by manual
merging to handle repository split.

Bug: 62813533
Bug: 62879353
Test: Manually done
Merged-In: I4442ddc48dadb5c968b444be86038b602074d301
Change-Id: I4442ddc48dadb5c968b444be86038b602074d301

7 years agoMerge "Log call to setPortRoles" into oc-dr1-dev
TreeHugger Robot [Fri, 23 Jun 2017 01:58:19 +0000 (01:58 +0000)]
Merge "Log call to setPortRoles" into oc-dr1-dev

7 years agoAdd in the getCacheQuotaBytes method to wrapper.
Daniel Nishi [Fri, 23 Jun 2017 01:53:03 +0000 (18:53 -0700)]
Add in the getCacheQuotaBytes method to wrapper.

Bug: 62623731
Test: Settings Unit Test
Change-Id: Ibd779c7d9e60c44440483489b231ba0715321bc1

7 years agoMerge "Improved documentation for AutofillService package: am: 2ef19c1d73 am: 91d763f...
Android Build Merger (Role) [Fri, 23 Jun 2017 00:48:12 +0000 (00:48 +0000)]
Merge "Improved documentation for AutofillService package: am: 2ef19c1d73 am: 91d763f1b5" into oc-dr1-dev-plus-aosp

7 years agoImproved documentation for AutofillService package: am: 2ef19c1d73
Felipe Leme [Fri, 23 Jun 2017 00:44:53 +0000 (00:44 +0000)]
Improved documentation for AutofillService package: am: 2ef19c1d73
am: 91d763f1b5

Change-Id: Iecf6e6d7f5461f944b1f3e23e9f97ccca5029983

7 years agoImproved documentation for AutofillService package: am: 2ef19c1d73
Felipe Leme [Fri, 23 Jun 2017 00:44:47 +0000 (00:44 +0000)]
Improved documentation for AutofillService package: am: 2ef19c1d73
am: 472b4c834f

Change-Id: I9636c277b82569e6ffa684df26358a6a7c36d3c2

7 years agoImproved documentation for AutofillService package:
Felipe Leme [Fri, 23 Jun 2017 00:36:37 +0000 (00:36 +0000)]
Improved documentation for AutofillService package:
am: 2ef19c1d73

Change-Id: Iac283d34da149829a25313d0910f2564b347e332

7 years agoImproved documentation for AutofillService package:
Felipe Leme [Fri, 23 Jun 2017 00:36:35 +0000 (00:36 +0000)]
Improved documentation for AutofillService package:
am: 2ef19c1d73

Change-Id: I67d6649d4acb84ebb598c1ebceb3c3ed58cfd0c0

7 years agoMerge "Adding tron logging events for standalone headsets." into oc-dr1-dev
Charlie Wang [Thu, 22 Jun 2017 23:47:55 +0000 (23:47 +0000)]
Merge "Adding tron logging events for standalone headsets." into oc-dr1-dev
am: d43bc31eb7

Change-Id: I4a82f38e753d7ba61ec37b7ecd959e588eee21e3

7 years agoDump user id in dumpsys activity starter
Wale Ogunwale [Thu, 22 Jun 2017 23:43:53 +0000 (16:43 -0700)]
Dump user id in dumpsys activity starter

To help with ANR debugging.

Test: adb shell dumpsys activity starter
Bug: 38121026
Change-Id: I96d530662e6a362b817df3ca8410cb173a2c0dd4

7 years agoLog call to setPortRoles
Badhri Jagan Sridharan [Thu, 22 Jun 2017 23:39:47 +0000 (16:39 -0700)]
Log call to setPortRoles

Came of bunch of bugs, for instance b/62912250 where some app is
forcing the port role. Logging which package is doing this

Change-Id: I234db3292326d247c82723989b46160fcbd59c10

7 years agoMerge "Adding tron logging events for standalone headsets." into oc-dr1-dev
Charlie Wang [Thu, 22 Jun 2017 23:35:20 +0000 (23:35 +0000)]
Merge "Adding tron logging events for standalone headsets." into oc-dr1-dev

7 years agoMerge "Use java.util.Objects.hashCode to get hashcode." into oc-dr1-dev
Ying Xu [Thu, 22 Jun 2017 23:29:50 +0000 (23:29 +0000)]
Merge "Use java.util.Objects.hashCode to get hashcode." into oc-dr1-dev
am: 9523a12b95  -s ours

Change-Id: I4b2f10eab109ef9e912fd0a6674fa3e7341b1e8d

7 years agoWifiEnterpriseConfig: New copy method to ignore masked password
Roshan Pius [Thu, 22 Jun 2017 18:36:53 +0000 (11:36 -0700)]
WifiEnterpriseConfig: New copy method to ignore masked password

To ignore the masked password sent by apps, add a new copy-constructor
equivalent method which will ignore the masked password.

Bug: 62893342
Test: Unit tests.
Test: Manual tests with the linked CL.
Test: Regression tests.

Change-Id: Ib208dcd94a888e07a9b3dc0442620233ea7791e5

7 years agoMerge "Use java.util.Objects.hashCode to get hashcode." into oc-dr1-dev
Ying Xu [Thu, 22 Jun 2017 23:19:57 +0000 (23:19 +0000)]
Merge "Use java.util.Objects.hashCode to get hashcode." into oc-dr1-dev

7 years agoMerge "Emergency SUPL when location is disabled" into oc-dr1-dev
Siddharth Ray [Thu, 22 Jun 2017 23:05:24 +0000 (23:05 +0000)]
Merge "Emergency SUPL when location is disabled" into oc-dr1-dev
am: 424e517d5d

Change-Id: I4d7c458c02e3de1d707c6314102bb8b00fe2bda6

7 years agoMerge "Emergency SUPL when location is disabled" into oc-dr1-dev
TreeHugger Robot [Thu, 22 Jun 2017 22:59:41 +0000 (22:59 +0000)]
Merge "Emergency SUPL when location is disabled" into oc-dr1-dev

7 years agoAdd strings for revamped Wi-Fi ONA notification.
Stephen Chen [Thu, 22 Jun 2017 22:56:27 +0000 (22:56 +0000)]
Add strings for revamped Wi-Fi ONA notification.
am: 2e8351b308

Change-Id: I0ceb50c182c3ea023167915d28cf04d79f75d8eb

7 years agoMerge "Merge "ASM Priority Boost Tool" am: 8ff8dd16cc am: 8ac18ceb8a" into oc-dev...
Alan Leung [Thu, 22 Jun 2017 22:50:42 +0000 (22:50 +0000)]
Merge "Merge "ASM Priority Boost Tool" am: 8ff8dd16cc am: 8ac18ceb8a" into oc-dev-plus-aosp
am: 643275b838

Change-Id: Idb669d7b381f8291fb44dcc5a4d1824d118319d9

7 years agoMerge "Allow any app to dynamically install a split" into oc-dev am: 16503a8f7e
Todd Kennedy [Thu, 22 Jun 2017 22:47:18 +0000 (22:47 +0000)]
Merge "Allow any app to dynamically install a split" into oc-dev am: 16503a8f7e
am: 921fc1426f

Change-Id: I322d7d8b576e00ad10d85d462873c10cce712951

7 years agoAdd strings for revamped Wi-Fi ONA notification.
Stephen Chen [Wed, 7 Jun 2017 22:49:13 +0000 (15:49 -0700)]
Add strings for revamped Wi-Fi ONA notification.

Bug: 37357441
Test: n/a
Change-Id: Ib32581f044db9827a700be8af1864af15f6dbb3e

7 years agoMerge "Merge "ASM Priority Boost Tool" am: 8ff8dd16cc am: 8ac18ceb8a" into oc-dev...
Android Build Merger (Role) [Thu, 22 Jun 2017 22:37:54 +0000 (22:37 +0000)]
Merge "Merge "ASM Priority Boost Tool" am: 8ff8dd16cc am: 8ac18ceb8a" into oc-dev-plus-aosp

7 years agoMerge "Merge "Allow any app to dynamically install a split" into oc-dev am: 16503a8f7...
Android Build Merger (Role) [Thu, 22 Jun 2017 22:36:49 +0000 (22:36 +0000)]
Merge "Merge "Allow any app to dynamically install a split" into oc-dev am: 16503a8f7e am: 20fad610b9" into oc-dr1-dev-plus-aosp

7 years agoMerge "Allow any app to dynamically install a split" into oc-dev am: 16503a8f7e
Todd Kennedy [Thu, 22 Jun 2017 22:35:52 +0000 (22:35 +0000)]
Merge "Allow any app to dynamically install a split" into oc-dev am: 16503a8f7e
am: 20fad610b9

Change-Id: I6d6fd8f320fef01c2a89463ce0f72f0f880e1e45

7 years agoMerge "Merge "ListPopupWindow: Wrap new bounds checking in targetSdk check." into...
Android Build Merger (Role) [Thu, 22 Jun 2017 22:34:52 +0000 (22:34 +0000)]
Merge "Merge "ListPopupWindow: Wrap new bounds checking in targetSdk check." into oc-dev am: 82b41e460c am: 9e391f9f86" into oc-dr1-dev-plus-aosp

7 years agoMerge "Allow any app to dynamically install a split" into oc-dev
Todd Kennedy [Thu, 22 Jun 2017 22:35:06 +0000 (22:35 +0000)]
Merge "Allow any app to dynamically install a split" into oc-dev
am: 16503a8f7e

Change-Id: I13cf0e00de235d0bbdb79aa553e04386c519975d

7 years agoMerge "ASM Priority Boost Tool" am: 8ff8dd16cc
Alan Leung [Thu, 22 Jun 2017 22:34:29 +0000 (22:34 +0000)]
Merge "ASM Priority Boost Tool" am: 8ff8dd16cc
am: 8ac18ceb8a

Change-Id: I68f86f307368de6870a7d649118d1a0f8c744a88

7 years agoMerge "ListPopupWindow: Wrap new bounds checking in targetSdk check." into oc-dev...
Rob Carr [Thu, 22 Jun 2017 22:33:51 +0000 (22:33 +0000)]
Merge "ListPopupWindow: Wrap new bounds checking in targetSdk check." into oc-dev am: 82b41e460c
am: 9e391f9f86

Change-Id: I8566d935ec735b360af54998599a8ce185fcf9ee

7 years agoMerge "ListPopupWindow: Wrap new bounds checking in targetSdk check." into oc-dev...
Rob Carr [Thu, 22 Jun 2017 22:32:07 +0000 (22:32 +0000)]
Merge "ListPopupWindow: Wrap new bounds checking in targetSdk check." into oc-dev am: 82b41e460c
am: 874b6402af

Change-Id: I3db14694bc27e9fed16b5efec6aba99570b89675

7 years agoMerge "Allow any app to dynamically install a split" into oc-dev
Todd Kennedy [Thu, 22 Jun 2017 22:26:34 +0000 (22:26 +0000)]
Merge "Allow any app to dynamically install a split" into oc-dev
am: 16503a8f7e

Change-Id: Ia20de35097f3b5b139afc5ccee59d71584f59a3a

7 years agoImproved documentation for AutofillService package:
Felipe Leme [Mon, 5 Jun 2017 18:32:32 +0000 (11:32 -0700)]
Improved documentation for AutofillService package:

- Moved (and expanded) overall documentation from FillResponse to
  AutofillService.
- Improved SaveInfo documentation.
- Improved FillRequest documentation.
- Improved Dataset documentation.

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

Change-Id: I157893deac06a5ed5e1cb7fd082da485f227b9ee

7 years agoMerge "ASM Priority Boost Tool"
Alan Leung [Thu, 22 Jun 2017 22:24:51 +0000 (22:24 +0000)]
Merge "ASM Priority Boost Tool"
am: 8ff8dd16cc

Change-Id: Ifb62ee3132e984340e4457b543c4f84f7c45995a

7 years agoMerge "ListPopupWindow: Wrap new bounds checking in targetSdk check." into oc-dev
Rob Carr [Thu, 22 Jun 2017 22:23:19 +0000 (22:23 +0000)]
Merge "ListPopupWindow: Wrap new bounds checking in targetSdk check." into oc-dev
am: 82b41e460c

Change-Id: I47c8e096ccd513eb65fa9fd2a34fc75fa222a42c

7 years agoMerge "ListPopupWindow: Wrap new bounds checking in targetSdk check." into oc-dev
Rob Carr [Thu, 22 Jun 2017 22:19:45 +0000 (22:19 +0000)]
Merge "ListPopupWindow: Wrap new bounds checking in targetSdk check." into oc-dev
am: 82b41e460c

Change-Id: I14f6fe76b3a24266432a8bc7286d1ae5da8f719d

7 years agoMerge "Allow any app to dynamically install a split" into oc-dev
TreeHugger Robot [Thu, 22 Jun 2017 22:11:44 +0000 (22:11 +0000)]
Merge "Allow any app to dynamically install a split" into oc-dev

7 years agoMerge "ASM Priority Boost Tool"
Treehugger Robot [Thu, 22 Jun 2017 22:10:56 +0000 (22:10 +0000)]
Merge "ASM Priority Boost Tool"

7 years agoMerge "ListPopupWindow: Wrap new bounds checking in targetSdk check." into oc-dev
Rob Carr [Thu, 22 Jun 2017 22:08:03 +0000 (22:08 +0000)]
Merge "ListPopupWindow: Wrap new bounds checking in targetSdk check." into oc-dev

7 years agoMerge "Fix code and test related to rules version check" am: a3579d4b84 am: c506ade205
Neil Fuller [Thu, 22 Jun 2017 21:56:18 +0000 (21:56 +0000)]
Merge "Fix code and test related to rules version check" am: a3579d4b84 am: c506ade205
am: af32c3d234

Change-Id: I2dc13436ceb93eb620dcaaa6d141210dc57ea1fc

7 years agoMerge "Merge "Change PIP notification icon" into oc-dev am: 9f3967fee1 am: e9ede0548b...
Android Build Merger (Role) [Thu, 22 Jun 2017 21:53:47 +0000 (21:53 +0000)]
Merge "Merge "Change PIP notification icon" into oc-dev am: 9f3967fee1 am: e9ede0548b" into oc-dr1-dev-plus-aosp

7 years agoMerge "Change PIP notification icon" into oc-dev am: 9f3967fee1
Shubang [Thu, 22 Jun 2017 21:51:37 +0000 (21:51 +0000)]
Merge "Change PIP notification icon" into oc-dev am: 9f3967fee1
am: e9ede0548b

Change-Id: Ifecd856ffeb53c3a7249caa58fdb98dff71f4b93

7 years agoMerge "Change PIP notification icon" into oc-dev am: 9f3967fee1
Shubang [Thu, 22 Jun 2017 21:51:34 +0000 (21:51 +0000)]
Merge "Change PIP notification icon" into oc-dev am: 9f3967fee1
am: 745bbf758d

Change-Id: I73fd01b193324ab9b4c1320e47ab8be1d77a3cc2

7 years agoMerge "Fix code and test related to rules version check" am: a3579d4b84
Neil Fuller [Thu, 22 Jun 2017 21:49:28 +0000 (21:49 +0000)]
Merge "Fix code and test related to rules version check" am: a3579d4b84
am: c506ade205

Change-Id: Ia72b94700d1a65de769beace27e699e62aedcd9f

7 years agoMerge "Change PIP notification icon" into oc-dev
Shubang [Thu, 22 Jun 2017 21:44:18 +0000 (21:44 +0000)]
Merge "Change PIP notification icon" into oc-dev
am: 9f3967fee1

Change-Id: I5c42cb241ef98bc5e70b03d460230e3ac2115240

7 years agoMerge "Change PIP notification icon" into oc-dev
Shubang [Thu, 22 Jun 2017 21:44:18 +0000 (21:44 +0000)]
Merge "Change PIP notification icon" into oc-dev
am: 9f3967fee1

Change-Id: I1f12ec16adaa173d90ffbb62c5a88387340e4042

7 years agoMerge "Add tintable icon support" into oc-dr1-dev
Maurice Lam [Thu, 22 Jun 2017 21:44:10 +0000 (21:44 +0000)]
Merge "Add tintable icon support" into oc-dr1-dev
am: 53d79aa8ea

Change-Id: I11e1a99d8482871ac0c2fac0761f77d0a57f6938

7 years agoMerge "Fix code and test related to rules version check"
Neil Fuller [Thu, 22 Jun 2017 21:37:48 +0000 (21:37 +0000)]
Merge "Fix code and test related to rules version check"
am: a3579d4b84

Change-Id: I2021e64f04e0e55de21dcdc0a932ce535e6a7f9f

7 years agoMerge "Add tintable icon support" into oc-dr1-dev
TreeHugger Robot [Thu, 22 Jun 2017 21:33:39 +0000 (21:33 +0000)]
Merge "Add tintable icon support" into oc-dr1-dev

7 years agoMerge "Change PIP notification icon" into oc-dev
TreeHugger Robot [Thu, 22 Jun 2017 21:31:56 +0000 (21:31 +0000)]
Merge "Change PIP notification icon" into oc-dev

7 years agoMerge "Fix code and test related to rules version check"
Treehugger Robot [Thu, 22 Jun 2017 21:23:52 +0000 (21:23 +0000)]
Merge "Fix code and test related to rules version check"

7 years agoASM Priority Boost Tool
Alan Leung [Sat, 13 May 2017 00:31:13 +0000 (17:31 -0700)]
ASM Priority Boost Tool

This tool is a replacement for the Jack plugin that allows injection
of static method calls before lock enter and exit.

A common use case would be to boost a thread's priority as soon as
it acquires a heavily contented lock and resetting the priority upon
release.

This tool is meant to be optionally invoked from /build/core/ rules
during the build process.

Test: JUnit Tests / resulting image on a bullhead.

Change-Id: If400414a0bf50f03768a1de2ebee42086a9d701f
Merged-In: If400414a0bf50f03768a1de2ebee42086a9d701f
(cherry picked from commit 93db63059ad5e9e1d59c8ce013559069d566ef4c)

7 years agoBluetooth: minor documentation fix to de-confuse
Marie Janssen [Fri, 13 Jan 2017 00:00:30 +0000 (16:00 -0800)]
Bluetooth: minor documentation fix to de-confuse

It was somewhat unclear which is the preferred method of retrieving a
BluetoothAdapter.  Make it clear that using BluetoothManager is
preferred, and remove references to the old method in BluetoothManager
docs since it is only avaialable in API 18 or higher.

Test: recompile, check that documentation is updated
Fix: 33355430
Change-Id: Ia20b4e45dca03bc2f13c2ab477799b89c5e14f45

7 years agoMerge "Merge "Added more systrace points to window manager" into oc-dev am: 182d5ec2d...
Android Build Merger (Role) [Thu, 22 Jun 2017 20:44:57 +0000 (20:44 +0000)]
Merge "Merge "Added more systrace points to window manager" into oc-dev am: 182d5ec2d2 am: 0e068632ef" into oc-dr1-dev-plus-aosp

7 years agoMerge "Added more systrace points to window manager" into oc-dev am: 182d5ec2d2
Wale Ogunwale [Thu, 22 Jun 2017 20:43:54 +0000 (20:43 +0000)]
Merge "Added more systrace points to window manager" into oc-dev am: 182d5ec2d2
am: 0e068632ef

Change-Id: I70d155d214a70fb451bb7468d91e782f0f6f4d49

7 years agoMerge "Merge "Add a common call when wrapping an app." am: 12e0975963 am: bb6cf84a40...
Android Build Merger (Role) [Thu, 22 Jun 2017 20:43:15 +0000 (20:43 +0000)]
Merge "Merge "Add a common call when wrapping an app." am: 12e0975963 am: bb6cf84a40 am: 1d10ce12ff" into oc-dr1-dev-plus-aosp

7 years agoMerge "Add a common call when wrapping an app." am: 12e0975963 am: bb6cf84a40
Christopher Ferris [Thu, 22 Jun 2017 20:42:00 +0000 (20:42 +0000)]
Merge "Add a common call when wrapping an app." am: 12e0975963 am: bb6cf84a40
am: 1d10ce12ff

Change-Id: Ib814bcfc56ad6742a023bd7245952cefd51d5fd2

7 years agoMerge "Merge "Ensure icon contrast on the shelf" into oc-dev am: d0550a9b6c am: 206f1...
Android Build Merger (Role) [Thu, 22 Jun 2017 20:41:30 +0000 (20:41 +0000)]
Merge "Merge "Ensure icon contrast on the shelf" into oc-dev am: d0550a9b6c am: 206f1ef043" into oc-dr1-dev-plus-aosp

7 years agoMerge "Ensure icon contrast on the shelf" into oc-dev am: d0550a9b6c
Lucas Dupin [Thu, 22 Jun 2017 20:39:59 +0000 (20:39 +0000)]
Merge "Ensure icon contrast on the shelf" into oc-dev am: d0550a9b6c
am: 206f1ef043

Change-Id: I3ee03acf859868b9225f1e90d537013875dc7e18

7 years agoMerge "Make default status bar padding 8dp" into oc-dr1-dev
Jason Monk [Thu, 22 Jun 2017 20:36:32 +0000 (20:36 +0000)]
Merge "Make default status bar padding 8dp" into oc-dr1-dev
am: 5af936f31e

Change-Id: Ie735752778c98b3d8ee37c32f5bca175abb4e62d

7 years agoMerge "Merge "GnssLocationProvider: listening to conn lost event" into oc-dr1-dev...
Android Build Merger (Role) [Thu, 22 Jun 2017 20:32:46 +0000 (20:32 +0000)]
Merge "Merge "GnssLocationProvider: listening to conn lost event" into oc-dr1-dev am: 9564b4d168" into oc-dr1-dev-plus-aosp

7 years agoMerge "GnssLocationProvider: listening to conn lost event" into oc-dr1-dev
Kevin Tang [Thu, 22 Jun 2017 20:29:58 +0000 (20:29 +0000)]
Merge "GnssLocationProvider: listening to conn lost event" into oc-dr1-dev
am: 9564b4d168

Change-Id: I02b2533b777d228d298283697aabaaf0602b567d

7 years agoMerge "Fix ConcurrentModificationException from LocationController" into oc-dev am...
Jason Monk [Thu, 22 Jun 2017 20:29:32 +0000 (20:29 +0000)]
Merge "Fix ConcurrentModificationException from LocationController" into oc-dev am: 6791bee744
am: 9980bade09

Change-Id: Ic00fae7701ddb74914e7154fb878ffe4a48a9b55

7 years agoFix code and test related to rules version check
Neil Fuller [Thu, 22 Jun 2017 16:58:02 +0000 (17:58 +0100)]
Fix code and test related to rules version check

Fix code and test related to an incorrectly implemented
rules version check.

This meant that a device could not return the rules version
it shipped with.

Another unused (and also confusing) method and
associated test is being deleted here.

To run tests:
make -j30 FrameworksServicesTests
adb install -r -g \
  "out/target/product/angler/data/app/FrameworksServicesTests/FrameworksServicesTests.apk"
adb shell am instrument -e package com.android.server.timezone -w \
  com.android.frameworks.servicestests \
  "com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner"

Test: See above.
Bug: 31008728
Change-Id: I31b55e88072dd73055cb3d8cf252be6eac920322

7 years agoMerge "Make default status bar padding 8dp" into oc-dr1-dev
TreeHugger Robot [Thu, 22 Jun 2017 20:20:39 +0000 (20:20 +0000)]
Merge "Make default status bar padding 8dp" into oc-dr1-dev

7 years agoMerge "GnssLocationProvider: listening to conn lost event" into oc-dr1-dev
TreeHugger Robot [Thu, 22 Jun 2017 20:19:04 +0000 (20:19 +0000)]
Merge "GnssLocationProvider: listening to conn lost event" into oc-dr1-dev

7 years agoMerge "Merge "Ensure that android.test tests pass" am: 156775fea8 am: 34dc5a58b3...
Android Build Merger (Role) [Thu, 22 Jun 2017 20:16:55 +0000 (20:16 +0000)]
Merge "Merge "Ensure that android.test tests pass" am: 156775fea8 am: 34dc5a58b3 am: e211119fea" into oc-dr1-dev-plus-aosp

7 years agoMerge "Ensure that android.test tests pass" am: 156775fea8 am: 34dc5a58b3
Paul Duffin [Thu, 22 Jun 2017 20:15:27 +0000 (20:15 +0000)]
Merge "Ensure that android.test tests pass" am: 156775fea8 am: 34dc5a58b3
am: e211119fea

Change-Id: I4692f9a86dae8bb2c5476eb477924230034cdd6b

7 years agoMerge "Merge "Create a TetherInterfaceStateMachine when told the interface name....
Android Build Merger (Role) [Thu, 22 Jun 2017 20:14:25 +0000 (20:14 +0000)]
Merge "Merge "Create a TetherInterfaceStateMachine when told the interface name." into oc-dev am: be7657b038  -s ours am: 78def25969  -s ours" into oc-dr1-dev-plus-aosp

7 years agoEmergency SUPL when location is disabled
Siddharth Ray [Wed, 21 Jun 2017 22:14:44 +0000 (15:14 -0700)]
Emergency SUPL when location is disabled

A cycle of native_init() and native_cleanup() is needed so that
callbacks are registered after bootup even when location is disabled.
This will allow Emergency SUPL to work even when location is disabled
before device restart.

BUG:38362097

Change-Id: I423d5a7142709fc0579be009bb8b14d3778aa090

7 years agoMerge "Create a TetherInterfaceStateMachine when told the interface name." into oc...
Erik Kline [Thu, 22 Jun 2017 20:12:59 +0000 (20:12 +0000)]
Merge "Create a TetherInterfaceStateMachine when told the interface name." into oc-dev am: be7657b038  -s ours
am: 78def25969  -s ours

Change-Id: I73ca21bc6efe5b8d015e10cf562a0e48c5144b21

7 years agoMerge "Merge "Better merge fix for empty state signal drawable" into oc-dr1-dev am...
Android Build Merger (Role) [Thu, 22 Jun 2017 20:12:37 +0000 (20:12 +0000)]
Merge "Merge "Better merge fix for empty state signal drawable" into oc-dr1-dev am: 8ac5a94c01" into oc-dr1-dev-plus-aosp

7 years agoMerge "Better merge fix for empty state signal drawable" into oc-dr1-dev
Evan Laird [Thu, 22 Jun 2017 20:11:23 +0000 (20:11 +0000)]
Merge "Better merge fix for empty state signal drawable" into oc-dr1-dev
am: 8ac5a94c01

Change-Id: I4ada7c21457a3222274998269d565a9bf03fdc46