OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Cherrypicked from nyc-mr1-dev docs: Removing Android docs from Gerrit Original...
Andrew Solovay [Fri, 24 Mar 2017 03:26:23 +0000 (03:26 +0000)]
Merge "Cherrypicked from nyc-mr1-dev docs: Removing Android docs from Gerrit Original Change-Id: I5331cdc968be817ff70ba32dd03fce76493a6ab8 Test: make ds-docs" into nyc-mr2-dev-plus-aosp
am: df3c192bfe

Change-Id: Ic088a9409d8edbd30c84f6a10dc290501dc87f97

7 years agoMerge "Cherrypicked from nyc-mr1-dev docs: Removing Android docs from Gerrit Original...
TreeHugger Robot [Fri, 24 Mar 2017 03:21:49 +0000 (03:21 +0000)]
Merge "Cherrypicked from nyc-mr1-dev docs: Removing Android docs from Gerrit Original Change-Id: I5331cdc968be817ff70ba32dd03fce76493a6ab8 Test: make ds-docs" into nyc-mr2-dev-plus-aosp

7 years agoMerge "Minor string change to screen pinning"
TreeHugger Robot [Fri, 24 Mar 2017 02:39:28 +0000 (02:39 +0000)]
Merge "Minor string change to screen pinning"

7 years agoMerge "Use a single thread to handle multiple AppFuse mounts."
TreeHugger Robot [Fri, 24 Mar 2017 02:18:52 +0000 (02:18 +0000)]
Merge "Use a single thread to handle multiple AppFuse mounts."

7 years agoMerge "Some logging for settings reset"
TreeHugger Robot [Fri, 24 Mar 2017 02:17:15 +0000 (02:17 +0000)]
Merge "Some logging for settings reset"

7 years agoMerge "Create plugin interface for volume dialog"
TreeHugger Robot [Fri, 24 Mar 2017 02:14:21 +0000 (02:14 +0000)]
Merge "Create plugin interface for volume dialog"

7 years agoMerge "Moved the waiting for fingerprint string to the hint"
TreeHugger Robot [Fri, 24 Mar 2017 02:13:04 +0000 (02:13 +0000)]
Merge "Moved the waiting for fingerprint string to the hint"

7 years agoMerge "Deprecated getDeviceId and added getMeid and getImei"
Jack Yu [Fri, 24 Mar 2017 02:09:42 +0000 (02:09 +0000)]
Merge "Deprecated getDeviceId and added getMeid and getImei"

7 years agoMerge "Unhide FLAG_SUPPORT_EJECT and related methods."
TreeHugger Robot [Fri, 24 Mar 2017 01:23:45 +0000 (01:23 +0000)]
Merge "Unhide FLAG_SUPPORT_EJECT and related methods."

7 years agoMerge "Recents: Remove TV Specific blacklist"
TreeHugger Robot [Fri, 24 Mar 2017 00:48:21 +0000 (00:48 +0000)]
Merge "Recents: Remove TV Specific blacklist"

7 years agoMerge "Add logging constant for vr display preference"
TreeHugger Robot [Fri, 24 Mar 2017 00:47:36 +0000 (00:47 +0000)]
Merge "Add logging constant for vr display preference"

7 years agoMerge "Fix add user tint, some people thought it was disabled"
TreeHugger Robot [Fri, 24 Mar 2017 00:45:46 +0000 (00:45 +0000)]
Merge "Fix add user tint, some people thought it was disabled"

7 years agoMerge "PIP: Move TV PIP location to the bottom right"
Jaewan Kim [Fri, 24 Mar 2017 00:44:02 +0000 (00:44 +0000)]
Merge "PIP: Move TV PIP location to the bottom right"

7 years agoSome logging for settings reset
Amith Yamasani [Tue, 21 Mar 2017 22:23:47 +0000 (15:23 -0700)]
Some logging for settings reset

If settings db gets reset because it disappeared/got corrupted,
then write the Build.ID of the OTA, so we know when it was reset.

Bug: 36365648
Test: manual
Change-Id: I499a7f65f07a61c0e4651dbd046fc5b16408c09d

7 years agoCreate plugin interface for volume dialog
Jason Monk [Wed, 22 Mar 2017 16:50:57 +0000 (12:50 -0400)]
Create plugin interface for volume dialog

Very few logic changes, mostly just breaking out certain interfaces
and classes to the plugin lib.

Test: make + volume keys
Change-Id: Ieabc6d35f6ef980842849236a0b8ffd5543b3a2c

