Commit Graph

13786 Commits

Author SHA1 Message Date
Collin Fijalkovich
affdc7fb06 Merge "Cache getPhoneId and getSlotIndex binder calls." 2020-04-27 23:31:51 +00:00
TreeHugger Robot
4c074f1e9e Merge "Keep the intent resolver button bar stuck to the bottom." into rvc-dev am: 1ef9f259c4 am: b1f1b2fe92 am: ce6663465f am: 6f056ec326
Change-Id: I5ebbd3ab7324822ac6213b2f1492e15034050f26
2020-04-27 20:47:02 +00:00
TreeHugger Robot
6d5d83f3ea Merge "Update one-line layout for conversation notifs" into rvc-dev am: 9153a323fd am: 48026065ac am: 7a5c47fb92 am: 352bfd1d4b
Change-Id: I1eb7ca86b3d0d49e4c6301f1f24cdb2ca93e9066
2020-04-27 20:46:14 +00:00
TreeHugger Robot
ce6663465f Merge "Keep the intent resolver button bar stuck to the bottom." into rvc-dev am: 1ef9f259c4 am: b1f1b2fe92
Change-Id: I612ffc559c6342aa10eb8fc61148b841d65db16a
2020-04-27 20:09:56 +00:00
TreeHugger Robot
7a5c47fb92 Merge "Update one-line layout for conversation notifs" into rvc-dev am: 9153a323fd am: 48026065ac
Change-Id: I1ba44c6877a775396e6530308713f13b9ec393f0
2020-04-27 20:09:25 +00:00
TreeHugger Robot
1ef9f259c4 Merge "Keep the intent resolver button bar stuck to the bottom." into rvc-dev 2020-04-27 19:53:32 +00:00
TreeHugger Robot
9153a323fd Merge "Update one-line layout for conversation notifs" into rvc-dev 2020-04-27 19:53:23 +00:00
Miranda Kephart
dd3e7aee3c Merge "Keep screenshot process bound" into rvc-dev am: c8f22beefe am: e538f40bf1 am: ee95ffefad am: 5581f9cfbd
Change-Id: I7e5d3fb77c44d20cc7cdc95dac8c539173b15781
2020-04-27 18:40:42 +00:00
Miranda Kephart
ee95ffefad Merge "Keep screenshot process bound" into rvc-dev am: c8f22beefe am: e538f40bf1
Change-Id: Idd4f9cc5e18eca3ad87f8ac432adb525f6334d02
2020-04-27 18:23:59 +00:00
Miranda Kephart
c8f22beefe Merge "Keep screenshot process bound" into rvc-dev 2020-04-27 18:00:43 +00:00
arangelov
27b997491e Keep the intent resolver button bar stuck to the bottom.
Fixes: 154939990
Test: atest ChooserActivityTest
Test: atest ResolverActivityTest
Test: manual
Change-Id: Ia450701650dfca55488ed7bf1f9bebcae5b72c2c
2020-04-27 18:40:47 +01:00
TreeHugger Robot
93b0f2a943 Merge "Implement direct share targets quota based onto app share score in ChooserTarget ranking protorype." into rvc-dev am: 2133dc6e73 am: 6a76b2a29e am: f560015f24 am: ddb262cc33
Change-Id: I9ca097d1644b9de1d39281569e306ee189bfe0e3
2020-04-27 17:21:46 +00:00
TreeHugger Robot
6a76b2a29e Merge "Implement direct share targets quota based onto app share score in ChooserTarget ranking protorype." into rvc-dev am: 2133dc6e73
Change-Id: I3a0a2781b7537ff56ebc63dad19530c6e28f5a28
2020-04-27 16:28:15 +00:00
TreeHugger Robot
2133dc6e73 Merge "Implement direct share targets quota based onto app share score in ChooserTarget ranking protorype." into rvc-dev 2020-04-27 16:17:27 +00:00
Steve Elliott
936df15c79 Update one-line layout for conversation notifs
Fixes: 152770837
Test: manual, visual
Change-Id: I8433d5e26be4e6fe0c16acc87b29bac334011cbf
2020-04-27 11:49:13 -04:00
Charles Chen
cc6013812e Merge changes Ida26b961,I1d416b9c into rvc-dev am: 413ce328e5 am: f8bc6fe4fa am: 2ca88b4ce2 am: b88c351a7a
Change-Id: I9a6f82f7274dba074dcf699009bcfff167e1fe76
2020-04-27 10:08:12 +00:00
Charles Chen
2ca88b4ce2 Merge changes Ida26b961,I1d416b9c into rvc-dev am: 413ce328e5 am: f8bc6fe4fa
Change-Id: I6f251b0656c782141f17b2721163d72edd748596
2020-04-27 09:31:18 +00:00
Charles Chen
edfff9e687 Merge changes Ida26b961,I1d416b9c into rvc-dev am: 413ce328e5
Change-Id: I2acbd395c60b36242106f8c0f282182dbe54b7ef
2020-04-27 09:12:33 +00:00
Charles Chen
413ce328e5 Merge changes Ida26b961,I1d416b9c into rvc-dev
* changes:
  Fix error in DecorView's ViewConfiguration
  Fix DecorView error about non-visual context
