Winson Chung
ba7db92d16
Fixing crash when task is already parent of activity.
...
- When launching an activity into a task, it's parent is already set
which can cause the reparent call to crash. Instead, just move the
activity to the top.
Bug: 34933399
Test: Launch an app that doesn't support multiwindow, and engage split
screen, or launch a PiP activity and tap to show the menu
Change-Id: Iaa36003e88f4021f2483dedc71802023369d6558
2017-02-02 19:43:54 +00:00
TreeHugger Robot
ddb80216b9
Merge "Addition separation of adding vs. reparenting activity"
2017-02-02 16:58:57 +00:00
Erik Kline
ee929e69fb
Merge "Add test for repeated calls to registerMobileUpstreamRequest()" am: 603eefd5d5 am: 180a3d07a8 am: d85f448274
...
am: 2ebea21074
Change-Id: I2e0ab82edd8997188c8c16dce6373ccb19657e3d
2017-02-02 16:52:43 +00:00
Jerome Gaillard
abf19d1aa4
Merge changes Ic8254f0f,I1f285c3b
...
* changes:
Ignore justified in layoutlib for the moment
Update Canvas_Delegate after Change I3edc963a
2017-02-02 16:12:26 +00:00
TreeHugger Robot
8308526d88
Merge "Framework: Preloaded-classes tuning"
2017-02-02 16:07:43 +00:00
Wale Ogunwale
a0cd15e1a0
Addition separation of adding vs. reparenting activity
...
- Removed method ActivityRecord.setTask which did only half of what
is needed when adding a task and also only did half of what is needed
for reparenting. Previous callers now need to call either
ActivityRecord.reparent() to reparent and activity or
TaskRecord.addActivityAtIndex() to add an activity to a task.
- Fixed some NPE that resulted from the above change.
Test: adb shell am instrument -w -e class
com.google.android.setupwizard.tests.activity.SetupWizardExitActivityTest
com.google.android.setupwizard.tests.activity
Bug: 34179495
Change-Id: Ic69487f51d1bd139825e6a8054a49ce143065a57
2017-02-02 06:48:56 -08:00
Gustav Sennton
f9295bcc24
Merge "Make sure we cannot use packages targeting pre-O as WebView packages."
2017-02-02 14:34:04 +00:00
Esteban Talavera
3355950785
Merge "Affiliated profile owners can set lock task packages"
2017-02-02 14:15:55 +00:00
Diego Perez
650d78042e
Merge "Add ability to promote classes to public visibility"
2017-02-02 14:03:11 +00:00
Narayan Kamath
ff5659fbc3
Revert "Call ActivityCallbacks after corresponding activity methods"
...
This reverts commit 660cf30e21 .
bug: 34415265
bug: 34914977
Test: chrome launches
Change-Id: I170365fd47313bafb0d722e6d55ee119336137c4
2017-02-02 13:55:31 +00:00
Diego Perez
b74f748579
Add ability to promote classes to public visibility
...
Test: Added new PromoteClassClassAdapterTest
Change-Id: I30f9ee259d39e2b2768c1ceb45aa2161983c5a5e
(cherry picked from commit 294f0850f7623737899c9ea0b03cebc2cf7e4176)
2017-02-02 10:34:38 +00:00
Hyunyoung Song
3084ec2df4
Handle nullable drawables inside MaskableIconDrawable
...
Test: manual test
b/34902453
Change-Id: I36fc48f7e4c1f6503a9c26b8f239c62da729b490
2017-02-02 00:59:13 -08:00
Ying Wai (Daniel) Fan
419fbce429
Merge "Prevent division-by-zero error when calculating battery capacity."
2017-02-02 08:32:13 +00:00
Sergei Vasilinetc
f2ca8e030c
Merge "Hardware bitmaps: Destroy texture ID generated for the copy"
2017-02-02 07:27:14 +00:00
TreeHugger Robot
82c8e5c960
Merge "No warning/info log for expected/normal situations"
2017-02-02 06:46:33 +00:00
TreeHugger Robot
8585249248
Merge "Avoid NPE in NightDisplayService when VR mode is invoked"
2017-02-02 06:43:03 +00:00
Andreas Gampe
0db10fd0bb
Framework: Preloaded-classes tuning
...
Run the regular use case study.
Bug: 34890992
Test: m
Test: Device boots
Change-Id: I8387b3b09713bd3a031073c14109393a2583c764
2017-02-01 22:19:52 -08:00
Erik Kline
2ebea21074
Merge "Add test for repeated calls to registerMobileUpstreamRequest()" am: 603eefd5d5 am: 180a3d07a8
...
am: d85f448274
Change-Id: Ia629aa5dbdf10566c28525d9a05b096482db3f2d
2017-02-02 05:25:05 +00:00
Erik Kline
d85f448274
Merge "Add test for repeated calls to registerMobileUpstreamRequest()" am: 603eefd5d5
...
am: 180a3d07a8
Change-Id: I9f80a3ff713b4b00136808051a717509f600bb9a
2017-02-02 05:20:05 +00:00
Erik Kline
180a3d07a8
Merge "Add test for repeated calls to registerMobileUpstreamRequest()"
...
am: 603eefd5d5
Change-Id: I6b2a0d6df70df028ef9b8ff5d689c5a627d8daf8
2017-02-02 05:15:23 +00:00
Tomasz Mikolajewski
813ef268ac
Merge "Add plain mode for the quick viewer."
2017-02-02 05:10:31 +00:00
Treehugger Robot
603eefd5d5
Merge "Add test for repeated calls to registerMobileUpstreamRequest()"
2017-02-02 05:07:23 +00:00
TreeHugger Robot
0a6d2b6dac
Merge "Fix AutoFill Save window layout params."
2017-02-02 03:58:47 +00:00
Tomasz Mikolajewski
867addf393
Add plain mode for the quick viewer.
...
When EXTRA_QUICK_VIEW_PLAIN is passed, then plain UI should be shown.
This is just a hint for third party apps, whic may ignore it.
Test: Not testable, as it's just a hint.
Bug: 32161075
Change-Id: Ie244d28d552f6c654be93a5749ac164d2a77d25f
2017-02-02 12:21:16 +09:00
Suprabh Shukla
b99369c8a4
DO NOT MERGE Do not call RecoverySystem with DPMS lock held am: 4ffe72dcc8 am: ab8d3febd3 am: 2e6bdbeaab am: 588411fc7c -s ours am: 773f85ec60 am: 029364c505 am: 2f1b2d82ca am: ac8f44e387 am: 3ee26841fd
...
am: a843ab955c -s ours
Change-Id: I5de7b85e7cf6aae708512ec068edee82ad5ee239
2017-02-02 03:07:56 +00:00
Suprabh Shukla
a843ab955c
DO NOT MERGE Do not call RecoverySystem with DPMS lock held am: 4ffe72dcc8 am: ab8d3febd3 am: 2e6bdbeaab am: 588411fc7c -s ours am: 773f85ec60 am: 029364c505 am: 2f1b2d82ca am: ac8f44e387
...
am: 3ee26841fd
Change-Id: I7b4d65cc7a3d1b4f575d885e1c71b40a52cc90a4
2017-02-02 03:03:20 +00:00
Suprabh Shukla
3ee26841fd
DO NOT MERGE Do not call RecoverySystem with DPMS lock held am: 4ffe72dcc8 am: ab8d3febd3 am: 2e6bdbeaab am: 588411fc7c -s ours am: 773f85ec60 am: 029364c505 am: 2f1b2d82ca
...
am: ac8f44e387
Change-Id: I7e4376740ddf167035a3274c19ca5ae3f113a9b0
2017-02-02 02:57:58 +00:00
Jason Monk
87562128ee
Merge "QS: Remove circles and add lines"
2017-02-02 02:53:52 +00:00
Suprabh Shukla
ac8f44e387
DO NOT MERGE Do not call RecoverySystem with DPMS lock held am: 4ffe72dcc8 am: ab8d3febd3 am: 2e6bdbeaab am: 588411fc7c -s ours am: 773f85ec60 am: 029364c505
...
am: 2f1b2d82ca
Change-Id: I8094afc5c919b65d7f180ef9d3ad875f3ea4dacf
2017-02-02 02:53:21 +00:00
Suprabh Shukla
2f1b2d82ca
DO NOT MERGE Do not call RecoverySystem with DPMS lock held am: 4ffe72dcc8 am: ab8d3febd3 am: 2e6bdbeaab am: 588411fc7c -s ours am: 773f85ec60
...
am: 029364c505
Change-Id: Ibef494c57a80a7b0d871dd8a80f877816e6897d0
2017-02-02 02:48:23 +00:00
Suprabh Shukla
029364c505
DO NOT MERGE Do not call RecoverySystem with DPMS lock held am: 4ffe72dcc8 am: ab8d3febd3 am: 2e6bdbeaab am: 588411fc7c -s ours
...
am: 773f85ec60
Change-Id: Ie83cb2dfd89fd808e906a802e16fd1943a898012
2017-02-02 02:43:24 +00:00
Suprabh Shukla
773f85ec60
DO NOT MERGE Do not call RecoverySystem with DPMS lock held am: 4ffe72dcc8 am: ab8d3febd3 am: 2e6bdbeaab
...
am: 588411fc7c -s ours
Change-Id: I1511e5dff681d06161cd18b78e7edaf7eddb897a
2017-02-02 02:38:24 +00:00
Suprabh Shukla
588411fc7c
DO NOT MERGE Do not call RecoverySystem with DPMS lock held am: 4ffe72dcc8 am: ab8d3febd3
...
am: 2e6bdbeaab
Change-Id: I7e286445a887e467a7de42ce9b27a9dc009e47fd
2017-02-02 02:32:48 +00:00
Suprabh Shukla
2e6bdbeaab
DO NOT MERGE Do not call RecoverySystem with DPMS lock held am: 4ffe72dcc8
...
am: ab8d3febd3
Change-Id: If42411391fe2010162c51adf48e720e308a650ec
2017-02-02 02:28:13 +00:00
Suprabh Shukla
ab8d3febd3
DO NOT MERGE Do not call RecoverySystem with DPMS lock held
...
am: 4ffe72dcc8
Change-Id: Ic7b9ef6484df0b57c8f1ee7a483ef3bda05c7cc7
2017-02-02 02:21:16 +00:00
Felipe Leme
5523f9a2fc
Merge "Improved AutoFill Save workflow."
2017-02-02 02:05:32 +00:00
sergeyv
9f4a82f569
Hardware bitmaps: Destroy texture ID generated for the copy
...
Test: manual
bug:34807359
Change-Id: Idb1ef2a2efcb3cf7fb96e2a1f0554a06e7cd0fc2
2017-02-01 17:50:27 -08:00
Makoto Onuki
82233e9203
DO NOT MERGE Do not call RecoverySystem with DPMS lock held am: 2317451acc am: 01f971dcdc am: 963cba5b5b am: f1e276384d am: 46bfcb9961 -s ours
...
am: 62c651d4d5 -s ours
Change-Id: I459ff4ec03824e661d286aa718e029c7a5a60c7d
2017-02-02 01:29:49 +00:00
Makoto Onuki
62c651d4d5
DO NOT MERGE Do not call RecoverySystem with DPMS lock held am: 2317451acc am: 01f971dcdc am: 963cba5b5b am: f1e276384d
...
am: 46bfcb9961 -s ours
Change-Id: Ie1cd5114414daeb1216827563333ed91df873604
2017-02-02 01:25:19 +00:00
Makoto Onuki
46bfcb9961
DO NOT MERGE Do not call RecoverySystem with DPMS lock held am: 2317451acc am: 01f971dcdc am: 963cba5b5b
...
am: f1e276384d
Change-Id: I856ad657b894531f03bc145e033b0cebf4e722cd
2017-02-02 01:19:52 +00:00
Makoto Onuki
f1e276384d
DO NOT MERGE Do not call RecoverySystem with DPMS lock held am: 2317451acc am: 01f971dcdc
...
am: 963cba5b5b
Change-Id: I3a1421f656d1a90970eac6156e0840625662fb17
2017-02-02 01:15:44 +00:00
Makoto Onuki
963cba5b5b
DO NOT MERGE Do not call RecoverySystem with DPMS lock held am: 2317451acc
...
am: 01f971dcdc
Change-Id: If5f5e5d47b97e2b8480adc5ca2cb08702056ca87
2017-02-02 01:10:43 +00:00
Makoto Onuki
01f971dcdc
DO NOT MERGE Do not call RecoverySystem with DPMS lock held
...
am: 2317451acc
Change-Id: Id3441141d4feea4c7291350c9670bd59ec017240
2017-02-02 01:03:21 +00:00
TreeHugger Robot
d8a937e02e
Merge "Add dumpsys options to procstats to inject screen state"
2017-02-02 01:02:33 +00:00
Winson Chung
b0412060ea
Merge changes Iad270dfd,Ice608e6d,I375369a8
...
* changes:
Adding initial TRON logging for picture-in-picture.
Disallow entering PiP when activity is locked.
Preventing cases where an app can be stopped while entering PiP.
2017-02-02 00:23:08 +00:00
TreeHugger Robot
58f34b828d
Merge "Start MtpDocumentsService as foreground service."
2017-02-02 00:13:34 +00:00
Daichi Hirono
d3c6dd1522
Start MtpDocumentsService as foreground service.
...
Prevously MtpDocumentsService was started as background service, then it
turns into a foreground service by calling Service#startForeground.
The workflow did not work until this, because now background activity
cannot launch a background service.
The CL starts using NotificationManager#startForegroundService to launch
MtpDocumentsService so that the service can be started as foreground
service directly.
Bug: 34468813
Test: MtpDocumentsProviderTests
Test: manual testing with connecting MTP device to Android
Change-Id: Ic35d3e92f234881846e5d82ed04d6681a83035f7
2017-02-02 00:13:08 +00:00
Steven Thomas
1e9b4b07c9
Avoid NPE in NightDisplayService when VR mode is invoked
...
Bug: b/32086748
Test: I was seeing the crash without the CL. With the CL no more crash.
Change-Id: I286af1066ce8928ed72a83a8da645fe99953fd85
2017-02-01 15:53:13 -08:00
Mark Renouf
362b4131bc
Merge "Removing extraneous translations"
2017-02-01 23:30:56 +00:00
TreeHugger Robot
bc5d58307a
Merge "Fix a bug in View#hasFocusable with new auto-focusable behavior"
2017-02-01 23:23:43 +00:00