313157 Commits

Author SHA1 Message Date
Seigo Nonaka
1e924df63e Merge "Update Typeface.Builder API to reflect API feedback." into oc-dev 2017-04-12 19:39:50 +00:00
TreeHugger Robot
684b5381e9 Merge "Rename WEB_ACTION_ENABLED to INSTANT_APPS_ENABLED" into oc-dev 2017-04-12 19:39:16 +00:00
TreeHugger Robot
e7ce1d40e1 Merge "Add documentation for 'am start-foreground-service'" into oc-dev 2017-04-12 19:37:26 +00:00
Julia Reynolds
43dd3ba3c4 Merge "Clear calling identity before verifying listeners" into oc-dev 2017-04-12 19:13:05 +00:00
Casey Burkhardt
9aa64e6cfa Merge "Improved multiuser support for A11y button/Magnification" into oc-dev 2017-04-12 19:04:18 +00:00
TreeHugger Robot
c9a83326c2 Merge "Fill UI polish" into oc-dev 2017-04-12 18:54:32 +00:00
TreeHugger Robot
1f477fb270 Merge "Updates reportChooserSelection to be synchronized with queryUsageStats in UsageStatsService, to fix a flaky test." into oc-dev 2017-04-12 18:33:23 +00:00
Mady Mellor
8f395a16fb Merge "Don't offer snooze for foreground service notifications" into oc-dev 2017-04-12 18:27:29 +00:00
Charles He
9f074e2224 Merge "Disallow direct-boot aware activities to bypass work lock" into oc-dev 2017-04-12 18:25:49 +00:00
TreeHugger Robot
2d1fb47916 Merge "Import translations. DO NOT MERGE" into oc-dev 2017-04-12 18:17:56 +00:00
Siyamed Sinir
37bfd57ead Merge "Do not enforce paragraph constraint for copy ctr" into oc-dev 2017-04-12 18:09:58 +00:00
Dianne Hackborn
0a0a63c8b1 Merge "Add new "work queue" feature to JobScheduler." into oc-dev 2017-04-12 17:55:56 +00:00
TreeHugger Robot
f63cb49b15 Merge "Revert "Transition from Activity to Broadcast for TV Search"" into oc-dev 2017-04-12 17:53:02 +00:00
TreeHugger Robot
7944962b7e Merge "Change behavior of setBitmap to cleanly reset the canvas" into oc-dev 2017-04-12 17:37:08 +00:00
TreeHugger Robot
feaa8b0f01 Merge "Remove unused public APIs." into oc-dev 2017-04-12 17:31:44 +00:00
Soonil Nagarkar
25a263a303 Merge "Fix foreground importance bug in LocationManagerService." into oc-dev 2017-04-12 17:27:47 +00:00
Dongwon Kang
bf02434e79 Merge "TIF: add review rating columns to programs" into oc-dev 2017-04-12 17:12:23 +00:00
Jorim Jaggi
fe99773a70 Merge "Disallow task snapshot starting window for intent != ACTION_MAIN" into oc-dev 2017-04-12 17:06:15 +00:00
Jorim Jaggi
6846676b9b Merge "Fix NPE in TaskSnapshotController" into oc-dev 2017-04-12 17:04:13 +00:00
Jason Monk
88b8dc5211 Merge "Updates for QS DND tile" into oc-dev 2017-04-12 17:00:39 +00:00
Jason Monk
ec9afcd4c5 Merge "Visual changes to dual target tiles" into oc-dev 2017-04-12 17:00:02 +00:00
TreeHugger Robot
a968d33edb Merge "Ensure bounds are updated together." into oc-dev 2017-04-12 16:59:33 +00:00
TreeHugger Robot
33aae89f29 Merge "Introduce FILE_ID for TTC fonts and variation fonts." into oc-dev 2017-04-12 16:54:56 +00:00
Svet Ganov
19ffd1d0a5 Fill UI polish
1. Avoid jank when the suggesting list scrolled

2. Remove hard-coded values from max popup height

3. UX requested tweaks

4. Remove dead code

Test: manual

bug:37245055
bug:37179467

Change-Id: I6a6760edb06230e3d4925e23863667cfd3ac0601
2017-04-12 09:53:13 -07:00
Daniel Nishi
feada91060 Merge "Use the StorageStatsManager in FileCollector." into oc-dev 2017-04-12 16:37:53 +00:00
Charles He
e7c5ced211 Disallow direct-boot aware activities to bypass work lock
Effectively reverting 89927b3cd96472c478a988d6c731cd09d412a043, which
allowed direct-boot aware activities in the work profile to show before
the profile was unlocked. This causes problems with key eviction
introduced in O. Specifically, many system activities (e.g.
ChooserActivity, activities in Settings, etc.) are marked direct-boot
aware, and therefore can be started while the work profile is locked
with key evicted. Currently they either bypass the keyguard when they
should not, or simply crash due to profile still being locked.

In the future, we need to create a new mechanism to allow activities
such as video calls, alarm clocks, etc. to bypass the work keyguard. It
probably involves checking for something like FLAG_SHOW_WHEN_LOCKED.

Bug: 36961785
Bug: 35708183
Bug: 30296144
Test: manual, by following the steps in the bugs quoted
Test: runtest -c com.android.server.am.ActivityManagerServiceTest frameworks-services
Change-Id: I5ccaaf963f3dd96e4abb785a10aa258b15363178
2017-04-12 17:35:07 +01:00
Dmitri Plotnikov
5a667c8eb1 Merge "Fixing content intent on External Storage notification" into oc-dev 2017-04-12 16:34:32 +00:00
Julia Reynolds
da78147f29 Clear calling identity before verifying listeners
Also don't throw when can't verify listener.

And update mocking in tests to clean state between tests.

