Commit Graph

305721 Commits

Author SHA1 Message Date
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
Tomasz Mikolajewski
813ef268ac Merge "Add plain mode for the quick viewer." 2017-02-02 05:10:31 +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
Jason Long
2288eff965 Fix AutoFill Save window layout params.
Change-Id: I54ae23e9ab1b12ab868b37fd8e87e89dad7ae8fc
Test: CTS
2017-02-01 15:16:53 -08:00
TreeHugger Robot
655ce66be5 Merge "Scale PiP to stack instead of crop." 2017-02-01 23:14:16 +00:00
Makoto Onuki
3ed5be3fa7 Add dumpsys options to procstats to inject screen state
Test: CTS CtsDumpsysHostTestCases, not submitted yet though.
$ cts-tradefed run cts --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsDumpsysHostTestCases -t 'android.dumpsys.cts.ProcessStatsDumpsysTest'
Bug 34228624

Change-Id: I9cf7f737624fe9f188956be7ba7485151555bc4b
2017-02-01 14:55:33 -08:00
Bryce Lee
0c430fa464 Merge "Allow opening activity to specify orientation." 2017-02-01 22:54:33 +00:00
Sergei Vasilinetc
0e177d32ed Merge "Explicitly destroy Layer in DeferredLayerUpdater on destroyHardwareResources()" 2017-02-01 22:52:21 +00:00
Sergei Vasilinetc
2cf7b1f142 Merge "Properly clear textures for Hardware Bitmaps" 2017-02-01 22:48:06 +00:00
Jason Monk
2db4619153 QS: Remove circles and add lines
- Remove circles from icons.
 - Add lines to indicate tiles with dual tap targets.
 - Change default order

Test: visual
Change-Id: I1eb02641757a76ddf3e3876182f7b2503161bc9e
2017-02-01 17:22:51 -05:00
Yohei Yukawa
d033283508 No warning/info log for expected/normal situations
This CL hides warning and info log messages from
InputMethodManagerService (IMMS) and InputMethodService (IMS) behind
DEBUG flag like other logs unless the state is certainly unusual.

Of course the definition of "unusual" is still an open question, but
basically that we should not see any suspicious message from IMMS/IMS
just by turning on a new phone, launching some applications, typing
something, and turning off the device. IMMS and IMS should expect all
events that can (easily) occur in that scenario, and no log is
necessary for such things.

Note that warnings suppressed with TODO comments will be tracked
under Bug 34851776 (and Bug 34886274).

Test: adb logcat -s InputMethodManagerService:* InputMethodService:*
      to monitor log in the following scenario:
       1. Boot the device.
       2. Complete the setup wizard.
       3. Launch Dialer and type something on it.
       4. Launch Contacts app and type something on it.
       5. Try some special modes:
           - Turn on/off display
           - Recents screen
           - Split-window mode
           - Guest user
           - Multi user
           - Direct-boot (setup a device password and reboot)
      except for logs about actual IPC calls from a background user.
Bug: 34838583
Bug: 34851776
Bug: 34886274
Change-Id: I3fcdeb919bb2f2940da9ff45e17ac00baa1253f4
2017-02-01 13:59:43 -08:00
Pierre Lecesne
0fcdf4399e Merge "Backbone of the new aapt2 strip command." 2017-02-01 21:15:12 +00:00
Steven Moreland
a59b4912b4 Merge "Cleanup hwbinder getService code." am: 9be24a3040 am: 4ede371d80 am: ec840d1464
am: 8bb391016b

Change-Id: I56d2b0c8d466e78316497264b7ca96f6526b3d9d
2017-02-01 21:08:00 +00:00
Steven Moreland
8bb391016b Merge "Cleanup hwbinder getService code." am: 9be24a3040 am: 4ede371d80
am: ec840d1464

Change-Id: I83a7077f07689dc57ac4d8828508443cc4385292
2017-02-01 21:03:54 +00:00
Daniel Nishi
646f500315 Merge "Add a filter for audio apps." 2017-02-01 21:01:55 +00:00
Steven Moreland
ec840d1464 Merge "Cleanup hwbinder getService code." am: 9be24a3040
am: 4ede371d80

Change-Id: Ia0f3f88d8881f89cec6939dbb44d7dbbb8da9a7f
2017-02-01 20:57:59 +00:00