2020-04-27 08:57:58 +00:00
Charles Chen
441efaec07 Fix error in DecorView's ViewConfiguration
In ViewConfiguration, we use isUiContext to verify if a context
is an visual context. However, DecorContext uses Application
context as a base context and return false as intended.
This patch overrides isUiContext to report context#isUiContext
instead.

fixes: 153664027
Test: atest DecorContextTest#testIsUiContextFromVisualDecorContext
Change-Id: Ida26b9617c74dc6997fc2c00d97d3420a0978fc7
2020-04-27 16:37:52 +08:00
Charles Chen
6661575791 Fix DecorView error about non-visual context
This error showed because DecorContext uses application context
to get WindowManager. This CL changes to use PhoneWindow to obtain
WindowManager instance. Also refactor ctr to obtain context from
PhoneWindow.

Bug: 152806048
Test: manual - enable strict mode and check the error log not shown.
Test: atest DecorContextTest
Test: atest MemoryTests#testActivityRecreation
Change-Id: I1d416b9cdb015c9bc3553571041f3b14bb9da5da
2020-04-27 16:37:46 +08:00
Song Hu
6f42281c7f Implement direct share targets quota based onto app share score in
ChooserTarget ranking protorype.

Bug: 151112858
Test: atest CtsSharesheetTestCases:android.sharesheet.cts.CtsSharesheetDeviceTest
Change-Id: I740d102d27b29fdf2af591593a619f3b60ef0f89
2020-04-26 22:07:03 -07:00
Nick Chalko
c2b6938c2e Merge "Use HdmiProperties class for ro.hdmi.*" 2020-04-26 17:18:44 +00:00
Jing Ji
f57d848081 Merge "Fix test failure in testProcessStateByPulling" into rvc-dev am: b344e0ac95 am: 9ef42068a4 am: 47061a4cd7 am: 36d755b79f
Change-Id: I2ebb573d22bf538b5579a8bcc3710aa4bea3a143
2020-04-24 23:55:04 +00:00
Jing Ji
47061a4cd7 Merge "Fix test failure in testProcessStateByPulling" into rvc-dev am: b344e0ac95 am: 9ef42068a4
Change-Id: I31d85c49c19c1636949569e4a885830e25c41a04
2020-04-24 23:14:36 +00:00
Jing Ji
47ae64c03f Merge "Fix test failure in testProcessStateByPulling" into rvc-dev am: b344e0ac95
Change-Id: I0e850a76c5c56d3d0eb7790f7726330ce7a9f694
2020-04-24 23:13:17 +00:00
Jing Ji
b344e0ac95 Merge "Fix test failure in testProcessStateByPulling" into rvc-dev 2020-04-24 23:05:08 +00:00
Miranda Kephart
a4c79758fb Keep screenshot process bound
Currently, the screenshot process only remains bound to SysUI
(by ScreenshotHelper) until the screenshot finishes saving. This
makes it vulnerable to getting cached and frozen. Since the process
now includes UI with touch focus for longer than that, this can
cause ANRs in the screenshot process, if it is frozen while it's
supposed to be accepting touch input.