7 years agoUse a single thread to handle multiple AppFuse mounts.
Daichi Hirono [Thu, 2 Feb 2017 04:56:45 +0000 (13:56 +0900)]
Use a single thread to handle multiple AppFuse mounts.

Previously StorageManagerService launched a thread per AppFuse mount
point. The CL changes the behavior so that it just launches a single
thread to handle multiple AppFuse mounts.

Bug: 34903085
Test: CTS and manually testing
Change-Id: I2d9e7232834b0c8eff633b85110a3b38534171f7

7 years agoMerge "Less cereal, more stable"
Jason Monk [Fri, 24 Mar 2017 00:35:24 +0000 (00:35 +0000)]
Merge "Less cereal, more stable"

7 years agoMerge commit '745766e11e8bb7e8642be33be6bdf501af245074' into HEAD
The Android Automerger [Thu, 23 Mar 2017 23:51:20 +0000 (23:51 +0000)]
Merge commit '745766e11e8bb7e8642be33be6bdf501af245074' into HEAD

* commit '745766e11e8bb7e8642be33be6bdf501af245074':
  Forward package removed broadcast to KeyChainService

7 years agoUnhide FLAG_SUPPORT_EJECT and related methods.
Garfield Tan [Wed, 22 Mar 2017 19:01:14 +0000 (12:01 -0700)]
Unhide FLAG_SUPPORT_EJECT and related methods.

Test: Builds and CTS tests pass. Some manual tests as well.
Bug: 36483910
Change-Id: Idd9b1c9d9573222ee12127044ff11b9ab2487f0a

7 years agoMerge "DO NOT MERGE: Add state machine model for skipping initial brightness ramps...
Julius D'souza [Thu, 23 Mar 2017 23:37:31 +0000 (23:37 +0000)]
Merge "DO NOT MERGE: Add state machine model for skipping initial brightness ramps." into cw-f-dev am: e07e8ac99a  -s ours am: 610663ebc5
am: fa64e10e2e  -s ours

Change-Id: If3acbdf6326f37aa78a2ec530e772959f046c514

7 years agoMerge "DO NOT MERGE: Add state machine model for skipping initial brightness ramps...
Julius D'souza [Thu, 23 Mar 2017 23:32:40 +0000 (23:32 +0000)]
Merge "DO NOT MERGE: Add state machine model for skipping initial brightness ramps." into cw-f-dev am: e07e8ac99a  -s ours
am: 610663ebc5

Change-Id: If3eb5d3b12f4780177aef37e4133338b0d8eb8d2

7 years agoMerge "DO NOT MERGE: Add state machine model for skipping initial brightness ramps...
Julius D'souza [Thu, 23 Mar 2017 23:27:56 +0000 (23:27 +0000)]
Merge "DO NOT MERGE: Add state machine model for skipping initial brightness ramps." into cw-f-dev
am: e07e8ac99a  -s ours

Change-Id: I65724f0fa8bb9763484f2766c061310d6da06918

7 years agoMerge "Anchor a cascading submenu to its parent menu item"
TreeHugger Robot [Thu, 23 Mar 2017 23:25:33 +0000 (23:25 +0000)]
Merge "Anchor a cascading submenu to its parent menu item"

7 years agoRecents: Remove TV Specific blacklist
Sid Soundararajan [Thu, 23 Mar 2017 22:54:10 +0000 (15:54 -0700)]
Recents: Remove TV Specific blacklist

Test: Pre-submit tests should pass.

BUG: 36566671

Change-Id: I39bee60bc61b501c57b3c304f86cee7fb9c0560b

7 years agoMerge "DO NOT MERGE: Add state machine model for skipping initial brightness ramps...
Julius D'souza [Thu, 23 Mar 2017 23:15:41 +0000 (23:15 +0000)]
Merge "DO NOT MERGE: Add state machine model for skipping initial brightness ramps." into cw-f-dev

7 years agoMerge "Merge "wifi: use android.graphics.drawable.Icon for Passpoint icon data" am...
Peter Qiu [Thu, 23 Mar 2017 23:13:32 +0000 (23:13 +0000)]
Merge "Merge "wifi: use android.graphics.drawable.Icon for Passpoint icon data" am: 44ef19d131 am: aadbb2d45e" into nyc-mr2-dev-plus-aosp
am: 3f57a273d2

Change-Id: Ie314289ce69f07c872c7a16ddc90d36be25c777f

