310599 Commits

Author SHA1 Message Date
Adam Lesinski
c7614e5d1e AAPT: Version <adaptive-icon> to v26
Bug: 35908647
Change-Id: I307fb2f666cb8519adb9a7f676b87706dc6c683f
Test: manual
2017-03-16 16:54:23 -07:00
TreeHugger Robot
2bd530e156 Merge "Pass advances to Minikin for calculating getTextRunCursor" 2017-03-15 19:53:16 +00:00
TreeHugger Robot
498697d905 Merge "Don't apply the sRGB OETF twice on RGBAF16 bitmaps" 2017-03-15 19:32:44 +00:00
TreeHugger Robot
8fabcd4377 Merge "Prevent minimized state changing from other transitions." 2017-03-15 19:30:55 +00:00
TreeHugger Robot
aa0b3a8da1 Merge "Modify createBitmap w/ crop and matrix to not rely on Canvas.setBitmap" 2017-03-15 19:23:08 +00:00
TreeHugger Robot
a20bdb130b Merge "Fix selected entity type." 2017-03-15 19:03:09 +00:00
TreeHugger Robot
5fff20cac1 Merge "Clean up public FontConfig APIs" 2017-03-15 18:52:04 +00:00
TreeHugger Robot
4b7c5f75ea Merge "Update path in MediaStore when moving/renaming a file/folder." 2017-03-15 18:40:36 +00:00
TreeHugger Robot
acdd269915 Merge "Fixing bad refactoring of orientation calculation." 2017-03-15 18:32:53 +00:00
Evan Rosky
42794029ce Merge "Changing initial and default focus behavior" 2017-03-15 18:17:51 +00:00
Chad Brubaker
67383eda56 Merge "Expose settings provider to Instant Apps" 2017-03-15 18:11:59 +00:00
Romain Guy
d70532d123 Don't apply the sRGB OETF twice on RGBAF16 bitmaps
Bug: 36250591
Test: BitmapRGBAF16Test
Change-Id: I39ca9e4bb666ab85066b5d45934f5f10210f6999
2017-03-15 11:04:33 -07:00
TreeHugger Robot
402a384ac8 Merge "Pass FontCollection to doLayout's argument instead of ctor" 2017-03-15 17:34:21 +00:00
Shubang Lu
3ff3dde601 Merge "TIF: add cable detection for TV inputs" 2017-03-15 17:29:11 +00:00
Abodunrinwa Toki
7d9b297f8c Fix selected entity type.
This should be the highest scoring one, not the first one.

Test: cts-tradefed run cts-dev -m CtsViewTestCases -t
android.view.textclassifier.cts.TextClassificationManagerTest

Change-Id: Ib790d8aa4aeccdd7a7972eaa6c04ed4fc69ad00e
2017-03-15 17:17:36 +00:00
Seigo Nonaka
ac873c9f25 Clean up public FontConfig APIs
This CL contains following clean up:

- Hide unnecessary constructors.
- Change List<XX> to XX[] since actually all fields are immutable.
- Change font's variant type from String to int.
- Decouple resource related members to FontResourcesParser.
- Add NonNull/Nullable to all fields.

Test: ran android.content.res.FontResourcesParserTest

Change-Id: If456266ffff86d41342572a19662cc8f3cd13181
2017-03-15 10:16:55 -07:00
Garfield Tan
9bd2f6c990 Update path in MediaStore when moving/renaming a file/folder.
Also fix a bug that doesn't trigger directory specific update for
removal.

Test: Manual tests.
Bug: 31001477
Change-Id: Ibae8a7aa5c72c82dc5e3cb4951fbc91ea6456964
(cherry picked from commit c574ec40640d83dfbbb0f022103c6dfa774bca40)
2017-03-15 17:14:44 +00:00
TreeHugger Robot
7d754b150f Merge "Fix duplicate status bars once and for all" 2017-03-15 17:07:39 +00:00
TreeHugger Robot
be4cf58436 Merge "Add API to mark apps that have an update available" 2017-03-15 17:04:22 +00:00
Winson Chung
521f0114bf Prevent minimized state changing from other transitions.
- When calling adjustFocusedActivityStackLocked(), prevent the home stack
  from being brought forward if the task is not over the home stack.  This
  was causing issues with the docked stack triggering minimized mode when
  a task was removed in the assistant stack.