Retaining the binding for the entire lifecycle of the screenshot
UI fixes this problem.

Test: manual -- used the steps in b/153577093 to verify the
freezing behavior and verified that it no longer occurred after
the change
Bug: 153418099
Fix: 153418099

Change-Id: Idca24a69274af3d633e1243b46b602613cb04d50
2020-04-24 15:43:02 -04:00
Collin Fijalkovich
fae7c9798d Cache getPhoneId and getSlotIndex binder calls.
Use PropertyInvalidatedCache to avoid redundant calls to
SubscriptionController getSlotIndex and getPhoneId.
Bug: 151953109
Test: Verified cache operated correctly when phone process is killed.
Test: atest SubscriptionControllerTest
Test: atest android.telephony.cts.SubscriptionManagerTest

Change-Id: I70552537af44f3e05b156cd190ebb28f0d940bf6
2020-04-24 11:21:49 -07:00
Antoan Angelov
9d57fbb1b1 Merge "Improvements on layout with default intent resolver" into rvc-dev am: ed64206471 am: 10f6ce2bbc am: a32fff978f am: 947e3ddf3c
Change-Id: I6a69d1ebad87dea638dfd1c91f0b16ec9b87c7f1
2020-04-24 18:16:48 +00:00
TreeHugger Robot
ae0293c42c Merge "Check whether should auto launch after showing empty state screen" into rvc-dev am: 8a5bba3e6a am: 1222f8e745 am: 3f9bebdcd9 am: 1feca19e03
Change-Id: I2fe41bbdd75475c72c1ee76df283536a2a85afd3
2020-04-24 18:15:42 +00:00
Antoan Angelov
10f6ce2bbc Merge "Improvements on layout with default intent resolver" into rvc-dev am: ed64206471
Change-Id: I87af6f89df9b5426bdefb82267d95b013e38fcc1
2020-04-24 17:59:32 +00:00
TreeHugger Robot
3f9bebdcd9 Merge "Check whether should auto launch after showing empty state screen" into rvc-dev am: 8a5bba3e6a am: 1222f8e745
Change-Id: I8846ca6d533a5271eeb11fef53735357b32666bc
2020-04-24 17:53:01 +00:00
Antoan Angelov
ed64206471 Merge "Improvements on layout with default intent resolver" into rvc-dev 2020-04-24 17:52:59 +00:00
TreeHugger Robot
b960d6c6f1 Merge "Check whether should auto launch after showing empty state screen" into rvc-dev am: 8a5bba3e6a
Change-Id: I634d793ced65dbb14dd47f2a185580c30aee7c36
2020-04-24 17:46:53 +00:00
TreeHugger Robot
8a5bba3e6a Merge "Check whether should auto launch after showing empty state screen" into rvc-dev 2020-04-24 17:44:37 +00:00
arangelov
4e2951b2f4 Improvements on layout with default intent resolver
- nullcheck buttonBarDivider
- only apply padding to non-default layout resolver
- create header for user instead of just once, because
it gets updated after it's first created

Fixes: 154832840
Fixes: 154330193
Test: manual
Change-Id: Ia9f2a1112a406e898dcf66954887ababae48f001
2020-04-24 17:17:28 +01:00
arangelov
4d3be0bf0b Check whether should auto launch after showing empty state screen
Fixes: 154812743
Test: manual
Test: atest ChooserActivityTest
Test: atest ResolverActivityTest
Change-Id: I9f861bb6f7e4b7ff087aa74c554cc4e52f8ce614
2020-04-24 17:17:25 +01:00
Jing Ji
468e6c3909 Fix test failure in testProcessStateByPulling
Added a new flag "--statsd" to dumpsys procstats, it'll dump
the identical protobuf data as the one being sent to statsd;
these data is aggregated/reduced.  The tradtional "--proto"
is still supported in case the full data is needed.