7 years agoMerge "Remove bg_non_interactive cgroup [ DO NOT MERGE ]" into nyc-mr2-dev am: 7e6dea0fab
Wei Wang [Thu, 23 Mar 2017 23:08:58 +0000 (23:08 +0000)]
Merge "Remove bg_non_interactive cgroup [ DO NOT MERGE ]" into nyc-mr2-dev am: 7e6dea0fab
am: 2e413a8ccf  -s ours

Change-Id: Icdcbd84f8af10ee177e1e1eb3c9210a8c3e4f79c

7 years agoMerge "Merge "wifi: use android.graphics.drawable.Icon for Passpoint icon data" am...
Android Build Merger (Role) [Thu, 23 Mar 2017 23:06:22 +0000 (23:06 +0000)]
Merge "Merge "wifi: use android.graphics.drawable.Icon for Passpoint icon data" am: 44ef19d131 am: aadbb2d45e" into nyc-mr2-dev-plus-aosp

7 years agoMerge "wifi: use android.graphics.drawable.Icon for Passpoint icon data" am: 44ef19d131
Peter Qiu [Thu, 23 Mar 2017 23:05:29 +0000 (23:05 +0000)]
Merge "wifi: use android.graphics.drawable.Icon for Passpoint icon data" am: 44ef19d131
am: aadbb2d45e

Change-Id: Ica6e22e24e421cafa50f1c9b9a2483f37459e9d8

7 years agoMerge "Remove bg_non_interactive cgroup [ DO NOT MERGE ]" into nyc-mr2-dev
Wei Wang [Thu, 23 Mar 2017 23:02:15 +0000 (23:02 +0000)]
Merge "Remove bg_non_interactive cgroup [ DO NOT MERGE ]" into nyc-mr2-dev
am: 7e6dea0fab

Change-Id: Ife3062eddc884dfffccaf7a85ce72dfb5d944882

7 years agoMerge "Fixes attestation id gathering from secondary android user"
TreeHugger Robot [Thu, 23 Mar 2017 23:00:20 +0000 (23:00 +0000)]
Merge "Fixes attestation id gathering from secondary android user"

7 years agoMerge "wifi: use android.graphics.drawable.Icon for Passpoint icon data"
Peter Qiu [Thu, 23 Mar 2017 23:00:06 +0000 (23:00 +0000)]
Merge "wifi: use android.graphics.drawable.Icon for Passpoint icon data"
am: 44ef19d131

Change-Id: I65b22e41ae62172cc7b241fe68c6d1c92c782a69

7 years agoMerge "Ignore notifications with zero-timing vibrations."
Amit Pawar [Thu, 23 Mar 2017 22:53:44 +0000 (22:53 +0000)]
Merge "Ignore notifications with zero-timing vibrations."

7 years agoMerge "wifi: use android.graphics.drawable.Icon for Passpoint icon data"
Treehugger Robot [Thu, 23 Mar 2017 22:53:46 +0000 (22:53 +0000)]
Merge "wifi: use android.graphics.drawable.Icon for Passpoint icon data"

7 years agoDon't inflate LegacyGlobalActions until its shown
Jason Monk [Thu, 23 Mar 2017 19:40:21 +0000 (15:40 -0400)]
Don't inflate LegacyGlobalActions until its shown

It has some buggy code that depends on it being shown directly
after being instantiated, so make sure we don't instantiate it
until we need it.

Test: See bug, its complicated
Change-Id: Ic4863f53abaeb2d2070258a7f65b214376fb2889
Fixes: 36556777

7 years agoMerge commit 'bd10777948fe5a0d9452f73c30941f46c6b4a2bf' into HEAD
Robin Lee [Thu, 23 Mar 2017 22:34:44 +0000 (22:34 +0000)]
Merge commit 'bd10777948fe5a0d9452f73c30941f46c6b4a2bf' into HEAD

* commit 'bd10777948fe5a0d9452f73c30941f46c6b4a2bf':
  Forward package removed broadcast to KeyChainService

Test: make full -j30
Fix: 36568026
Change-Id: Icd3cda64e403212132e2c7d731e9793eb92c368a

7 years agoMerge "Hide Parcel#readSparseIntArray and Parcel#writeSparseIntArray"
TreeHugger Robot [Thu, 23 Mar 2017 22:36:55 +0000 (22:36 +0000)]
Merge "Hide Parcel#readSparseIntArray and Parcel#writeSparseIntArray"

