Commit Graph

309172 Commits

Author SHA1 Message Date
Jack Yu
da70ca69fd Added two new RIL commands support
Added RIL_REQUEST_SEND_DEVICE_STATE and
RIL_REQUEST_SET_UNSOLICITED_RESPONSE_FILTER RIL requests support.

Test: telephony sanity tests
bug: 32223897, 20125037, 28294587

Change-Id: I148a4322dfab2d8d84faf6505fb89dfc290411e3
2017-03-01 19:21:22 -08:00
TreeHugger Robot
1bef83f613 Merge "Added inputType to Assist API." 2017-03-02 03:01:50 +00:00
Steven Moreland
b2df16ae1a Merge "LightService: recover if light hal fails." 2017-03-02 02:21:25 +00:00
Fyodor Kupolov
be7febfd7d Merge "Log user running states" 2017-03-02 01:33:59 +00:00
TreeHugger Robot
85d0eee1a8 Merge "Fixed some issues with alert window notifications" 2017-03-02 01:04:56 +00:00
TreeHugger Robot
3f80513733 Merge changes Ic4370fa8,I81c43329,Ic563a8fe,I6d4be770,I858d1c95, ...
* changes:
  Fixed a bug where a wrong notification could be visible
  Fixed a bug where the icon would dissappear
  Continued low-priority group implementation
  Fixed an issue where the minimum height wasn't applied correctly
  Worked around a bug where the view could render blank
  Fixed another memory leak
  Creating the right views for low-priority group children
  Move the inflation away from the statusbar
2017-03-02 00:52:52 +00:00
Bryce Lee
bb983d28cd Merge "Clear associated task when starting activity in a new task." 2017-03-02 00:48:29 +00:00
Garfield Tan
63cea4eefb Merge "Remove DocumentsContract.ACTION_BROWSE." 2017-03-02 00:35:58 +00:00
Paul Stewart
b26979f14e Merge "Fix up EAP-SIM documentation" am: 2142b14a88 am: 32655dfa19
am: 5e10f3d8e3

Change-Id: Idecbc5f6e85c35c8f648dda005d701bf4ebdec82
2017-03-02 00:27:33 +00:00
Paul Stewart
5e10f3d8e3 Merge "Fix up EAP-SIM documentation" am: 2142b14a88
am: 32655dfa19

Change-Id: I781b6e586b7925262d529056dd5f403e081a3d80
2017-03-02 00:22:25 +00:00
Paul Stewart
32655dfa19 Merge "Fix up EAP-SIM documentation"
am: 2142b14a88

Change-Id: I944734796ea97fded5cc818899ddf7b41cbeca00
2017-03-02 00:12:43 +00:00
Fyodor Kupolov
fa0edc8c51 Log user running states
Test: manual
Bug: 28278870
Change-Id: I6ce20167e98eb44c838a681471095d00c4a6346d
2017-03-01 16:07:07 -08:00
Treehugger Robot
2142b14a88 Merge "Fix up EAP-SIM documentation" 2017-03-02 00:01:33 +00:00
Android Build Merger (Role)
43d059bf48 Merge "Merge "Remove FastJNI optimization on AssetManager to avoid dead lock." am: 4904e7ae2a am: 07acbea653 am: 0c4cace2a0 -s ours" 2017-03-01 23:59:18 +00:00
Tim Zhang
d2dc222827 Merge "Remove FastJNI optimization on AssetManager to avoid dead lock." am: 4904e7ae2a am: 07acbea653
am: 0c4cace2a0  -s ours

Change-Id: Icbbbc4f885c3839dcbc6c695c2ee3d16c78abf92
2017-03-01 23:58:32 +00:00
Bryce Lee
f1d8cb26af Merge "Revert "Remove activity from task if not set properly."" 2017-03-01 23:58:17 +00:00
Yifan Hong
0c3b6b3eec Merge "getTransport checks interface and instance names." am: 7f0300f1e2 am: 7719c1ad0d
am: cf4bd05edd

Change-Id: I9b811571c301f034c06cdbad5c90afe746023173
2017-03-01 23:46:09 +00:00
Bryce Lee
98689f751d Revert "Remove activity from task if not set properly."
This reverts commit 0f9bde84a1.

Reason for revert: causing b/35879503