Align the ProcStats's proto message definition with the statsd.

Fixed various other issues with ProcStats's dumping.

Bug: 148542701
Test: atest ProcStatsValidationTests
Change-Id: I5a22603bfbc97bfac93179289df839710364677d
2020-04-24 05:01:22 -07:00
TYM Tsai
41447be309 Merge "Filter the content of the Bundles used as extras and styling APIs" into rvc-dev am: 4ddfdaf641 am: 5c913aeacc am: 6cce28ebbc am: 009fb7ec44
Change-Id: I4d317f36033a59baf9001f7017ffd3beffc20c2b
2020-04-24 09:49:21 +00:00
TYM Tsai
6cce28ebbc Merge "Filter the content of the Bundles used as extras and styling APIs" into rvc-dev am: 4ddfdaf641 am: 5c913aeacc
Change-Id: Ib19b408a8aab0b7daf65082776ea510cc476dc4a
2020-04-24 09:08:09 +00:00
TYM Tsai
b315a18f85 Merge "Filter the content of the Bundles used as extras and styling APIs" into rvc-dev am: 4ddfdaf641
Change-Id: I3bb6ca81b2f5198836d527e2038eaee45ac8eb51
2020-04-24 08:57:28 +00:00
TYM Tsai
4ddfdaf641 Merge "Filter the content of the Bundles used as extras and styling APIs" into rvc-dev 2020-04-24 08:42:56 +00:00
Jason Hsu
005f2acff1 Merge changes from topic "rhedjao_a11y_button_rollback" into rvc-dev am: ea2d4bf1fd am: a574c632c5 am: e56a98a820 am: bd5a346909
Change-Id: I64079947e3cf089b6555a9d24aafde794ef380f0
2020-04-24 03:31:45 +00:00
Peter_Liang
c82aeb9953 Rollback chooser menu to version Q behavior for accessibility button (1/n). am: b8bf55c8c0 am: e14bebf669 am: a396085e46 am: 6d90974d37
Change-Id: I818f24d7f4bf6fc9402f0a53edcb9c2fc4e0a1d1
2020-04-24 03:31:30 +00:00
Jason Hsu
e56a98a820 Merge changes from topic "rhedjao_a11y_button_rollback" into rvc-dev am: ea2d4bf1fd am: a574c632c5
Change-Id: I82a8c1d436829e99d1e07209445c187a8e055783
2020-04-24 03:15:45 +00:00
Peter_Liang
a396085e46 Rollback chooser menu to version Q behavior for accessibility button (1/n). am: b8bf55c8c0 am: e14bebf669
Change-Id: Ie59a63998b064a1961d26576791f23b5ca27fe95
2020-04-24 03:15:41 +00:00
Peter_Liang
e14bebf669 Rollback chooser menu to version Q behavior for accessibility button (1/n). am: b8bf55c8c0
Change-Id: I1cd26352784fe16108dd5c9d39eacea0ef53ce49
2020-04-24 03:10:49 +00:00
Jason Hsu
7be170311e Merge changes from topic "rhedjao_a11y_button_rollback" into rvc-dev am: ea2d4bf1fd
Change-Id: I962254161d27de3544d4c08f2a97e31f38f4d8f2
2020-04-24 03:10:20 +00:00
Peter_Liang
08f96b0c6d Rollback chooser menu to version Q behavior for accessibility button (1/n). am: b8bf55c8c0
Change-Id: I552d04e631d965e57fcb0a43d6cc99fd4412ea05
2020-04-24 03:10:10 +00:00