- When checking the visibility of the docked stack, only base it on the
  visibility of the assistant stack when it is above the docked stack.
  This was causing issues with the docked stack reporting as visible even
  when behind the assistant stack due to the subsequent code being run.

Bug: 35363819
Test: android.server.cts.ActivityManagerAssistantStackTests
Change-Id: I48cc901cb6b6166697a4130cc4639ee8f9581f02
2017-03-15 10:03:15 -07:00
Winson Chung
60c1abaa59 Fixing bad refactoring of orientation calculation.
- The orientation needs to be calculated from the screen width/height,
  which are set below the current calculation of the orientation (whoops).
  This bug was introduced in ag/1905010 and causes extra configuration
  changes due to the configuration orientation being set correctly before
  it is corrected on the next change (at the end of the transition).

Bug: 36099204
Test: android.server.cts.ActivityManagerPinnedStackTests
Change-Id: Ieca1f73fe61fc1dcea106535c019b52d126b8743
2017-03-15 10:01:10 -07:00
Winson Chung
0727922781 Merge "Fixing crash when enforcing top stack." 2017-03-15 16:58:23 +00:00
Dmitry Dementyev
538d5a3d07 Merge "Allows AccountManager to start exported activities." 2017-03-15 16:26:26 +00:00
Philip P. Moltmann
0ab7ad5839 Merge "Do not filter non text values." 2017-03-15 16:10:05 +00:00
TreeHugger Robot
13b13f0816 Merge "Remove qs_footer_dialog_network_logging_icon_alpha" 2017-03-15 15:47:03 +00:00
Derek Sollenberger
29cd3e9226 Modify createBitmap w/ crop and matrix to not rely on Canvas.setBitmap
Test: CtsGraphicsTestCases BitmapTest
Bug: 36218535
Change-Id: I972f3ed6d037f6cae7a36fd2e612df9ab40a8b2d
2017-03-15 11:28:50 -04:00
Jason Monk
0a7d9f275e Fix duplicate status bars once and for all
Save the state when the fragment is getting re-created so we come
back up in the same state we left in.

Fixes: 36082443
Test: Change density using "adb shell wm density"
Change-Id: I531de728b1f4bf59d4def7ebc5562b3a1ee6694b
2017-03-15 11:03:42 -04:00
Todd Kennedy
ab53289c59 Add API to mark apps that have an update available
Ostensibly for instant apps, we allow play to mark an app as having
an update available. This will trigger instant app resolution even
if the instant app is already installed on device.

Bug: 35143464
Test: Manual; launch URI of installed instant app, see it runs w/o resolution. set bit. launch URI of installed instant app, see it runs resolution
Change-Id: I511df2b2a3eab39377167c770255ccbe02d5dad2
2017-03-15 07:31:09 -07:00
Robin Lee
5760fd9b9c Remove qs_footer_dialog_network_logging_icon_alpha
This washes out the network logging icon in the network monitoring
dialog, making it look strange compared to the dark VPN key.

Fix: 35620542
Test: inspection of dialog
Change-Id: I72bc6337b88b16235dab7b48d11efee4410ede5e
2017-03-15 14:06:59 +00:00
Diego Perez
f33a037907 Merge "Workaround for broken BitmapShader in AdaptiveIconDrawable" 2017-03-15 12:43:24 +00:00
TreeHugger Robot
3c00239050 Merge "TextClassificationManager: Update model file reference." 2017-03-15 12:37:46 +00:00
Joachim Sauer
dd0f47a9da Merge "Change Czech Republic to Czechia" am: 027a67062e am: 14bcec27a0
am: 9b30497243

Change-Id: I78d646c5052e29662f523dc4ae6ce3ecb5d4768d
2017-03-15 12:07:40 +00:00
Joachim Sauer
9b30497243 Merge "Change Czech Republic to Czechia" am: 027a67062e
am: 14bcec27a0