Change-Id: I06402356ecdb559dcb8342f3a6cca755aea6533a
Fixes: 35879503
Bug: 35034729
Bug: 35035258
Bug: 34179495
Test: manual with repro steps
2017-03-01 23:44:43 +00:00
Tyler Gunn
bf8d2a2bf4 Merge "Support for showing self-managed calls in IncallService." am: 5a33057092 am: 8c7d28f163
am: fd0e1a9d93

Change-Id: I88170e214ca6c142e0445a814ad0e76064e72ba7
2017-03-01 23:40:53 +00:00
nharold
d03ccf89bf Merge changes from topic 'query-fplmn-sync' am: 0dc62c6dd3 am: 1f7f262920
am: 3243ec0614

Change-Id: I3da03980792e5fa898b7109dbb2cea7147f7ee94
2017-03-01 23:38:30 +00:00
TreeHugger Robot
fa18d7cd71 Merge "Remove SystemApi from android.permission.REQUEST_NETWORK_SCORES." 2017-03-01 23:34:39 +00:00
Tim Zhang
0c4cace2a0 Merge "Remove FastJNI optimization on AssetManager to avoid dead lock." am: 4904e7ae2a
am: 07acbea653

Change-Id: I0087c756987e31f45a66928e60e5d8d53e26945a
2017-03-01 23:32:07 +00:00
Tim Zhang
07acbea653 Merge "Remove FastJNI optimization on AssetManager to avoid dead lock."
am: 4904e7ae2a

Change-Id: I38169c42b5b5600c0e3d00f0342429b3843f88f8
2017-03-01 23:23:24 +00:00
TreeHugger Robot
de06d67d16 Merge "Added auto-fill support for DatePicker and TimePicker." 2017-03-01 23:15:35 +00:00
Andrii Kulian
ceecd2805f Merge "Compute merged configuration changes" 2017-03-01 23:14:36 +00:00
Treehugger Robot
4904e7ae2a Merge "Remove FastJNI optimization on AssetManager to avoid dead lock." 2017-03-01 23:13:14 +00:00
Wale Ogunwale
5aa8683bb7 Fixed some issues with alert window notifications
- Don't hold window manager lock while calling into notification
manager since it can end up calling into activity manager.
- Fixed issue with using checkCallingPermission() to check if the
system has the internal system window permission. This call fails
if it isn't a binder call. Change to use checkCallingorSelfPermission()
instead.
- Fixed class cast exception while getting app icon by using
IconUtilities class to the the drawable to bitmap convertion.

Change-Id: I4ef380618f558a8aac5b152d97536a614040397f
Fixes: 35780846
Fixes: 35846667
Fixes: 35854470
Bug: 35657567
Test: cts/hostsidetests/.../run-test CtsWindowManagerHostTestCases android.server.cts.AlertWindowsTests
2017-03-01 15:10:17 -08:00
TreeHugger Robot
7bf141233b Merge "IServiceManager/ITokenManager uses "default" service name" 2017-03-01 23:06:02 +00:00
TreeHugger Robot
485c0feea5 Merge "Adding flags to filter dumping of activities." 2017-03-01 22:39:05 +00:00
Mathias Agopian
78eed31d2d Merge "Remove AHardwareBuffer_ API from libandroid" 2017-03-01 22:18:30 +00:00
Tim Zhang
14e0a1e819 Remove FastJNI optimization on AssetManager to avoid dead lock.
I found there was a dead lock among main, android.display and GC threads
when running monkey test.
 - Main thread got a mutex and was suspended by GC thread.
 - Android.display thread waited for mutex held by main thread.
 - GC thread waited for suspention of android.display thread.

This will lead to ANR or screen freeze.

Merged-In: I13cf1eca3cb3b7c01aa754874f2b48aab0b472e8
Change-Id: I13cf1eca3cb3b7c01aa754874f2b48aab0b472e8
2017-03-01 22:17:19 +00:00
Daniel Nishi
19710527d7 Merge "Add a debug flag to disable time correction." 2017-03-01 22:16:48 +00:00
Steven Moreland
8dd89024ec LightService: recover if light hal fails.
- Also cleaned up implementation.

