Commit Graph

446624 Commits

Author SHA1 Message Date
Makoto Onuki
fa98ee4463 Fix trivial hidden API uses
Bug: 142281756
Test: boot
Test: manual code inspection
Change-Id: I4abf477db7bd46d1daef6f723d4e49f6bfb9bbbe
2019-10-08 13:35:26 -07:00
Makoto Onuki
ffa0a6f4bf Merge "Fix trivial hidden API uses" 2019-10-08 16:20:14 +00:00
TreeHugger Robot
4b64305597 Merge "Fix potential NPE in SystemUITests" 2019-10-08 13:33:19 +00:00
Taran Singh
97f7acbd20 Merge "Postpone IME show animation till IME is drawn in WM." 2019-10-08 08:33:35 +00:00
Tadashi G. Takaoka
38bb49b055 Fix potential NPE in SystemUITests
Bug: 142293305
Test: atest QSTileHostTest
Change-Id: I0835ef3e5d7bf0cbfcec28fd9e79b8639264bd1f
2019-10-08 17:29:42 +09:00
TreeHugger Robot
27c8d246a8 Merge "Fix mis-overridden of activity level unifying" 2019-10-08 07:33:02 +00:00
Kevin Chang
143000b23f Merge "Create new API for ImageSpan" 2019-10-08 06:09:44 +00:00
TreeHugger Robot
95870ec6f7 Merge "Fix typo of field in DisplayContent" 2019-10-08 04:31:43 +00:00
Riddle Hsu
6b76cd3c2e Fix mis-overridden of activity level unifying
- AWT#inSizeCompatMode is overridden by ActivityRecord but they
  were used for different purposes.
- Add missing ConfigurationContainerListener of display level.
  So the configuration got from ActivityRecord#getParent (Task)
  is synced with TaskRecord.
- Initial Task with TaskRecord's resolved configuration instead.
  That avoids the orientation being locked.

Bug: 80414790
Test: atest AppWindowTokenTests#testSizeCompatBounds
Test: Launch an unresizable portrait activity, after calling
      setRequestedOrientation to rotate, the restart button
      won't appear.
Test: 1. Enter split-screen in portrait.
      2. Finish the activity in secondary.
      3. Launch the same activity from recents.
      4. Drag divider to top.
      5. Check the orientation is still portrait.

Change-Id: Ib3b54a74e98d1e85ea4f7707f17bac51d6dbe21b
2019-10-08 12:29:51 +08:00
Roshan Pius
90e0908739 Merge "ConnectivityService: Grant networkstack uid extra privileges" am: 04665dbfcc am: 24487ef5a6 am: 2d8ed7edde
am: f8f40f7420

Change-Id: I3620f018e5a1c203385f2997a42ff4a9e536f735
2019-10-07 20:57:56 -07:00
Roshan Pius
f8f40f7420 Merge "ConnectivityService: Grant networkstack uid extra privileges" am: 04665dbfcc am: 24487ef5a6
am: 2d8ed7edde

Change-Id: Ib7c3190806733244672a38822febd7f2d37195b6
2019-10-07 20:50:45 -07:00
Roshan Pius
2d8ed7edde Merge "ConnectivityService: Grant networkstack uid extra privileges" am: 04665dbfcc
am: 24487ef5a6

Change-Id: Ib5437cb8eece577e91ed7d65f1f22170f0c88204
2019-10-07 20:44:06 -07:00
Roshan Pius
24487ef5a6 Merge "ConnectivityService: Grant networkstack uid extra privileges"
am: 04665dbfcc

Change-Id: I1bdf4e65fc11a6528818d53e3034c883b2ef8c8b
2019-10-07 20:37:50 -07:00
TreeHugger Robot
183536f524 Merge "Move MmsManager and IMms to frameworks/base/mms" 2019-10-08 03:36:30 +00:00
Treehugger Robot
04665dbfcc Merge "ConnectivityService: Grant networkstack uid extra privileges" 2019-10-08 03:12:58 +00:00
TreeHugger Robot
5329207e9d Merge "Fix the super_status_bar to be compatible" 2019-10-08 02:48:29 +00:00
TreeHugger Robot
ef16f64e60 Merge "Mark common android.os.Parcel methods as FastNative" 2019-10-08 02:10:33 +00:00
TreeHugger Robot
966ff74794 Merge "Remove special handling for legacy apps when checking permission." 2019-10-08 02:04:51 +00:00
TreeHugger Robot
c3737e00ba Merge "Make isDataEnabledForApn() a system api." 2019-10-08 01:54:10 +00:00
Wale Ogunwale
ee1b12273d Merge "Renamed some fields in TaskRecord (52/n)" 2019-10-08 01:42:54 +00:00
Chen Xu
302bd23a32 Merge "move CellBroadcastMessage from telephony-common to app" 2019-10-08 01:02:48 +00:00
Amit Mahajan
6237a6b35c Move MmsManager and IMms to frameworks/base/mms
Test: basic sanity
Bug: 140763963
Change-Id: Ib2cffce98f62913c3e50c59b63012c39d595d9ce
2019-10-07 17:41:26 -07:00
Evan Laird
ddf57cdfbe [automerger skipped] Force FGS notifications to show for a minimum time am: 3b8c4743f6 -s ours am: d3618f8275 -s ours am: 67e7268757 -s ours am: 4821ae7fc6 -s ours
am: ce374538d5 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history