7 years agoMerge "Verify paging is by auto-pager in CTS."
TreeHugger Robot [Thu, 23 Mar 2017 22:35:54 +0000 (22:35 +0000)]
Merge "Verify paging is by auto-pager in CTS."

7 years agoMerge "TIF: Make COLUMN_LOCKED of channels table public"
Conrad Chen [Thu, 23 Mar 2017 22:31:01 +0000 (22:31 +0000)]
Merge "TIF: Make COLUMN_LOCKED of channels table public"

7 years agoMerge "Disable no-channel exception, notifications will silently fail"
Geoffrey Pitsch [Thu, 23 Mar 2017 22:23:01 +0000 (22:23 +0000)]
Merge "Disable no-channel exception, notifications will silently fail"

7 years agoMerge "Notification Inline strings for non-upgraded apps"
TreeHugger Robot [Thu, 23 Mar 2017 22:19:36 +0000 (22:19 +0000)]
Merge "Notification Inline strings for non-upgraded apps"

7 years agoMerge "Introduce AuthenticationRequiredException, and @hide RecoverableSecurityExcept...
TreeHugger Robot [Thu, 23 Mar 2017 22:12:20 +0000 (22:12 +0000)]
Merge "Introduce AuthenticationRequiredException, and @hide RecoverableSecurityException."

7 years agoMerge "Support Alpha8->RGBA bitmap copying"
Matt Sarett [Thu, 23 Mar 2017 22:05:02 +0000 (22:05 +0000)]
Merge "Support Alpha8->RGBA bitmap copying"

7 years agoDisable no-channel exception, notifications will silently fail
Geoffrey Pitsch [Thu, 23 Mar 2017 21:57:12 +0000 (17:57 -0400)]
Disable no-channel exception, notifications will silently fail

Logs instead in the meantime.

Bug: 36516812
Test: runtest systemui-notification
Change-Id: I03dd46b7357e443c7810cecda9a8ba13c9755f30

7 years agoMerge "Add null check on serviceinfo"
Geoffrey Pitsch [Thu, 23 Mar 2017 21:54:25 +0000 (21:54 +0000)]
Merge "Add null check on serviceinfo"

7 years agoMerge "Ignore flaky notification test"
TreeHugger Robot [Thu, 23 Mar 2017 21:49:01 +0000 (21:49 +0000)]
Merge "Ignore flaky notification test"

7 years agoAdd logging constant for vr display preference
Fan Zhang [Thu, 23 Mar 2017 21:46:59 +0000 (14:46 -0700)]
Add logging constant for vr display preference

Change-Id: I46f4add85162a4242adb5b3ff519c21129ef917e
Fix: 36557316
Test: builds

7 years agoMerge "Notification for MM reject cause code" am: 0805b3486f -s ours am: 2aee612c14...
Brad Ebinger [Thu, 23 Mar 2017 21:44:10 +0000 (21:44 +0000)]
Merge "Notification for MM reject cause code" am: 0805b3486f  -s ours am: 2aee612c14  -s ours
am: a0668b3042  -s ours

Change-Id: Ia085ff3ec92af263047f0d8ae1eaffabb103431d

7 years agoMerge "Do not assume presence of status bar service in GlobalActions"
TreeHugger Robot [Thu, 23 Mar 2017 21:38:56 +0000 (21:38 +0000)]
Merge "Do not assume presence of status bar service in GlobalActions"

7 years agoMerge "Forward package removed broadcast to KeyChainService"
TreeHugger Robot [Thu, 23 Mar 2017 21:36:54 +0000 (21:36 +0000)]
Merge "Forward package removed broadcast to KeyChainService"

7 years agoDeprecated getDeviceId and added getMeid and getImei
Jack Yu [Thu, 16 Mar 2017 00:14:01 +0000 (17:14 -0700)]
Deprecated getDeviceId and added getMeid and getImei

Added two new public APIs getMeid and getImei. Deprecated the exisintg
getDeviceId API because it can't return a constant id when phone type
changes.

Test: CTS and manual
bug: 3423362010831289

Change-Id: Iad4c05d2fd2efc538214f466861497c973882dfe

7 years agoForward package removed broadcast to KeyChainService
Robin Lee [Thu, 23 Mar 2017 15:28:37 +0000 (15:28 +0000)]
Forward package removed broadcast to KeyChainService

