311819 Commits

Author SHA1 Message Date
Robin Lee
bd10777948 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
2017-03-23 21:34:07 +00:00
Brad Ebinger
a0668b3042 Merge "Notification for MM reject cause code" am: 0805b3486f -s ours
am: 2aee612c14  -s ours

Change-Id: I7cda303ea997223e9ab0564dd5c6be7c5893754b
2017-03-23 21:28:09 +00:00
Selim Cinek
947c77cb82 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
2017-03-23 14:20:32 -07:00
TreeHugger Robot
e219aaae85 Merge "Delete preloadsFileCache when the cache has expired" 2017-03-23 21:19:48 +00:00
Wei Wang
7e6dea0fab Merge "Remove bg_non_interactive cgroup [ DO NOT MERGE ]" into nyc-mr2-dev 2017-03-23 21:18:49 +00:00
Brad Ebinger
2aee612c14 Merge "Notification for MM reject cause code"
am: 0805b3486f  -s ours

Change-Id: Ifdd956b77019d2e40fab80fc51d4a7af50e88d98
2017-03-23 21:17:33 +00:00
Ashutosh Joshi
3ec7c35938 Merge "Fix the maximum value of sensor types" 2017-03-23 21:10:19 +00:00
Brad Ebinger
0805b3486f Merge "Notification for MM reject cause code" 2017-03-23 21:04:40 +00:00
TreeHugger Robot
2204284fff Merge "Cleanup passing emails for Web Links API." 2017-03-23 21:03:42 +00:00
TreeHugger Robot
b74767958d Merge "Respect PopupWindow.setOverlapAnchor when above anchor" 2017-03-23 21:03:00 +00:00
TreeHugger Robot
3dfe492af0 Merge "Integrate new looper apis into testables" 2017-03-23 20:59:41 +00:00
TreeHugger Robot
9817060b7c Merge "Allow Instant Apps to show toasts" 2017-03-23 20:58:37 +00:00
Andrew Solovay
205e3264fe 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
2017-03-23 13:44:15 -07:00
Adam Lesinski
205656d31f 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
2017-03-23 13:38:26 -07:00
TreeHugger Robot
ab363e838a Merge "QS: Unavailable cleanup" 2017-03-23 20:27:38 +00:00
Peter Qiu
cf08edf4ff Merge "hotspot2: ignore uninterested headers and content type attributes" am: 7a7bb444cb am: 10d1deff83
am: f9de6d77bc

Change-Id: I735caa47dc93f98e4ef0be7fb5f0fe700dffa1bf
2017-03-23 20:18:41 +00:00
TreeHugger Robot
37973fb0fc Merge "BatteryStats: force healthd update on screen on/off" 2017-03-23 20:13:33 +00:00
Peter Qiu
f9de6d77bc Merge "hotspot2: ignore uninterested headers and content type attributes" am: 7a7bb444cb
am: 10d1deff83

Change-Id: Id8850e9dce3a1c6ee7edfa7730ec8952efe9b3da
2017-03-23 20:12:08 +00:00
Peter Qiu
10d1deff83 Merge "hotspot2: ignore uninterested headers and content type attributes"
am: 7a7bb444cb

Change-Id: Ic97238b1400e8da514612f983db1896011bf775f
2017-03-23 20:06:12 +00:00
Doris Xi
423b9bfc78 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
2017-03-23 13:03:31 -07:00
Steve McKay
57b0fe44e0 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
2017-03-23 12:58:23 -07:00
Erik Wolsheimer
25a06db391 Do not assume presence of status bar service in GlobalActions
Bug: 36530618
Change-Id: I5f94fe52a5814b22f433fabefad2f509bf713d13
2017-03-23 12:56:57 -07:00
Treehugger Robot
7a7bb444cb Merge "hotspot2: ignore uninterested headers and content type attributes" 2017-03-23 19:53:59 +00:00
Doris Xi
0b121ab010 Merge "Notification for MM reject cause code" into stage-aosp-master am: 9febdd0e9a
am: 0fe66163f0

Change-Id: Ibc29f409049cf24f83078d170d9979831e550943
2017-03-23 19:41:54 +00:00
TreeHugger Robot
b5e6b10c73 Merge "Update setJustify API reference." 2017-03-23 19:37:52 +00:00
Doris Xi
0fe66163f0 Merge "Notification for MM reject cause code" into stage-aosp-master
am: 9febdd0e9a