Change-Id: I3c2c15efb6d0ede52dc5be3c0797076209b55add
2019-10-07 17:34:34 -07:00
Evan Laird
d170ac57fe [automerger skipped] Merge "Force FGS notifications to show for a minimum time" into qt-dev am: e590a7d0b5 am: 9ec959b8f3 -s ours am: a2ba1ccfdc -s ours
am: b2cbf7c207 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history

Change-Id: I91eed42c62ecc338e7e819032ad430d957d18273
2019-10-07 17:29:30 -07:00
Evan Laird
96c430f945 [automerger skipped] Force FGS notifications to show for a minimum time am: 3b8c4743f6 -s ours am: d3618f8275 -s ours am: 67e7268757 -s ours am: ff059037d5 -s ours
am: e121d6d10a -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history

Change-Id: Ic61150f73972e2ce9e06900d94ac61755bd351c6
2019-10-07 17:26:36 -07:00
Evan Laird
ce374538d5 [automerger skipped] Force FGS notifications to show for a minimum time am: 3b8c4743f6 -s ours am: d3618f8275 -s ours am: 67e7268757 -s ours
am: 4821ae7fc6 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history

Change-Id: Iab7ace52b4add9e7c3f63f439fd4ead520e9c8d4
2019-10-07 17:23:48 -07:00
Evan Laird
92ae00a57f [automerger skipped] Merge "Force FGS notifications to show for a minimum time" into qt-dev am: e590a7d0b5 am: 9ec959b8f3 am: cbab929395 -s ours
am: 833d336899 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 3ceaa9b957 is in history

Change-Id: I222a55c751ed1d4eda8aad2e99f508063143def2
2019-10-07 17:23:25 -07:00
Evan Laird
b2cbf7c207 [automerger skipped] Merge "Force FGS notifications to show for a minimum time" into qt-dev am: e590a7d0b5 am: 9ec959b8f3 -s ours
am: a2ba1ccfdc -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history

Change-Id: Ibdd94e1e6425403022f04f2a7b91c6f1dba2b74e
2019-10-07 17:15:42 -07:00
Evan Laird
e121d6d10a [automerger skipped] Force FGS notifications to show for a minimum time am: 3b8c4743f6 -s ours am: d3618f8275 -s ours am: 67e7268757 -s ours
am: ff059037d5 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history

Change-Id: Id39ca9f51d9b61a43ad13c7bdb724e046b8e637b
2019-10-07 17:12:54 -07:00
Evan Laird
4821ae7fc6 [automerger skipped] Force FGS notifications to show for a minimum time am: 3b8c4743f6 -s ours am: d3618f8275 -s ours
am: 67e7268757 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history

Change-Id: If638f3a41362dbbc07b101df3ddd9d51c2dfb103
2019-10-07 17:10:39 -07:00
Evan Laird
833d336899 [automerger skipped] Merge "Force FGS notifications to show for a minimum time" into qt-dev am: e590a7d0b5 am: 9ec959b8f3
am: cbab929395 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 09843a687b is in history

Change-Id: I91f64c2252e7ac3c09bea87c276d2fb5391e7e84
2019-10-07 17:08:41 -07:00
Evan Laird
a2ba1ccfdc [automerger skipped] Merge "Force FGS notifications to show for a minimum time" into qt-dev am: e590a7d0b5
am: 9ec959b8f3 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 09843a687b is in history

Change-Id: I8cb6a74fb003c359cf81f5dbf84d77f675dd5b5c
2019-10-07 17:07:22 -07:00
TreeHugger Robot
6457e8447b Merge "Add callback to notify frozen RecentTasks" 2019-10-07 23:59:32 +00:00
Heemin Seog
f6ee4c723d Fix the super_status_bar to be compatible
Phone system ui made some changes recently which require
super_status_bar to be updated.

Bug: 142274450
Test: manual (build, flash, no crashing)
Change-Id: Icf1049d0264da57d435600d607c26a612fcaeb3b
2019-10-07 16:56:49 -07:00
TreeHugger Robot
cdbb1053a1 Merge "Remove FRIEND_TEST declarations" 2019-10-07 23:56:29 +00:00
Makoto Onuki
fa8b0ba2bf Fix trivial hidden API uses
Bug: 142281756
Test: boot
Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/DeviceIdleControllerTest.java
Change-Id: I3438e62731118462a4cf8db954a5a95a5908d7a8
2019-10-07 16:52:29 -07:00
Evan Laird
ff059037d5 [automerger skipped] Force FGS notifications to show for a minimum time am: 3b8c4743f6 -s ours am: d3618f8275 -s ours
am: 67e7268757 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history