Change-Id: Ia8b2bcf8d01aaad715f2bd4051fc7dc011735569
2017-03-15 12:02:27 +00:00
Joachim Sauer
14bcec27a0 Merge "Change Czech Republic to Czechia"
am: 027a67062e

Change-Id: I51fc6fde5647b1fd8ecc677da7f6ec7a248a3b38
2017-03-15 11:57:28 +00:00
Treehugger Robot
027a67062e Merge "Change Czech Republic to Czechia" 2017-03-15 11:45:45 +00:00
TreeHugger Robot
d3b1def2eb Merge "Enable cache clearing v2 logic, fix bugs." 2017-03-15 07:16:43 +00:00
Jeff Sharkey
e730ae877a Enable cache clearing v2 logic, fix bugs.
Now that we have CTS tests to verify the cache clearing v2 logic,
we're ready to enable it!

Switch storage APIs over to "usable space" to match implementation
down in installd.  Add a missing clearCallingIdentity(), and offer
better logging for missing appop permission.

Load quotas from disk right away at device boot instead of waiting.

Bug: 35685848, 35684969
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.StorageHostTest
Change-Id: I8167e0322b4662ca6c975da5c50715e2d71332a7
2017-03-14 23:39:03 -06:00
TreeHugger Robot
a98767ab7f Merge "Apply static RRO" 2017-03-15 04:30:33 +00:00
TreeHugger Robot
1809db5cb1 Merge "IP connectivity metrics: add new APF counters." 2017-03-15 04:24:30 +00:00
Hugo Benichi
22d9b2d430 IP connectivity metrics: add new APF counters.
This patch adds a few missing counters to APF events:
 - an actual lifetime duration to ApfProgramEvent.
 - counters for total number of updates to ApfStatistics.

ApfProgramEvents are now recorded at program removal in order to
populate the actual lifetime of the program. ApfProgramEvents whose
actual lifetime was less than 1 second are filtered out.

Finally, instance fields of ApfProgramEvent and ApfStats classes are
made mutable to allow for simple record-like creation. This was not
possible when these classes were tagged @SystemApi.

Test: - manually verified output of $ dumpsys connmetrics list
      - unit tests updated.
Bug: 34901696

Change-Id: I02694ebb9421ce1c2aa757fa6aa209d19a654dcd
2017-03-15 11:49:48 +09:00
Erik Kline
9f5e699093 Merge "Add comment with packet tracker debugging tip" am: 40aa5ee583 am: 17dd8723b7
am: 663269bae2

Change-Id: Iacf172a6b6e1b62bc84af8b5fcdd1745acfe987f
2017-03-15 02:47:52 +00:00
Erik Kline
663269bae2 Merge "Add comment with packet tracker debugging tip" am: 40aa5ee583
am: 17dd8723b7

Change-Id: I1d937d99d58ae031d6bf86f3407669bf47d5c037
2017-03-15 02:43:19 +00:00
TreeHugger Robot
2a22642567 Merge "Workaround for b/36228253" 2017-03-15 02:42:44 +00:00
Erik Kline
17dd8723b7 Merge "Add comment with packet tracker debugging tip"
am: 40aa5ee583

Change-Id: I0f5f139f81af23ddc33e37ddf489a477e37c394f
2017-03-15 02:38:51 +00:00
TreeHugger Robot
42abe23ae3 Merge "Block modifying channel IDs of preview programs" 2017-03-15 02:34:02 +00:00
Adam Lesinski
22b0d5dc6b Merge "AAPT2: Add -A (assets) support" 2017-03-15 02:30:37 +00:00
Treehugger Robot
40aa5ee583 Merge "Add comment with packet tracker debugging tip" 2017-03-15 02:28:07 +00:00
TreeHugger Robot
270708be6e Merge "fixed typos in log fixed bug 34845702 Test: manual" 2017-03-15 02:26:28 +00:00
TreeHugger Robot
352b0f05cb Merge "ZygoteInit: Remove CAP_SYS_RESOURCE" 2017-03-15 01:49:30 +00:00
TreeHugger Robot
2be4186842 Merge "Fix the number of levels returned by getLevels()." 2017-03-15 01:45:33 +00:00