OSDN Git Service

android-x86/frameworks-base.git
6 years agoUpdate getIccAuthentication documentation
Jordan Liu [Mon, 9 Apr 2018 23:33:17 +0000 (16:33 -0700)]
Update getIccAuthentication documentation

Explain what it means if the function returns null. This is based on the
spec at TS 31.102 section 7.3.1.

Bug: 74392381
Test: manual
Change-Id: Ic84d94589431109079a866027953ab9dbef103b8

6 years agoMerge "ResStringPool: Fix security vulnerability" into pi-dev
Ryan Mitchell [Mon, 9 Apr 2018 23:38:37 +0000 (23:38 +0000)]
Merge "ResStringPool: Fix security vulnerability" into pi-dev

6 years agoMerge "soundpool: fix muted channel" into pi-dev
Eric Laurent [Mon, 9 Apr 2018 23:26:35 +0000 (23:26 +0000)]
Merge "soundpool: fix muted channel" into pi-dev

6 years agoMerge "AudioAttributes: handle unknown usage like media" into pi-dev
Jean-Michel Trivi [Mon, 9 Apr 2018 23:21:51 +0000 (23:21 +0000)]
Merge "AudioAttributes: handle unknown usage like media" into pi-dev

6 years agoMerge "API council requested tweaks to SubscriptionPlan." into pi-dev
Jeff Sharkey [Mon, 9 Apr 2018 23:20:43 +0000 (23:20 +0000)]
Merge "API council requested tweaks to SubscriptionPlan." into pi-dev

6 years agoMerge "Disable onboarding on P devices" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 23:11:01 +0000 (23:11 +0000)]
Merge "Disable onboarding on P devices" into pi-dev

6 years ago[automerger skipped] [automerger] RESTRICT AUTOMERGE: Prevent reporting fake package...
akirilov [Mon, 9 Apr 2018 23:00:53 +0000 (16:00 -0700)]
[automerger skipped] [automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to nyc-dev) am: 33c37cb37c am: 93d9547b61 am: 5ddeef7116 am: 1890afd456 skipped: bae1ea6478 am: 840e366d50 am: 1e4dfe7d71
am: c2e58d97da  -s ours

Change-Id: If0f1048d19a806f8f0275ae627ded64de6d2bad3

6 years agoMerge "Add null check to confirm there is a quick settings panel" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 22:56:35 +0000 (22:56 +0000)]
Merge "Add null check to confirm there is a quick settings panel" into pi-dev

6 years agoMerge "Clarify PackageManager.hasSigningCertificate docs." into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 22:56:23 +0000 (22:56 +0000)]
Merge "Clarify PackageManager.hasSigningCertificate docs." into pi-dev

