Commit Graph

446643 Commits

Author SHA1 Message Date
TreeHugger Robot
8018eeace2 Merge "Add trace points for measuring performance" 2019-10-08 21:52:40 +00:00
TreeHugger Robot
b0b28d67ad Merge "Move listener registration to the background" 2019-10-08 19:51:08 +00:00
TreeHugger Robot
91ede359fa Merge "Replace targetSDK check with platform compat framework gating." 2019-10-08 19:26:31 +00:00
TreeHugger Robot
88bfff3262 Merge "Fix "Set as Default" error in ResolverActivity" 2019-10-08 19:22:34 +00:00
Yinglei Wang
818f433f50 Merge "Separator in AbsListView should not be clickable" 2019-10-08 18:51:48 +00:00
Lucas Dupin
c989d983ec Add trace points for measuring performance
Test: systrace
Bug: 139363827
Bug: 139360025
Change-Id: I979c5fbecbaa9896a39abeb7b5639a95a5166688
2019-10-08 11:44:42 -07:00
TreeHugger Robot
cde53a44c0 Merge "log guardrail limit hit for Duration, Count and Gauge metrics" 2019-10-08 18:42:11 +00:00
Jay Aliomer
d7a3919e57 Merge ""Clear all" causes auto-grouped persistent notifications losing the group summary" 2019-10-08 18:26:53 +00:00
TreeHugger Robot
28e6e7e719 Merge "Delete some dead code." 2019-10-08 18:24:56 +00:00
Michael Groover
3b5eb58b74 Merge "Update TelephonyManager#getNai docs for new device ID requirements" 2019-10-08 18:13:02 +00:00
atrost
e4d912f1d0 Replace targetSDK check with platform compat framework gating.
Define a new change id and use it for gating the change.

Test: atest -p cts/tests/signature, atest AndroidTestBaseUpdaterTest
Bug: 30188076
Change-Id: Ic8c85eae0c490a7eca117b74c4326dd50df2b352
2019-10-08 18:42:09 +01:00
hh83.kim
1dcb9f3d9d Fix "Set as Default" error in ResolverActivity
Sometimes, we have seen cases that 'set as default' feature does not work properly in ResolverActivity.
This issue occurs when an activity, with 'exported=false' attribute, is included in the list returned by PackageManager.queryIntentActivities().
By the logics in ResolverListController.java#getResolversForIntent(), the activity is removed from the list.
This creates a difference between the list that ResolverActivity sends to PackageManager when calling addPreferredActivity() and
the list PackageManager maintains. Due to the difference, PackageManager does not set preferredActivity requested from ResolverActivity,
which results the showing of ResolverActivity the next time with same action(even though user has set preferred activity).
To handle this issue, we recommend that the removal logic should be removed from getResolversForIntent() method
because it is already handled in ResolverListController.java#filterIneligibleActivities() through ActivityManager.checkComponentPermission() api.
As the result of that, the list which will be delivered to PackageManager is not changed.

Bug: b/135738126
Test: 1. Install 'JustDial' application via Play store
      2. Try below command to launch ResolverActivity
         adb shell am start –a android.intent.action.VOICE_COMMAND
      3. Pick an item on ResolverActivity, then press 'Always' button
      4. Repeat the second step again.
         (you will see ResolverActivity comes again)
(cherry picked from commit 5cdfeeaca5516a6d64fa259f9a4ffd2955f8d2ab)
2019-10-08 10:32:01 -07:00
Muhammad Qureshi
0d24da19a9 Merge "First draft of StatsEvent.java" 2019-10-08 17:29:13 +00:00
Lucas Dupin
b803a55b4a Move listener registration to the background
Fixes: 142003427
Test: manual, with breakpoints
Change-Id: I16fe9a1dc1d5b89ca23387a69b260ff87392eb1a
2019-10-08 10:26:19 -07:00
Makoto Onuki
ffa0a6f4bf Merge "Fix trivial hidden API uses" 2019-10-08 16:20:14 +00:00
Jay Aliomer
efe1c928b3 "Clear all" causes auto-grouped persistent notifications losing the group summary
When an automatically generated notification group has 4+ persistent
notifications, hitting "clear all" will cause the group to lose its
automatically generated group summary notification. The solution is to
count the number of notifications belonging to a specific group as well
as the number of ongoing notifications. if the number of grouped
notifications > min before grouping limit & the group has at least one
ongoing notification, then the group summary notification will be marked
as ongoing with the flag FLAG_ONGOING_EVENT. otherwise the flag will
be removed.

Bug: 129562864
Change-Id: I65412935fbb4a74de6ac4cf159d4fd2ebe96dae8
Fix: 129562864
Test: atest NotificationManagerServiceTest
2019-10-08 11:15:16 -04:00
Alan Stokes
74ce7a7de2 Delete some dead code.
Test: Still builds.
Change-Id: If70d087f9c7d1f00cbb4b603157e155649043846
2019-10-08 15:36:09 +01: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