Fixes: 35728264
Test: killing android.hardware.light@2.0-service, lights still work
Change-Id: I608b85491f3b10864b8591e15537777068ded079
2017-03-01 22:09:25 +00:00
TreeHugger Robot
5a7c7b8e53 Merge "Remove FastJNI optimization on AssetManager to avoid dead lock." 2017-03-01 22:06:17 +00:00
Bryce Lee
353112c604 Clear associated task when starting activity in a new task.
In the case that an activity is brought to the foreground with clear
top, we will start it at the top of the source record's task. The
current code sets the task to match the found activity, which will no
longer be the case.

This changelist cleans up this reference so that we do not try to
reparent and instead just add the activity to the task.

Change-Id: Ic7428548fa4972aa19bc9ba890c9edaf2ff31220
Fixes: 35318848
Test: manual by bug repo steps (consistently reproducible).
2017-03-01 14:04:07 -08:00
Christine Franks
70d89be807 Merge "Add QS tile for Night Display when first used" 2017-03-01 22:03:56 +00:00
TreeHugger Robot
f2f36e5f75 Merge "Fix some old and annoying doc problems." 2017-03-01 22:03:23 +00:00
Paul Stewart
906a077cf8 Fix up EAP-SIM documentation
Address API Council comments on doucmentation for the method calls
and constants related to EAP-SIM.  While here, improve unit tests
to ensure that passing a null certificate (chain) causes the config
to forget any existing client certificates.

Bug: 35847887
Test: Unit tests

Change-Id: I1c4e18e1a7cfb61aa4764e32778793368938e70b
2017-03-01 14:02:28 -08:00
TreeHugger Robot
c4584c1da8 Merge "Add a network scorer label metadata field to NetworkScoreAppData" 2017-03-01 21:54:37 +00:00
Yifan Hong
cf4bd05edd Merge "getTransport checks interface and instance names." am: 7f0300f1e2
am: 7719c1ad0d

Change-Id: I8fcb35bdd7325e9bcae169f03142499b2490dd19
2017-03-01 21:54:14 +00:00
Tyler Gunn
fd0e1a9d93 Merge "Support for showing self-managed calls in IncallService." am: 5a33057092
am: 8c7d28f163

Change-Id: I201275ad6daf66201eb57f9215c6ec88fe65539e
2017-03-01 21:50:32 +00:00
TreeHugger Robot
fb64de06cd Merge "Use context's userId in ContentResolver class." 2017-03-01 21:49:30 +00:00
Yifan Hong
7719c1ad0d Merge "getTransport checks interface and instance names."
am: 7f0300f1e2

Change-Id: Ie44e09d89745d2179514c3b9fb8ab80e544e3701
2017-03-01 21:46:05 +00:00
nharold
3243ec0614 Merge changes from topic 'query-fplmn-sync' am: 0dc62c6dd3
am: 1f7f262920

Change-Id: I9cce740f777f0c881b37cbf4752cd81d7f817a41
2017-03-01 21:44:49 +00:00
Tyler Gunn
8c7d28f163 Merge "Support for showing self-managed calls in IncallService."
am: 5a33057092

Change-Id: I3491e4c099abf8ccc504fcb85109ba1576e34aba
2017-03-01 21:41:04 +00:00
nharold
1f7f262920 Merge changes from topic 'query-fplmn-sync'
am: 0dc62c6dd3

Change-Id: Ibc08427e8de920f7f95a6a530b45cfcf8402d203
2017-03-01 21:37:58 +00:00
Treehugger Robot
7f0300f1e2 Merge "getTransport checks interface and instance names." 2017-03-01 21:24:25 +00:00
Selim Cinek
fc9fb15c22 Fixed a bug where a wrong notification could be visible
Because we were not looking at the wrong state and ignoring
gone.

Test: add 4 notifications, pull down and tap on bottom continuously
Change-Id: Ic4370fa89525802ed99377da215085d84642a174
2017-03-01 13:15:09 -08:00
Selim Cinek
c8007c5975 Fixed a bug where the icon would dissappear
If we were inflated on the lockscreen as the only child
the icon would dissappear.

Test: send multiple messages, kill systemui, observe
Change-Id: I81c433292f6839920b99ac124ca1dd17eb6e962e
2017-03-01 13:15:08 -08:00
Selim Cinek
414ad33470 Continued low-priority group implementation
Adapting the low-priority group implementation
according to spec. Expanding a group takes 2 taps now.

Test: add low-priority group observe behavior
Change-Id: Ic563a8fe0e71df746b9b548adc8d1698940b1a83
Fixes: 35125708
2017-03-01 13:15:08 -08:00