Change-Id: Ie018f1e0b233c1a36eb2a61379f7a15fabd9f073
2019-10-07 16:49:57 -07:00
Evan Laird
cbab929395 Merge "Force FGS notifications to show for a minimum time" into qt-dev am: e590a7d0b5
am: 9ec959b8f3

Change-Id: I0bb047927f4f8c21a2311e52123ce1b64b9104ac
2019-10-07 16:45:32 -07:00
Evan Laird
67e7268757 [automerger skipped] Force FGS notifications to show for a minimum time am: 3b8c4743f6 -s ours
am: d3618f8275 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history

Change-Id: I84e294f2e9e192cfaf1c62cab4b05a1e8b5df7db
2019-10-07 16:40:18 -07:00
Evan Laird
d3618f8275 [automerger skipped] Force FGS notifications to show for a minimum time
am: 3b8c4743f6 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history

Change-Id: I5ad32c66fa4502e232b802241789977252ddec8e
2019-10-07 16:30:51 -07:00
Evan Laird
9ec959b8f3 Merge "Force FGS notifications to show for a minimum time" into qt-dev
am: e590a7d0b5

Change-Id: Ia160497ca078e4d7c2ed99b28d41713cc17f5c90
2019-10-07 16:30:31 -07:00
TreeHugger Robot
68a2276ec8 Merge "Services exit fg when bg-restricted app leaves top" 2019-10-07 23:27:43 +00:00
Julius D'souza
dc8db555ca Merge "Allow bypassing setup for Auto in startDockOrHome" 2019-10-07 23:20:45 +00:00
Daniel Colascione
012ab8e9fa Mark common android.os.Parcel methods as FastNative
Mark the marshaling functions for non-primitive parameters as being
@FastNative: they're all expected to complete quickly.

According to the table in CriticalNative.java, the difference between
a regular JNI call and a FastNative call is about 80ns, so this change
should shave about 160ns per non-primitive parameter off the latency
of a binder transaction. The actual savings will be greater as we also
use these Parcel methods to marshal and unmarshal complex objects like
PackageInfo sent as objects over Binder.

Bug: 142271139
Test: boots
Change-Id: I85c3ee8498640193b9c0777c8c5e7eb349c7b23c
2019-10-07 16:20:06 -07:00
Amit Mahajan
505e174176 Make isDataEnabledForApn() a system api.
Test: atest TelephonyManagerTest#testIsDataEnabledForApn
Bug: 140763963
Change-Id: Icbb29124294972766f68533b7e23700dd491c075
2019-10-07 16:19:05 -07:00
TreeHugger Robot
e590a7d0b5 Merge "Force FGS notifications to show for a minimum time" into qt-dev 2019-10-07 23:04:14 +00:00
Xiangyu/Malcolm Chen
ff3cf4315a Merge "Add public intent ACTION_MULTI_SIM_CONFIG_CHANGED." 2019-10-07 22:53:09 +00:00
Tarandeep Singh
500a38fce5 Postpone IME show animation till IME is drawn in WM.
With this change, we postpone IME show animation until IME layout is fully
drawn in WM.
Earlier, we were showing IME right after InputMethodService called
Window.show(), which didn't guarantee that layout draw was completed.

Fix: 139487540
Bug: 111084606
Test: Manually verified as follows:
     1: Kill IME process or restart system to make sure IME window isn't
     created.
     2. Tap on edit field to make sure IME shows-up first time.
Change-Id: I35f3fdca43e6bae598a08237ba724962d575cb80
2019-10-07 22:47:16 +00:00
Vinit Nayak
8e54796add Add callback to notify frozen RecentTasks
TaskStackListener can now know when
RecentTasks recents list has been
frozen and unfrozen.
Launcher needs this to know when to listen
for multiple swipe regions in quickstep
for apps with different orientations.

Fixes: 140116135
Test: Had Launcher be a consumer of new
listener and verified via logs and
debugger that it was sending the correct
callback when quickswitching apps.

Change-Id: I65fb92d2490c91837523b99563d4fef422dabb76
2019-10-07 15:01:01 -07:00
tsaichristine
6d7fbadf28 Remove FRIEND_TEST declarations
Remove FRIEND_TEST declarations for DimensionsInCondition_e2e tests
which have been removed

Test: bit statsd_test:*
Change-Id: I4642456000624b1a8117ce683cde20db8c6abff2
2019-10-07 14:51:07 -07:00