311790 Commits

Author SHA1 Message Date
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
Treehugger Robot
48ce402668 Merge "AVRCP version interop pereference (3/3)" 2017-03-23 17:49:58 +00:00
TreeHugger Robot
2152ed923b Merge "Allow the Instant App installer to be dynamic" 2017-03-23 17:44:17 +00:00
Seigo Nonaka
3e2936413d Update setJustify API reference.
Bug: 35766005
Bug: 35764323
Test: N/A
Change-Id: I2d4b398479cdb3ac87257de95eb6a02f03c639bf
2017-03-23 10:30:55 -07:00
TreeHugger Robot
3802a2b526 Merge "Add strings for quick settings security dialog" 2017-03-23 17:28:57 +00:00
Jason Monk
be124fdca4 Minor string change to screen pinning
Change-Id: I0e601923afaa1aa2187e51c574b6261f8dac6e1f
Fixes: 32192150
Test: visual
2017-03-23 13:25:58 -04:00
Mahaver
761ce77875 Deprecate DPM.EXTRA_PROVISIONING_EMAIL_ADDRESS
Bug: 34920067
Test: No tests for this API.
Change-Id: If28f9a95b3f620de5dfc1b2fa63c1d277ebde9b9
2017-03-23 17:19:00 +00:00
Fyodor Kupolov
935618a2c5 Delete preloadsFileCache when the cache has expired
Added deletePreloadsFileCache that can be called from settings app.

Modified freeStorageAndNotify to call deletePreloadsFileCache if the
cache has expired, or aggressive flag is set.

Bug: 34690396
Test: Manual
Change-Id: Ia097cd2f62ad501644be1c2cc573c249d8cfbf55
2017-03-23 10:12:55 -07:00
Jeff Davidson
f7368e05b4 Merge "Move IccUtils to reflect Java package declaration." 2017-03-23 17:08:45 +00:00
Seigo Nonaka
a4ab320e0a Use variation settings for Typeface creation.
Bug: 35416390
Test: android.graphics.cts.TypefaceTest passed
Change-Id: Ieefa2cf095fb1031d3c7ac99fd59710311d7ede3
2017-03-23 10:03:55 -07:00
Dianne Hackborn
52c46a5fd6 Merge "A little cleanup of activity manager dumpsys output." 2017-03-23 16:53:17 +00:00
Todd Kennedy
fe7f38c376 update comment with a bug number
Change-Id: Iff12dfd90d5b67da9f32b1f7b2410ac59ef07018
Test: None. Comment-only change
2017-03-23 09:52:03 -07:00
Przemyslaw Szczepaniak
20c4b6eaea Merge "Track libcore commit a2d9879b" am: 4aa106a790 am: b89ec268ab
am: 3dcac86f4c

Change-Id: Iefcd20cd6d268006357aea346fbfd683865f3955
2017-03-23 16:43:39 +00:00
Doris Xi
98b90a866a 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
Change-Id: I95d5d768b6daa49a59d34e2af8cb1d225362f0a8
2017-03-23 09:38:00 -07:00
Przemyslaw Szczepaniak
3dcac86f4c Merge "Track libcore commit a2d9879b" am: 4aa106a790
am: b89ec268ab

Change-Id: I0649915b7efcbfa2c14b68d16c4d0de71656d694
2017-03-23 16:37:52 +00:00
Przemyslaw Szczepaniak
b89ec268ab Merge "Track libcore commit a2d9879b"
am: 4aa106a790

Change-Id: I447493da10ec6e42b9b8fcc379ddae578ee78e91
2017-03-23 16:31:28 +00:00
Robert Phillips
3c01a07fff Update RenderNodeDrawableTests to new onNewImageSnapshot API
Test: does it compiles

Change-Id: I55e3d7e2e59bfde88357fd455fe567d07c8a26b7
2017-03-23 12:29:39 -04:00
TreeHugger Robot
0466e4a837 Merge "Allow exposing components via <meta-data>" 2017-03-23 16:29:02 +00:00
Chad Brubaker
8b651bf7d5 Fix ACTION_STORAGE_CHANGED doc
The deprecation note was not quite correct.

Change-Id: I15231881bbf1ee1ee4d342bff74280d7e9807ac0
Fixes: 36493384
Test: builds
2017-03-23 09:26:09 -07:00
Treehugger Robot
4aa106a790 Merge "Track libcore commit a2d9879b" 2017-03-23 16:20:24 +00:00
TreeHugger Robot
a9d2e5e798 Merge "Preload fonts from an array" 2017-03-23 16:17:51 +00:00
TreeHugger Robot
7d81ae777f Merge "QS: Fix labels in extremely long circumstances" 2017-03-23 16:17:27 +00:00
George Mount
550df700f1 Fixed log warning for calling doStart() twice.
Bug 36504927

The LoaderManager was performing a doStart() multiple times
and issued a warning and then returned without any problems.
This CL fixes the underlying problem of doStart() being
called multiple times so that the warning isn't logged.

Test: ran fragment cts tests
Change-Id: I4a43280fd581e08ccd911d8d05367e00382d694a
2017-03-23 09:08:49 -07:00
TreeHugger Robot
ad5bf9b0a7 Merge "QS: swap order of content description" 2017-03-23 16:06:11 +00:00
TreeHugger Robot
b64a98e3e6 Merge "Provide docs for the XML attributes related to fonts" 2017-03-23 16:05:34 +00:00
TreeHugger Robot
c439456ac2 Merge "Import translations. DO NOT MERGE" 2017-03-23 16:03:05 +00:00
TreeHugger Robot
b261269bcf Merge "Import translations. DO NOT MERGE" 2017-03-23 15:59:12 +00:00
TreeHugger Robot
a7a3830d6c Merge "Import translations. DO NOT MERGE" 2017-03-23 15:55:47 +00:00
Makoto Onuki
c3010b0bc8 Merge "Add ACTION_USER_RESTRICTIONS_CHANGED to protetced-broadcast." 2017-03-23 15:54:24 +00:00
TreeHugger Robot
20fd49d8c7 Merge "Import translations. DO NOT MERGE" 2017-03-23 15:47:40 +00:00