Test: Cts Verifier > Security > KeyChain Test
Test: Manually uninstall and reinstalling Chrome
Test: Manually disable KeyChain and then reinstall Chrome
Bug: 35968281
Change-Id: I1692f7042f081d1a743e0e64ea24fe1dbe63192d

7 years agoMerge "Notification for MM reject cause code" am: 0805b3486f -s ours
Brad Ebinger [Thu, 23 Mar 2017 21:28:09 +0000 (21:28 +0000)]
Merge "Notification for MM reject cause code" am: 0805b3486f  -s ours
am: 2aee612c14  -s ours

Change-Id: I7cda303ea997223e9ab0564dd5c6be7c5893754b

7 years agoMoved the waiting for fingerprint string to the hint
Selim Cinek [Thu, 23 Mar 2017 21:20:32 +0000 (14:20 -0700)]
Moved the waiting for fingerprint string to the hint

We don't want to bake in the button into the text, so we're
switching the description to the hint text.

Test: manual
Change-Id: Ib0e4a86a11390ce5d3bcb0de9bc31861ad9ee84d
Fixes: 36557742

7 years agoMerge "Delete preloadsFileCache when the cache has expired"
TreeHugger Robot [Thu, 23 Mar 2017 21:19:43 +0000 (21:19 +0000)]
Merge "Delete preloadsFileCache when the cache has expired"

7 years agoMerge "Remove bg_non_interactive cgroup [ DO NOT MERGE ]" into nyc-mr2-dev
Wei Wang [Thu, 23 Mar 2017 21:18:45 +0000 (21:18 +0000)]
Merge "Remove bg_non_interactive cgroup [ DO NOT MERGE ]" into nyc-mr2-dev

7 years agoMerge "Notification for MM reject cause code"
Brad Ebinger [Thu, 23 Mar 2017 21:17:33 +0000 (21:17 +0000)]
Merge "Notification for MM reject cause code"
am: 0805b3486f  -s ours

Change-Id: Ifdd956b77019d2e40fab80fc51d4a7af50e88d98

7 years agoMerge "Fix the maximum value of sensor types"
Ashutosh Joshi [Thu, 23 Mar 2017 21:10:13 +0000 (21:10 +0000)]
Merge "Fix the maximum value of sensor types"

7 years agoMerge "Notification for MM reject cause code"
Brad Ebinger [Thu, 23 Mar 2017 21:04:40 +0000 (21:04 +0000)]
Merge "Notification for MM reject cause code"

7 years agoMerge "Cleanup passing emails for Web Links API."
TreeHugger Robot [Thu, 23 Mar 2017 21:03:36 +0000 (21:03 +0000)]
Merge "Cleanup passing emails for Web Links API."

7 years agoMerge "Respect PopupWindow.setOverlapAnchor when above anchor"
TreeHugger Robot [Thu, 23 Mar 2017 21:02:48 +0000 (21:02 +0000)]
Merge "Respect PopupWindow.setOverlapAnchor when above anchor"

7 years agoMerge "Integrate new looper apis into testables"
TreeHugger Robot [Thu, 23 Mar 2017 20:59:35 +0000 (20:59 +0000)]
Merge "Integrate new looper apis into testables"

7 years agoMerge "Allow Instant Apps to show toasts"
TreeHugger Robot [Thu, 23 Mar 2017 20:58:29 +0000 (20:58 +0000)]
Merge "Allow Instant Apps to show toasts"

7 years agoCherrypicked from nyc-mr1-dev docs: Removing Android docs from Gerrit
Andrew Solovay [Thu, 9 Mar 2017 01:38:01 +0000 (17:38 -0800)]
Cherrypicked from nyc-mr1-dev docs: Removing Android docs from Gerrit
Original Change-Id: I5331cdc968be817ff70ba32dd03fce76493a6ab8
Test: make ds-docs

Android developer docs are now maintained in Piper, go/dac-source

Removing all files from Gerrit, since these files can cause build
errors if they refer to classes that are later removed (whence
bug b/35849713 ).

Gerrit already has readme files in these directories telling people
docs are not maintained here; these readmes will be a lot easier to
spot now.

Ran a doc build with these files deleted, and it seems to work fine,
so submitting this CL *shouldn't* break anything.

Change-Id: Ic74c3f97f9620daf23543930a8b7ed1386f4d172

Bug: 35849713

7 years agoHide Parcel#readSparseIntArray and Parcel#writeSparseIntArray
Adam Lesinski [Thu, 23 Mar 2017 20:38:26 +0000 (13:38 -0700)]
Hide Parcel#readSparseIntArray and Parcel#writeSparseIntArray