Change-Id: I3ee98f4869c8e1dc08d4ca9dd5ea0c81848b2165
2017-03-23 19:36:20 +00:00
Robert Phillips
85a3624c35 Merge "Update RenderNodeDrawableTests to new onNewImageSnapshot API Test: does it compiles" 2017-03-23 19:34:41 +00:00
TreeHugger Robot
15d010acda Merge "Deprecate DPM.EXTRA_PROVISIONING_EMAIL_ADDRESS" 2017-03-23 19:31:08 +00:00
Dmitry Dementyev
db61e6ff44 Merge "Remove conversion from uid to package name getAccountsFromCacheLocked" 2017-03-23 19:30:11 +00:00
TreeHugger Robot
9febdd0e9a Merge "Notification for MM reject cause code" into stage-aosp-master 2017-03-23 19:27:58 +00:00
TreeHugger Robot
bc288de1b9 Merge "Use variation settings for Typeface creation." 2017-03-23 19:14:04 +00:00
Geoffrey Pitsch
ed767118f4 Ignore flaky notification test
Bug: 36551790
Test: runtest systemui-notification
Change-Id: I92f72a90afb2323a847149351bf1c6a911027e0b
2017-03-23 15:13:06 -04:00
TreeHugger Robot
ac0ceb037c Merge "Clean up dead objects when detected in the SoundTriggerHelper" 2017-03-23 19:01:54 +00:00
Geoffrey Pitsch
ee8c81ee56 Notification Inline strings for non-upgraded apps
Also fix string typo - "1 of n notification categories"

Test: runtest systemui
Change-Id: I6f48f2ffde4896341ee0a435b9b1dc6a1255ea48
2017-03-23 14:59:05 -04:00
Michael Wright
bc4d0d923f 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
2017-03-23 18:57:57 +00:00
Jason Monk
6ab83ad110 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
2017-03-23 14:52:17 -04:00
Jason Monk
f715f417d2 Integrate new looper apis into testables
Test: runtest --path frameworks/base/tests/testables
Change-Id: Ic12c85ecbd9534a676bd2d7f8643a0c2b4b849b2
2017-03-23 14:52:10 -04:00
Peter Qiu
ed1fc64efd 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
2017-03-23 11:42:49 -07:00
TreeHugger Robot
ca2cd33be1 Merge "update comment with a bug number" 2017-03-23 18:42:16 +00:00
Peter Qiu
5a493241d9 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
2017-03-23 11:40:05 -07:00
Chad Brubaker
d16cc68018 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
2017-03-23 11:26:10 -07:00
Janis Danisevskis
6ab9bb68ba 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
2017-03-23 11:20:48 -07:00
Julia Reynolds
8bb5c93fee 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
2017-03-23 18:19:30 +00:00
Ajay Panicker
6a10cba1ba Merge "AVRCP version interop pereference (3/3)" am: 48ce402668 am: 6e898e8ffd
am: 5a9b36027d  -s ours

Change-Id: I1a5ba89189978466a12ba518bea9e3c78ac9bb92
2017-03-23 18:10:05 +00:00
TreeHugger Robot
ecf23a03a5 Merge "finished implementation of fingerprintservice enumerate" 2017-03-23 18:07:11 +00:00
Ajay Panicker
5a9b36027d Merge "AVRCP version interop pereference (3/3)" am: 48ce402668
am: 6e898e8ffd

Change-Id: Ib858c4a4da6515d6d79c54cbd9bdefea2fa09ce1
2017-03-23 18:03:42 +00:00
TreeHugger Robot
fbb06a6e6a Merge "Fixed log warning for calling doStart() twice." 2017-03-23 18:01:18 +00:00
Ajay Panicker
6e898e8ffd Merge "AVRCP version interop pereference (3/3)"
am: 48ce402668

Change-Id: Ia49ab34142e5e26f886b07f2e17575e81c9dfd0d
2017-03-23 17:57:38 +00:00
TreeHugger Robot
edb79fe7f6 Merge "Fix ACTION_STORAGE_CHANGED doc" 2017-03-23 17:53:59 +00:00
Conrad Chen
3afa1de7ab TIF: Make COLUMN_LOCKED of channels table public
Test: cts-tradefed run cts -m CtsTvTestCases
Bug: 31340604
Change-Id: I5bf155cb2bdea02f0841ecba0872077cc6609c06
2017-03-23 10:53:58 -07:00