Bug: 36783632
Fixes: 37263567
Test: runtest-systemui-notification, create a secondary user
Change-Id: I5ec95539c9859b67b8fbc7e6a85334e08e6b5a98
2017-04-12 12:08:56 -04:00
TreeHugger Robot
27ce8b0d34 Merge "Add hidden SystemApi for two setup wizard actions" into oc-dev 2017-04-12 16:07:26 +00:00
Kang Li
7c37964cf2 Updates reportChooserSelection to be synchronized with queryUsageStats
in UsageStatsService, to fix a flaky test.

Bug: 35763877
Test: manually ran the flaky tests for 50 times, to verify that it is
stable.

Change-Id: I56d355bb283275f33bf7a24d0cc5b6454b99a35e
(cherry picked from commit 434f76a8d739060b5c8e96b4824687c19b94ee79)
2017-04-12 15:56:40 +00:00
Jean-Michel Trivi
170e3e242b Merge "VolumeShaper: update API, use "Millis" instead of "Ms"" into oc-dev 2017-04-12 15:45:58 +00:00
Mady Mellor
56069d7146 Merge "Show x for short period of time when activity is PIP'd" into oc-dev 2017-04-12 15:32:31 +00:00
Paul Mclean
e0e55f535a Merge "Optimize HW_AV_SYNC playback by avoiding multiple timestamp block allocations." into oc-dev 2017-04-12 15:16:22 +00:00
Mark Salyzyn
b4b44d3bae Merge "jni: isLoggable: adapt to removal of property name size limit" into oc-dev 2017-04-12 14:49:17 +00:00
Seigo Nonaka
43c20cf6d4 Introduce FILE_ID for TTC fonts and variation fonts.
A single TTC font or variation font can be used for multiple entry
of FontResult. To share the file contents, assign same URI for those.

Bug: 36494487
Test: android.provider.FontsContractTest passes
Change-Id: Ibf24f216179a6481dee1801cd2dfb68c4bb38fac
2017-04-12 07:24:21 -07:00
TreeHugger Robot
7ecd40c1fc Merge "Always request keyboard shorcuts, even if there's no menu." into oc-dev 2017-04-12 14:16:10 +00:00
Seigo Nonaka
5421e81023 Update Typeface.Builder API to reflect API feedback.
- Stop pooling and remove reset method.
- Introduce overloaded constructors instead of setSource methods.
- Make italic parameter boolean and treat "not called" as
  RESOLVE_BY_FONT_TABLE.
- Remove constants and move them to Typeface with private static
  constant.
- Fix JavaDoc.

Bug: 37082657
Test: android.graphics.cts.TypefaceTest passed
Change-Id: I0c50cf3e2d50c0021f7e12bbb7ed7ae89fa1c2a1
2017-04-12 07:12:41 -07:00
Jesse Evans
fc1bfc442c Rename WEB_ACTION_ENABLED to INSTANT_APPS_ENABLED
Renames the instant apps setting to reflect what it is for.

Adds the SystemApi annotation to make this field visible
to the resolver and installer.

Test: existing tests

Change-Id: I1651bb101d69bdfdaa63c004435025c68a33cd8e
2017-04-12 07:00:51 -07:00
Pavel Grafov
a9a2bbc647 Merge "Improve javadocs for SecurityLog class." into oc-dev 2017-04-12 12:33:52 +00:00
TreeHugger Robot
487e10e22b Merge "Add helptext to bu command." into oc-dev 2017-04-12 10:59:59 +00:00
TreeHugger Robot
ac1c224cdc Merge "Do not inset autofill highlight" into oc-dev 2017-04-12 09:43:11 +00:00
TreeHugger Robot
c2f8949b32 Merge "Implement enumerate in FingerprintService" into oc-dev 2017-04-12 09:35:17 +00:00
TreeHugger Robot
7d4cf66b17 Merge "Make "Paste as plain text" resource string public." into oc-dev 2017-04-12 09:12:23 +00:00
TreeHugger Robot
264f2e40e2 Merge "Change AOSP launcher icon mask Test: manual b/36854903" into oc-dev 2017-04-12 09:02:14 +00:00
TreeHugger Robot
39608b8556 Merge "Fix doc for FLAG_DISMISS_KEYGUARD" into oc-dev 2017-04-12 05:11:03 +00:00
Suprabh Shukla
a609bbc9c4 Merge "Renaming intent action for unknown sources" into oc-dev 2017-04-12 04:32:51 +00:00
Jean-Michel Trivi
0dfbd1569d VolumeShaper: update API, use "Millis" instead of "Ms"
Test: make
Bug: 36785428
Change-Id: Ib77ff448bb8454453b1bd39f1491b0189b4ff15b
2017-04-11 19:05:26 -07:00
Julius D'souza
ed799ef6fb Merge "DO NOT MERGE: Add WearDisplayService to the system server; add a SET_DISPLAY_OFFSET permission." into cw-f-dev am: 9e3c9eeb96
am: 3c6d6f53f3  -s ours

Change-Id: Ic4af1cac3a0929db20eccd0693ec5fad834b0093
2017-04-12 02:01:49 +00:00
Julius D'souza
3c6d6f53f3 Merge "DO NOT MERGE: Add WearDisplayService to the system server; add a SET_DISPLAY_OFFSET permission." into cw-f-dev
am: 9e3c9eeb96

Change-Id: Ic97ec1a7e4c5b76bcab8350102585e4dd2cd199b
2017-04-12 01:55:57 +00:00
Julius D'souza
9e3c9eeb96 Merge "DO NOT MERGE: Add WearDisplayService to the system server; add a SET_DISPLAY_OFFSET permission." into cw-f-dev 2017-04-12 01:41:42 +00:00