They were added for a CL that later stopped using them, so there
is no current need for them in public API.

Bug: 35812784
Change-Id: I2a9a30bee65894235f2cc81ab1bd5a37c9296c02
Test: build succeeds

7 years agoMerge "QS: Unavailable cleanup"
TreeHugger Robot [Thu, 23 Mar 2017 20:27:32 +0000 (20:27 +0000)]
Merge "QS: Unavailable cleanup"

7 years agoMerge "hotspot2: ignore uninterested headers and content type attributes" am: 7a7bb44...
Peter Qiu [Thu, 23 Mar 2017 20:18:41 +0000 (20:18 +0000)]
Merge "hotspot2: ignore uninterested headers and content type attributes" am: 7a7bb444cb am: 10d1deff83
am: f9de6d77bc

Change-Id: I735caa47dc93f98e4ef0be7fb5f0fe700dffa1bf

7 years agoMerge "BatteryStats: force healthd update on screen on/off"
TreeHugger Robot [Thu, 23 Mar 2017 20:13:27 +0000 (20:13 +0000)]
Merge "BatteryStats: force healthd update on screen on/off"

7 years agoMerge "hotspot2: ignore uninterested headers and content type attributes" am: 7a7bb444cb
Peter Qiu [Thu, 23 Mar 2017 20:12:08 +0000 (20:12 +0000)]
Merge "hotspot2: ignore uninterested headers and content type attributes" am: 7a7bb444cb
am: 10d1deff83

Change-Id: Id8850e9dce3a1c6ee7edfa7730ec8952efe9b3da

7 years agoMerge "hotspot2: ignore uninterested headers and content type attributes"
Peter Qiu [Thu, 23 Mar 2017 20:06:12 +0000 (20:06 +0000)]
Merge "hotspot2: ignore uninterested headers and content type attributes"
am: 7a7bb444cb

Change-Id: Ic97238b1400e8da514612f983db1896011bf775f

7 years agoNotification for MM reject cause code
Doris Xi [Mon, 11 Mar 2013 08:03:47 +0000 (17:03 +0900)]
Notification for MM reject cause code

Display notification when UE fails to register network with specific
reject cause code. Define strings for each reject cause code and add
icon to be shown in notification.

Test: manual with simulated RIL
Bug: 28923693
Merged-In: I95d5d768b6daa49a59d34e2af8cb1d225362f0a8
Change-Id: I95d5d768b6daa49a59d34e2af8cb1d225362f0a8

7 years agoVerify paging is by auto-pager in CTS.
Steve McKay [Wed, 22 Mar 2017 02:00:26 +0000 (19:00 -0700)]
Verify paging is by auto-pager in CTS.

Remove VisibleForTesting (even though already committed)
  but oh well.

Test: CTS coverage expanded (in topic).
Change-Id: Ife75260dca298aea880f1c02a9578e691455fd91

7 years agoDo not assume presence of status bar service in GlobalActions
Erik Wolsheimer [Thu, 23 Mar 2017 19:56:57 +0000 (12:56 -0700)]
Do not assume presence of status bar service in GlobalActions

Bug: 36530618
Change-Id: I5f94fe52a5814b22f433fabefad2f509bf713d13

7 years agoMerge "hotspot2: ignore uninterested headers and content type attributes"
Treehugger Robot [Thu, 23 Mar 2017 19:53:58 +0000 (19:53 +0000)]
Merge "hotspot2: ignore uninterested headers and content type attributes"

7 years agoMerge "Notification for MM reject cause code" into stage-aosp-master am: 9febdd0e9a
Doris Xi [Thu, 23 Mar 2017 19:41:54 +0000 (19:41 +0000)]
Merge "Notification for MM reject cause code" into stage-aosp-master am: 9febdd0e9a
am: 0fe66163f0

Change-Id: Ibc29f409049cf24f83078d170d9979831e550943

7 years agoMerge "Update setJustify API reference."
TreeHugger Robot [Thu, 23 Mar 2017 19:37:46 +0000 (19:37 +0000)]
Merge "Update setJustify API reference."

7 years agoMerge "Notification for MM reject cause code" into stage-aosp-master
Doris Xi [Thu, 23 Mar 2017 19:36:20 +0000 (19:36 +0000)]
Merge "Notification for MM reject cause code" into stage-aosp-master
am: 9febdd0e9a

Change-Id: I3ee98f4869c8e1dc08d4ca9dd5ea0c81848b2165