6 years ago[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework...
akirilov [Mon, 9 Apr 2018 22:54:48 +0000 (15:54 -0700)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to nyc-dev) am: 33c37cb37c am: 93d9547b61 am: 5ddeef7116 am: 1890afd456 skipped: bae1ea6478 am: 840e366d50
am: 1e4dfe7d71

Change-Id: I9947716a6cd7ba5e6b8de63e3036b4d21d139691

6 years ago[automerger skipped] [automerger] RESTRICT AUTOMERGE: Prevent reporting fake package...
akirilov [Mon, 9 Apr 2018 22:42:40 +0000 (15:42 -0700)]
[automerger skipped] [automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to mnc-dev) am: de71ee469a am: d672eef559 am: 86f5488521 skipped: 0df0b30be9 am: 815008072e am: aa20944ca4 am: 569ad1b287 am: 20a5009e23 skipped: 4fbc80f05b am: dc5ccd8d30 am: 70cff3248e
am: 9f040f4540  -s ours

Change-Id: I2a90f97f608bfb8637eeaa90d3b73cce4967f892

6 years ago[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework...
akirilov [Mon, 9 Apr 2018 22:40:46 +0000 (15:40 -0700)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to nyc-dev) am: 33c37cb37c am: 93d9547b61 am: 5ddeef7116 am: 1890afd456 skipped: bae1ea6478
am: 840e366d50

Change-Id: I920dc967f00b4197dcb5702111efc9fda0e930de

6 years agoMerge "Add GTS test APIs for testing ImsService" into pi-dev
Brad Ebinger [Mon, 9 Apr 2018 22:40:13 +0000 (22:40 +0000)]
Merge "Add GTS test APIs for testing ImsService" into pi-dev

6 years ago[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework...
akirilov [Mon, 9 Apr 2018 22:36:59 +0000 (15:36 -0700)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to mnc-dev) am: de71ee469a am: d672eef559 am: 86f5488521 skipped: 0df0b30be9 am: 815008072e am: aa20944ca4 am: 569ad1b287 am: 20a5009e23 skipped: 4fbc80f05b am: dc5ccd8d30
am: 70cff3248e

Change-Id: I2cb7a7012c1bb872fb4cd67f69351c79c51f550e

6 years ago[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework...
akirilov [Mon, 9 Apr 2018 22:25:14 +0000 (15:25 -0700)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to mnc-dev) am: de71ee469a am: d672eef559 am: 86f5488521 skipped: 0df0b30be9 am: 815008072e am: aa20944ca4 am: 569ad1b287 am: 20a5009e23 skipped: 4fbc80f05b
am: dc5ccd8d30

Change-Id: Ie8ba1d050f753d91fa9304f579b9ef1db701ffc4

6 years ago[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework...
Android Build Merger (Role) [Mon, 9 Apr 2018 22:24:32 +0000 (22:24 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to nyc-dev) am: 33c37cb37c am: 93d9547b61 am: 5ddeef7116 am: 1890afd456 skipped: bae1ea6478

Change-Id: I67ae802c25bfdaa1a5a7b7bc6880d954e30f3e27

6 years ago[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework...
Android Build Merger (Role) [Mon, 9 Apr 2018 22:24:28 +0000 (22:24 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to nyc-dev) am: 33c37cb37c am: 93d9547b61 am: 5ddeef7116 am: 1890afd456

Change-Id: I1d6b280c14a7a6166221ea0d1448de7bc7feb18c

6 years ago[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework...
Android Build Merger (Role) [Mon, 9 Apr 2018 22:24:22 +0000 (22:24 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to nyc-dev) am: 33c37cb37c am: 93d9547b61 am: 5ddeef7116

Change-Id: Ib3a14de258a548393279940fd3aeb067f2596ca8

6 years ago[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework...
Android Build Merger (Role) [Mon, 9 Apr 2018 22:24:16 +0000 (22:24 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to nyc-dev) am: 33c37cb37c am: 93d9547b61

Change-Id: If515d9ec229e37bdc1368a96ae1f1b474dd50ebe

6 years ago[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework...
Android Build Merger (Role) [Mon, 9 Apr 2018 22:24:08 +0000 (22:24 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to nyc-dev) am: 33c37cb37c

Change-Id: I793b787b6275262f1df6caa9262054e15c94840f

6 years agoRESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to...
akirilov [Tue, 27 Mar 2018 20:08:47 +0000 (13:08 -0700)]
RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to nyc-dev)

Test: added AccessibilityEndToEndTest#testPackageNameCannotBeFaked
      cts-tradefed run cts -m CtsAccessibilityServiceTestCases
      cts-tradefed run cts -m CtsAccessibilityTestCases

Bug: 69981755
Change-Id: I187e3e9839f654cea9e06e5de93e10e4d1de3109

6 years agoMerge "Fixed the touch targets when replying" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 22:05:45 +0000 (22:05 +0000)]
Merge "Fixed the touch targets when replying" into pi-dev

6 years agoMerge "Missed setting default values" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 21:48:10 +0000 (21:48 +0000)]
Merge "Missed setting default values" into pi-dev

6 years agoMerge "Exposing the getHomeActivities() to allow the launcher detect the current...
Sunny Goyal [Mon, 9 Apr 2018 21:41:49 +0000 (21:41 +0000)]
Merge "Exposing the getHomeActivities() to allow the launcher detect the current home app" into pi-dev

6 years agoAudioAttributes: handle unknown usage like media
Jean-Michel Trivi [Mon, 9 Apr 2018 17:54:36 +0000 (10:54 -0700)]
AudioAttributes: handle unknown usage like media

In the native audio policy management, the default stream type
  for volume is STREAM_MUSIC, i.e. any player by default is
  considered a "media" player. Do the same for audio attributes
  with regards to suppressible behaviors.

Bug: 74052135
Test: ZenModeHelperTest + see bug
Change-Id: I8f65044807fd3e745f21e031a0aa01a5e6f74cd2

6 years ago[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am...
Dianne Hackborn [Mon, 9 Apr 2018 21:07:34 +0000 (14:07 -0700)]
[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am: ae77fa4725 am: d6b6319286 am: 73fcfd424e am: cb76e24e62 am: 209f5413a1 am: f91e527a32 am: db6d6a2914 am: 42dee597da am: 65b3f30dfe am: e55d5fca11 am: b39b2018e1
am: d7431f236f

Change-Id: I06fa441168da5b1d93a4fb00818d1f89e6f086fe

6 years ago[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework...
Android Build Merger (Role) [Mon, 9 Apr 2018 21:00:57 +0000 (21:00 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to mnc-dev) am: de71ee469a am: d672eef559 am: 86f5488521 skipped: 0df0b30be9 am: 815008072e am: aa20944ca4 am: 569ad1b287 am: 20a5009e23 skipped: 4fbc80f05b

Change-Id: I31f7f0b24c4abb211837b4143bd17922cbd910a1

6 years ago[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework...
Android Build Merger (Role) [Mon, 9 Apr 2018 21:00:53 +0000 (21:00 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to mnc-dev) am: de71ee469a am: d672eef559 am: 86f5488521 skipped: 0df0b30be9 am: 815008072e am: aa20944ca4 am: 569ad1b287 am: 20a5009e23

Change-Id: Idc5e03ce291191f07f6be769ee777e6dd8f59915

6 years ago[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework...
Android Build Merger (Role) [Mon, 9 Apr 2018 21:00:48 +0000 (21:00 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to mnc-dev) am: de71ee469a am: d672eef559 am: 86f5488521 skipped: 0df0b30be9 am: 815008072e am: aa20944ca4 am: 569ad1b287

Change-Id: I04b6008abff856d7998566a2e9136d62d6ac9c5e

6 years ago[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework...
Android Build Merger (Role) [Mon, 9 Apr 2018 21:00:43 +0000 (21:00 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to mnc-dev) am: de71ee469a am: d672eef559 am: 86f5488521 skipped: 0df0b30be9 am: 815008072e am: aa20944ca4

Change-Id: I4c4a136d4c77b6f1ba869992bb54be2ac755a9f7

6 years ago[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework...
Android Build Merger (Role) [Mon, 9 Apr 2018 21:00:38 +0000 (21:00 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to mnc-dev) am: de71ee469a am: d672eef559 am: 86f5488521 skipped: 0df0b30be9 am: 815008072e

Change-Id: Ibbfaf7f47f2471895f7fd5151be1230de51ff258

6 years ago[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework...
Android Build Merger (Role) [Mon, 9 Apr 2018 21:00:26 +0000 (21:00 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to mnc-dev) am: de71ee469a am: d672eef559 am: 86f5488521 skipped: 0df0b30be9

Change-Id: Idc789e68b33b1f8fd841204ce9ffb4b988f9c553

6 years ago[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework...
Android Build Merger (Role) [Mon, 9 Apr 2018 21:00:20 +0000 (21:00 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to mnc-dev) am: de71ee469a am: d672eef559 am: 86f5488521

Change-Id: I9f6c6fedfdc987a2acf1978a71fb0bdcd034e9e0

6 years ago[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework...
Android Build Merger (Role) [Mon, 9 Apr 2018 21:00:15 +0000 (21:00 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to mnc-dev) am: de71ee469a am: d672eef559

Change-Id: Ib50692050fd4e62ad80f24531818a378c75dfe25

6 years ago[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework...
Android Build Merger (Role) [Mon, 9 Apr 2018 21:00:08 +0000 (21:00 +0000)]
[automerger] RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to mnc-dev) am: de71ee469a

Change-Id: I000fae45e723679ba44b378a36a85daef20ae96d

6 years agoRESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to...
akirilov [Thu, 22 Mar 2018 21:01:44 +0000 (14:01 -0700)]
RESTRICT AUTOMERGE: Prevent reporting fake package name - framework (backport to mnc-dev)

Test: added AccessibilityEndToEndTest#testPackageNameCannotBeFaked
      cts-tradefed run cts --package android.accessibilityservice
      cts-tradefed run cts --package android.accessibility

BUG:69981755

Change-Id: Id9990ccf1e88cea441f9b8927e849e67a059cfe4

6 years agoMerge "Force creation of Socket upon Transform application" into pi-dev
Benedict Wong [Mon, 9 Apr 2018 20:55:30 +0000 (20:55 +0000)]
Merge "Force creation of Socket upon Transform application" into pi-dev

6 years ago[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am...
Dianne Hackborn [Mon, 9 Apr 2018 20:49:47 +0000 (13:49 -0700)]
[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am: ae77fa4725 am: d6b6319286 am: 73fcfd424e am: cb76e24e62 am: 209f5413a1 am: f91e527a32 am: db6d6a2914 am: 42dee597da am: 65b3f30dfe am: e55d5fca11
am: b39b2018e1

Change-Id: Id9abd97ef188ed9ac025ddbafc7a50d5f2b342a3

6 years ago[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am...
Dianne Hackborn [Mon, 9 Apr 2018 20:37:50 +0000 (13:37 -0700)]
[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am: ae77fa4725 am: d6b6319286 am: 73fcfd424e am: cb76e24e62 am: 209f5413a1 am: f91e527a32 am: db6d6a2914 am: 42dee597da am: 65b3f30dfe
am: e55d5fca11

Change-Id: Idba3148fd606f4061d79cced3a4583258e48492d

6 years agosoundpool: fix muted channel
Eric Laurent [Mon, 9 Apr 2018 20:35:15 +0000 (13:35 -0700)]
soundpool: fix muted channel

Muted state was not taken into account when starting
sound channel playback.

Bug: 77618929
Test: manual check that camera shutter sound is muted in DnD.
Change-Id: Ia123154d76b388ab6da19f3fe3b369e2ab65b020

6 years agoMerge "Once auto-battery saver is ever set, don't show suggestion" into pi-dev
Makoto Onuki [Mon, 9 Apr 2018 20:29:30 +0000 (20:29 +0000)]
Merge "Once auto-battery saver is ever set, don't show suggestion" into pi-dev

6 years agoDisable onboarding on P devices
Tracy Zhou [Mon, 9 Apr 2018 17:37:44 +0000 (10:37 -0700)]
Disable onboarding on P devices

Test: manual test
Change-Id: If0eb7cae068112795de8110ef83fb96e8cc64fe1
Fixes: 77652524

6 years ago[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am...
Android Build Merger (Role) [Mon, 9 Apr 2018 20:18:09 +0000 (20:18 +0000)]
[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am: ae77fa4725 am: d6b6319286 am: 73fcfd424e am: cb76e24e62 am: 209f5413a1 am: f91e527a32 am: db6d6a2914 am: 42dee597da am: 65b3f30dfe

Change-Id: I37d65e9e885739b3f4a897f9ceabe221534e65f8

6 years ago[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am...
Android Build Merger (Role) [Mon, 9 Apr 2018 20:18:03 +0000 (20:18 +0000)]
[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am: ae77fa4725 am: d6b6319286 am: 73fcfd424e am: cb76e24e62 am: 209f5413a1 am: f91e527a32 am: db6d6a2914 am: 42dee597da

Change-Id: Ic1cb5a34385d6cbdb2e332fd96b6caf6c53b353b

6 years ago[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am...
Android Build Merger (Role) [Mon, 9 Apr 2018 20:17:57 +0000 (20:17 +0000)]
[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am: ae77fa4725 am: d6b6319286 am: 73fcfd424e am: cb76e24e62 am: 209f5413a1 am: f91e527a32 am: db6d6a2914

Change-Id: Id6bc4a730ed862e380eb3b396a61999c56d2c679

6 years ago[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am...
Android Build Merger (Role) [Mon, 9 Apr 2018 20:17:52 +0000 (20:17 +0000)]
[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am: ae77fa4725 am: d6b6319286 am: 73fcfd424e am: cb76e24e62 am: 209f5413a1 am: f91e527a32

Change-Id: I4a2e77198d157f52266095338cf118896fb53348

6 years ago[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am...
Android Build Merger (Role) [Mon, 9 Apr 2018 20:17:44 +0000 (20:17 +0000)]
[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am: ae77fa4725 am: d6b6319286 am: 73fcfd424e am: cb76e24e62 am: 209f5413a1

Change-Id: I29865f40b20c86a3d13493886cfe818638075fea

6 years ago[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am...
Android Build Merger (Role) [Mon, 9 Apr 2018 20:17:24 +0000 (20:17 +0000)]
[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am: ae77fa4725 am: d6b6319286 am: 73fcfd424e am: cb76e24e62

Change-Id: Id581b577b7c21bca96019a0a1b9c4bb3c3abc7f6

6 years ago[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am...
Android Build Merger (Role) [Mon, 9 Apr 2018 20:17:15 +0000 (20:17 +0000)]
[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am: ae77fa4725 am: d6b6319286 am: 73fcfd424e

Change-Id: I9719266bad39cd58527b0aaeec10b39a1eba3509

6 years ago[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am...
Android Build Merger (Role) [Mon, 9 Apr 2018 20:17:09 +0000 (20:17 +0000)]
[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am: ae77fa4725 am: d6b6319286

Change-Id: Ic3796cc42e2ce78558fe47cff83e19d1aa52cea1

6 years ago[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am...
Android Build Merger (Role) [Mon, 9 Apr 2018 20:16:59 +0000 (20:16 +0000)]
[automerger] Fix issue #27317952: PendingIntent.getIntent() should be protected am: ae77fa4725

Change-Id: Ic2e2b8d07e1f9872189282923114846db3b3c94c

6 years agoFix issue #27317952: PendingIntent.getIntent() should be protected
Dianne Hackborn [Tue, 1 Mar 2016 02:02:43 +0000 (18:02 -0800)]
Fix issue #27317952: PendingIntent.getIntent() should be protected

Bug: 64752751
Change-Id: Ib05135cd94f5251942a6fc6df542ed39083f7827
(cherry picked from commit e5ad41bc022db99c4f6663da0a9e49356c006741)

6 years agoAdd null check to confirm there is a quick settings panel
Brad Stenning [Mon, 9 Apr 2018 20:07:29 +0000 (13:07 -0700)]
Add null check to confirm there is a quick settings panel

Bug: 77324282

Test: manually launched on head unit
Change-Id: If6b823e5cf0fe48906dd99c2cfcf9c342a69cdcf

6 years agoMerge "Update dnd settings summary" into pi-dev
Beverly Tai [Mon, 9 Apr 2018 19:54:24 +0000 (19:54 +0000)]
Merge "Update dnd settings summary" into pi-dev

6 years agoMerge "ContentResolver should handle dead system_server." into pi-dev
Jeff Sharkey [Mon, 9 Apr 2018 19:07:43 +0000 (19:07 +0000)]
Merge "ContentResolver should handle dead system_server." into pi-dev

6 years agoMerge "Allow 3 variants of icon size in TwoTargetPreference." into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 19:04:22 +0000 (19:04 +0000)]
Merge "Allow 3 variants of icon size in TwoTargetPreference." into pi-dev

6 years agoExposing the getHomeActivities() to allow the launcher detect the current home app
Sunny Goyal [Mon, 9 Apr 2018 18:24:32 +0000 (11:24 -0700)]
Exposing the getHomeActivities() to allow the launcher detect the current home app

Test: Build and verified the lib with Launcher3
Bug: 75979063
Change-Id: I77c2b2178030e083336b2e51ee850f5753f03aba

6 years agoMerge "Remove focus highlight from scrims" into pi-dev
Lucas Dupin [Mon, 9 Apr 2018 18:58:38 +0000 (18:58 +0000)]
Merge "Remove focus highlight from scrims" into pi-dev

6 years agoMerge "Helper methods for settings screen" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 18:52:25 +0000 (18:52 +0000)]
Merge "Helper methods for settings screen" into pi-dev

6 years agoMerge "Disable ContentService.DEBUG" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 18:34:13 +0000 (18:34 +0000)]
Merge "Disable ContentService.DEBUG" into pi-dev

6 years agoFixed the touch targets when replying
Selim Cinek [Mon, 9 Apr 2018 17:44:52 +0000 (10:44 -0700)]
Fixed the touch targets when replying

Because part of the reply field was outside the notification,
clicks on the remote input or the send button could be discarded
and go to the view instead.
We're not manually dispatching those touches to the remoteInput.
Additionally are we now closing the input field first and only
then opening the app.

Change-Id: Iaea3fb78347dfc3a3e22b0d7155e6d2e50c82285
Fixes: 74161213
Fixes: 77482496
Test: open inline reply, click on very bottom below text, observe that app isn't opened

6 years agoAdds entries for Swipe Up Enable in Settings.Secure
Mehdi Alizadeh [Wed, 4 Apr 2018 01:38:34 +0000 (18:38 -0700)]
Adds entries for Swipe Up Enable in Settings.Secure

Bug: 77549883
Test: None
Change-Id: Ie346c4f527fa014eadbfaa1d81d7f8a5f37f653f

6 years agoClarify PackageManager.hasSigningCertificate docs.
Daniel Cashman [Mon, 2 Apr 2018 23:59:19 +0000 (16:59 -0700)]
Clarify PackageManager.hasSigningCertificate docs.

Address API review by describing relationship between the
PackageManager.hasSigningCertificate() methods and the PackageInfo
GET_SIGNING_CERTIFICATES method, as well as differentiating the
UID documentation from the package-name based one.

Bug: 74831566
Test: None, doc change.
Change-Id: I11c556325f9b2efbc2e5e1cf896b9c58db092ae8

6 years agoMissed setting default values
Brad Stenning [Mon, 9 Apr 2018 17:56:10 +0000 (10:56 -0700)]
Missed setting default values

Bug:77802818
Test: Manual
Change-Id: I1776b8c197e9f91148748568c1529517d6437161

6 years agoMerge "Update PreferenceCategory headers to use headline font." into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 17:55:48 +0000 (17:55 +0000)]
Merge "Update PreferenceCategory headers to use headline font." into pi-dev

6 years agoMerge "Animate shade expansion when bouncer" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 17:34:33 +0000 (17:34 +0000)]
Merge "Animate shade expansion when bouncer" into pi-dev

6 years agoMerge "Use config_headlineFontFamilyMedium for actionBar/toolbar." into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 17:33:21 +0000 (17:33 +0000)]
Merge "Use config_headlineFontFamilyMedium for actionBar/toolbar." into pi-dev

6 years agoMerge "More knobs for connectivity experiments." into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 17:33:15 +0000 (17:33 +0000)]
Merge "More knobs for connectivity experiments." into pi-dev

6 years agoMerge "Add config to allow start activities on long press." into pi-dev
Michael Kwan [Mon, 9 Apr 2018 16:58:51 +0000 (16:58 +0000)]
Merge "Add config to allow start activities on long press." into pi-dev

6 years agoMerge "Tighten up pending animations list." into pi-dev
Winson Chung [Mon, 9 Apr 2018 16:53:55 +0000 (16:53 +0000)]
Merge "Tighten up pending animations list." into pi-dev

6 years agoMerge "PlaybackParams: Add @TestApi annotation to access stretch mode" into pi-dev
Andy Hung [Mon, 9 Apr 2018 16:49:52 +0000 (16:49 +0000)]
Merge "PlaybackParams: Add @TestApi annotation to access stretch mode" into pi-dev

6 years agoMerge "Add common weight name to the API description" into pi-dev
Seigo Nonaka [Mon, 9 Apr 2018 16:46:26 +0000 (16:46 +0000)]
Merge "Add common weight name to the API description" into pi-dev

6 years agoAnimate shade expansion when bouncer
Lucas Dupin [Mon, 9 Apr 2018 06:17:40 +0000 (23:17 -0700)]
Animate shade expansion when bouncer

Change-Id: Ia1b303766379cb9d917c8b60ed70730fe3c4f5b4
Fixes: 76228574
Test: Swipe up, hit back
Test: Double tap on notification, hit back
Test: Launch camera, request bouncer, hit back
Test: Repeat for PIN and password

6 years agoDisable ContentService.DEBUG
Makoto Onuki [Mon, 9 Apr 2018 15:59:01 +0000 (08:59 -0700)]
Disable ContentService.DEBUG

Bug: 77778401
Test: boot
Change-Id: I4fb5ff3555736bd92eb25a25219d35b8ade19708

6 years agoMerge "Expose TestAPIs needed by GtsOsTestCases" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 15:57:42 +0000 (15:57 +0000)]
Merge "Expose TestAPIs needed by GtsOsTestCases" into pi-dev

6 years agoContentResolver should handle dead system_server.
Jeff Sharkey [Mon, 9 Apr 2018 15:56:42 +0000 (09:56 -0600)]
ContentResolver should handle dead system_server.

Use the common rethrowFromSystemServer() pattern.  Carefully only
throws for calls going to system_server; leaves existing behavior
intact when calling a ContentProvider.

Bug: 77671218
Test: builds, boots
Change-Id: Ie5e0763fb5e62b832f2b6a03c8f9d72dab3bf89a

6 years agoMerge "Update more dialog themes to use medium headline font." into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 15:42:37 +0000 (15:42 +0000)]
Merge "Update more dialog themes to use medium headline font." into pi-dev

6 years agoMerge "Support bluetooth not using MultinetworkPolicyTracker" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 14:35:51 +0000 (14:35 +0000)]
Merge "Support bluetooth not using MultinetworkPolicyTracker" into pi-dev

6 years agoMerge "NO PARTIAL RERUN: Do not return recycled bitmaps" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 14:32:41 +0000 (14:32 +0000)]
Merge "NO PARTIAL RERUN: Do not return recycled bitmaps" into pi-dev

6 years agoAdd common weight name to the API description
Seigo Nonaka [Mon, 2 Apr 2018 18:45:34 +0000 (11:45 -0700)]
Add common weight name to the API description

Bug: 76448718
Test: m docs
Change-Id: Id0ce0b2bcbf4f6b0cf1aa97c4d2c3c5117dc62c2

6 years agoMerge "Update Javadoc of setLockTaskEnabled to reflect known issue" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 13:39:31 +0000 (13:39 +0000)]
Merge "Update Javadoc of setLockTaskEnabled to reflect known issue" into pi-dev

6 years agoMerge "DisplayContentTests: Mark and improve flaky test" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 13:16:11 +0000 (13:16 +0000)]
Merge "DisplayContentTests: Mark and improve flaky test" into pi-dev

6 years agoMerge "Permission Check For DPM.getPermittedAccessibilityServices" into pi-dev
Eric Sandness [Mon, 9 Apr 2018 13:10:59 +0000 (13:10 +0000)]
Merge "Permission Check For DPM.getPermittedAccessibilityServices" into pi-dev

6 years agoMerge "Fixing broken logging of OTHER events" into pi-dev
Jan Althaus [Mon, 9 Apr 2018 13:09:55 +0000 (13:09 +0000)]
Merge "Fixing broken logging of OTHER events" into pi-dev

6 years agoMerge "Only match addresses without zip codes if at the end." into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 13:02:13 +0000 (13:02 +0000)]
Merge "Only match addresses without zip codes if at the end." into pi-dev

6 years agoHelper methods for settings screen
Julia Reynolds [Mon, 9 Apr 2018 12:47:39 +0000 (08:47 -0400)]
Helper methods for settings screen

Bug: 77657376
Test: make -j RunSettingsRoboTests
Change-Id: I2002cf98f26312e074c40c085044c60f7ce52ff7

6 years agoMerge "Fallback added for HEAVY_CLICK effect" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 11:26:20 +0000 (11:26 +0000)]
Merge "Fallback added for HEAVY_CLICK effect" into pi-dev

6 years agoMerge "Mapping of haptic constants updated" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 11:26:20 +0000 (11:26 +0000)]
Merge "Mapping of haptic constants updated" into pi-dev

6 years agoMerge "Add haptic constants" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 11:26:20 +0000 (11:26 +0000)]
Merge "Add haptic constants" into pi-dev

6 years agoSupport bluetooth not using MultinetworkPolicyTracker
Erik Kline [Mon, 12 Mar 2018 14:18:58 +0000 (23:18 +0900)]
Support bluetooth not using MultinetworkPolicyTracker

This required advancing the IpManager to IpClient refactoring
(Bluetooth used IpManager and friends). Most importantly, the
Bluetooth code used WaitForProvisioningCallback, so this is
moved into IpClient proper now. Also: some more renaming
cleanup.

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 62476366
Bug: 72663849

Merged-In: I5e5b2c59ad3ea9ad574e8e683bcab3b09cfe0791
Merged-In: I89b45310181d952129fb2294db63654da9b4057f
Change-Id: I9eee2a9d5c31cdd48a054a7edc3403584efb1864
(cherry picked from commit 8d1fe54be1b605846cca9dfe4a966b3c5e739caa)

6 years agoMerge "Don't backup/restore screen brightness" into pi-dev
Annie Meng [Mon, 9 Apr 2018 09:53:48 +0000 (09:53 +0000)]
Merge "Don't backup/restore screen brightness" into pi-dev

6 years agoMerge "Fix crash when modifying Selection" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 09:26:42 +0000 (09:26 +0000)]
Merge "Fix crash when modifying Selection" into pi-dev

6 years agoPermission Check For DPM.getPermittedAccessibilityServices
Eric Sandness [Tue, 3 Apr 2018 17:12:39 +0000 (18:12 +0100)]
Permission Check For DPM.getPermittedAccessibilityServices

Require the callers of DPM.getPermittedAccessibilityServices(userId) to
hold the MANAGE_USERS permission.  The only known callers of this API
are settings apps that already hold this permission.

Bug: 62343414
Test: com.android.server.devicepolicy.DevicePolicyManagerTest
Test: com.google.android.gts.devicepolicy.DeviceOwnerTest
Test: Manually checked accessibility settings in DO and PO modes
Change-Id: I8ee3f876fcaffa63636645f0f59709cd147254ef

6 years agoMerge "Add setting/experiment to send keycode sleep for ungaze when Home is the foreg...
Robin Bennett [Mon, 9 Apr 2018 07:41:20 +0000 (07:41 +0000)]
Merge "Add setting/experiment to send keycode sleep for ungaze when Home is the foreground activity." into pi-dev

6 years agoMerge "Fix the background of lockscreen showing the art work of removed media notific...
Shawn Lin [Mon, 9 Apr 2018 03:58:49 +0000 (03:58 +0000)]
Merge "Fix the background of lockscreen showing the art work of removed media notification" into pi-dev

6 years agoUpdate more dialog themes to use medium headline font.
Andrew Sapperstein [Sun, 8 Apr 2018 22:29:22 +0000 (15:29 -0700)]
Update more dialog themes to use medium headline font.

Updates more of the DeviceDefault Dialog themes to use
DialogWindowTitle.DeviceDefault and other related styles.

Also updates DialogWindowTitle.DeviceDefault to use the medium headline
font config for its fontFamily to enable OEM customization.

Bug: 70296667
Test: visual inspection
Change-Id: I77adba91d62caf327f96e237d1dd30126ef555c6

6 years agoUpdate PreferenceCategory headers to use headline font.
Andrew Sapperstein [Sun, 8 Apr 2018 18:56:29 +0000 (11:56 -0700)]
Update PreferenceCategory headers to use headline font.

Medium weight.

Bug: 70296667
Test: visual
Change-Id: I879f5524920050e0a12b094d8ad0e9bcf72fd24c

6 years agoUse config_headlineFontFamilyMedium for actionBar/toolbar.
Andrew Sapperstein [Wed, 24 Jan 2018 01:31:29 +0000 (17:31 -0800)]
Use config_headlineFontFamilyMedium for actionBar/toolbar.

Updates the fontFamily used for Theme.DeviceDefault.Settings's
actionBarStyle's titleTextStyle to be config_headlineFontFamilyMedium.

Also updates the toolbarStyle for DeviceDefault themes to use a new
DeviceDefault version that sets titleTextAppearance to a DeviceDefault
version that picks up the fontFamily change made above.

This allows greater customization of system surfaces for OEMs.

Bug: 69314526
Test: visual inspection
Change-Id: Ida9bfaba1e136f29ae80715d1648f13f7b2f2126

6 years agoDisplayContentTests: Mark and improve flaky test
Adrian Roos [Sun, 8 Apr 2018 17:59:08 +0000 (10:59 -0700)]
DisplayContentTests: Mark and improve flaky test

Marks testForAllWindows as flaky. Also improves assertForAllWindowsOrder
to output the actual vs expected output in case the test fails.

Bug: 77772044
Test: atest DisplayContentTests
Change-Id: I975a02621ffb968af24b962fccbe998ded651715

6 years agoNO PARTIAL RERUN: Do not return recycled bitmaps
Lucas Dupin [Sat, 7 Apr 2018 18:08:15 +0000 (11:08 -0700)]
NO PARTIAL RERUN: Do not return recycled bitmaps

There's also no need to offload WallpaperManager#forgetLoadedBitmap
because Bitmap#recycle is asynchronous - and the whole method is
synchronized.

Fixes 77597550
Test: atest cts/tests/framework/base/activitymanager/src/android/server/am/ActivityManagerMultiDisplayTests.java

Change-Id: I88014e21bd05e10c2f524393bb637596708e4e63