7 years agoMerge "Update RenderNodeDrawableTests to new onNewImageSnapshot API Test: does it...
Robert Phillips [Thu, 23 Mar 2017 19:34:36 +0000 (19:34 +0000)]
Merge "Update RenderNodeDrawableTests to new onNewImageSnapshot API Test: does it compiles"

7 years agoMerge "Deprecate DPM.EXTRA_PROVISIONING_EMAIL_ADDRESS"
TreeHugger Robot [Thu, 23 Mar 2017 19:31:03 +0000 (19:31 +0000)]
Merge "Deprecate DPM.EXTRA_PROVISIONING_EMAIL_ADDRESS"

7 years agoMerge "Remove conversion from uid to package name getAccountsFromCacheLocked"
Dmitry Dementyev [Thu, 23 Mar 2017 19:30:06 +0000 (19:30 +0000)]
Merge "Remove conversion from uid to package name  getAccountsFromCacheLocked"

7 years agoMerge "Notification for MM reject cause code" into stage-aosp-master
TreeHugger Robot [Thu, 23 Mar 2017 19:27:52 +0000 (19:27 +0000)]
Merge "Notification for MM reject cause code" into stage-aosp-master

7 years agoMerge "Use variation settings for Typeface creation."
TreeHugger Robot [Thu, 23 Mar 2017 19:13:59 +0000 (19:13 +0000)]
Merge "Use variation settings for Typeface creation."

7 years agoIgnore flaky notification test
Geoffrey Pitsch [Thu, 23 Mar 2017 19:08:57 +0000 (15:08 -0400)]
Ignore flaky notification test

Bug: 36551790
Test: runtest systemui-notification
Change-Id: I92f72a90afb2323a847149351bf1c6a911027e0b

7 years agoMerge "Clean up dead objects when detected in the SoundTriggerHelper"
TreeHugger Robot [Thu, 23 Mar 2017 19:01:49 +0000 (19:01 +0000)]
Merge "Clean up dead objects when detected in the SoundTriggerHelper"

7 years agoNotification Inline strings for non-upgraded apps
Geoffrey Pitsch [Thu, 23 Mar 2017 15:38:56 +0000 (11:38 -0400)]
Notification Inline strings for non-upgraded apps

Also fix string typo - "1 of n notification categories"

Test: runtest systemui
Change-Id: I6f48f2ffde4896341ee0a435b9b1dc6a1255ea48

7 years agoIgnore notifications with zero-timing vibrations.
Michael Wright [Thu, 23 Mar 2017 18:57:57 +0000 (18:57 +0000)]
Ignore notifications with zero-timing vibrations.

It's now an error to create one of these, but we don't want to crash
system_server because an app passed us a bad value. Instead just catch
the exception and ignore the pattern.

Bug: 36552808
Test: App that posts a notification with all 0 timings. Crashes before
      this patch but not after.

Change-Id: I1f8e2d6d3e7df1186c7a1ce3925e5358cb32290d

7 years agoLess cereal, more stable
Jason Monk [Thu, 23 Mar 2017 18:52:17 +0000 (14:52 -0400)]
Less cereal, more stable

Sometimes when the PluginManagerImpl got around to executing the
message it posts in the constructor, the next test would be initializing
the Dependencies and it would cause a crash. Clean up this whole
thing by making the looper injectable and the message runs at
a deterministic time.

Test: runtest systemui
Change-Id: I485d72aea22aa8f6c759012d54701af8a503681b

7 years agoIntegrate new looper apis into testables
Jason Monk [Tue, 14 Mar 2017 21:16:56 +0000 (17:16 -0400)]
Integrate new looper apis into testables

Test: runtest --path frameworks/base/tests/testables
Change-Id: Ic12c85ecbd9534a676bd2d7f8643a0c2b4b849b2

7 years agowifi: use android.graphics.drawable.Icon for Passpoint icon data
Peter Qiu [Thu, 16 Mar 2017 18:21:51 +0000 (11:21 -0700)]
wifi: use android.graphics.drawable.Icon for Passpoint icon data

Bug: 35857805
Test: frameworks/base/wifi/tests/runtests.sh
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: Ib076cd7f565638613173c7373ea5ea61affb876d

7 years agoMerge "update comment with a bug number"
TreeHugger Robot [Thu, 23 Mar 2017 18:42:10 +0000 (18:42 +0000)]
Merge "update comment with a bug number"

7 years agohotspot2: ignore uninterested headers and content type attributes
Peter Qiu [Tue, 21 Mar 2017 22:25:30 +0000 (15:25 -0700)]
hotspot2: ignore uninterested headers and content type attributes

Each vendor might put additional headers and content type attributes
in the installation file, and will not be useful for us.  So just
ignore them when parsing the installation file instead of error out.

While there, add support for parsing "Extension" node in PpsMoParser.
This an interior node containing vendor specific information, only
meaningful to the vendor.  So we will ignore fields under this node.

Bug: 36477333
Test: frameworks/base/wifi/tests/runtests.sh
Test: manual test by installing ruckus Passpoint profile
Change-Id: I9954ed000387bc8048d0452a5bfb0f339e676659

7 years agoAllow Instant Apps to show toasts
Chad Brubaker [Thu, 23 Mar 2017 18:07:32 +0000 (11:07 -0700)]
Allow Instant Apps to show toasts

Toasts are used by framework/supportlib code, so don't block them
outright.

Bug: 36539171
Test: manual
Change-Id: Ic5e1c599021224c3727cb18554ea04e6833fef2a

7 years agoFixes attestation id gathering from secondary android user
Janis Danisevskis [Wed, 8 Mar 2017 18:35:00 +0000 (10:35 -0800)]
Fixes attestation id gathering from secondary android user

When Keystore attempts to gather the application attestation
ID for an app that runs not as the primary user/owner of the
device, the PackageManager would deny package manager access
to the required PackageInfo on the grounds that the request
came from a different user
(violates android.permission.INTERACT_ACROSS_USERS)

This patch adds an additional check to
KeyAttestationApplicationIdProviderService, that verifies the
caller is indeed Keystore. Then it drops the caller context
and retrieves the requested PackageInfo, before restoring
the calling context.

Bug: 35719178
Test: install APK [1] and run as secondary user

[1] https://drive.google.com/file/d/0BzV-JgYFLSDIRGY1WENncmFMVW8/view?ts=58d3f3e6
Change-Id: I91f93a56d10498e1ee3bdb983c701033594c3e57

7 years agoAdd null check on serviceinfo
Julia Reynolds [Thu, 23 Mar 2017 18:09:06 +0000 (14:09 -0400)]
Add null check on serviceinfo

Fixes: 36542315
Test: adb shell settings put secure enabled_notification_listeners
"com.android.systemui/.BogusComponent"
doesn't cause restart
Change-Id: I9ec12970a32f4909df0676b287c4cd45076968cf

7 years agoMerge "AVRCP version interop pereference (3/3)" am: 48ce402668 am: 6e898e8ffd
Ajay Panicker [Thu, 23 Mar 2017 18:10:05 +0000 (18:10 +0000)]
Merge "AVRCP version interop pereference (3/3)" am: 48ce402668 am: 6e898e8ffd
am: 5a9b36027d  -s ours

Change-Id: I1a5ba89189978466a12ba518bea9e3c78ac9bb92

7 years agoMerge "finished implementation of fingerprintservice enumerate"
TreeHugger Robot [Thu, 23 Mar 2017 18:07:04 +0000 (18:07 +0000)]
Merge "finished implementation of fingerprintservice enumerate"

7 years agoMerge "AVRCP version interop pereference (3/3)" am: 48ce402668
Ajay Panicker [Thu, 23 Mar 2017 18:03:42 +0000 (18:03 +0000)]
Merge "AVRCP version interop pereference (3/3)" am: 48ce402668
am: 6e898e8ffd

Change-Id: Ib858c4a4da6515d6d79c54cbd9bdefea2fa09ce1

7 years agoMerge "Fixed log warning for calling doStart() twice."
TreeHugger Robot [Thu, 23 Mar 2017 18:01:12 +0000 (18:01 +0000)]
Merge "Fixed log warning for calling doStart() twice."

7 years agoMerge "AVRCP version interop pereference (3/3)"
Ajay Panicker [Thu, 23 Mar 2017 17:57:38 +0000 (17:57 +0000)]
Merge "AVRCP version interop pereference (3/3)"
am: 48ce402668

Change-Id: Ia49ab34142e5e26f886b07f2e17575e81c9dfd0d

7 years agoMerge "Fix ACTION_STORAGE_CHANGED doc"
TreeHugger Robot [Thu, 23 Mar 2017 17:53:53 +0000 (17:53 +0000)]
Merge "Fix ACTION_STORAGE_CHANGED doc"