164140 Commits

Author SHA1 Message Date
Craig Mautner
880eb34f24 am 4816ed65: Merge "Debug for bug 18017409" into lmp-mr1-dev
* commit '4816ed65c6425d31ea23f2c4f2e36c23c6f16b1c':
  Debug for bug 18017409
2014-10-22 03:13:14 +00:00
Craig Mautner
4816ed65c6 Merge "Debug for bug 18017409" into lmp-mr1-dev 2014-10-22 03:01:41 +00:00
Leon Scroggins III
f408217411 am 754bffe9: am e463bc38: am 3c8bde55: Merge "Report that a JavaInputStreamAdaptor is at end." into lmp-dev
* commit '754bffe9692f2f62c4788b78eedbd63394db15a2':
  Report that a JavaInputStreamAdaptor is at end.
2014-10-22 02:25:57 +00:00
Robin Lee
bd4f2a473f am de7df08c: am fc567900: am e1c9489c: Merge "DevicePolicy: Restore CA warning to K behaviour" into lmp-dev
* commit 'de7df08cdad2094ffaaa02c047acd76c05a2f224':
  DevicePolicy: Restore CA warning to K behaviour
2014-10-22 02:25:53 +00:00
Dongwon Kang
94e8b9dc6e am a6372b3b: Merge "TIF: add more documentation on Hardware session." into lmp-mr1-dev
* commit 'a6372b3be4d114c2082d83bbd065a0439f9feb2f':
  TIF: add more documentation on Hardware session.
2014-10-22 02:13:07 +00:00
Leon Scroggins III
754bffe969 am e463bc38: am 3c8bde55: Merge "Report that a JavaInputStreamAdaptor is at end." into lmp-dev
* commit 'e463bc388e7f5d83f864b320dde400e390ef5817':
  Report that a JavaInputStreamAdaptor is at end.
2014-10-22 02:00:46 +00:00
Robin Lee
de7df08cda am fc567900: am e1c9489c: Merge "DevicePolicy: Restore CA warning to K behaviour" into lmp-dev
* commit 'fc56790085463ab410a5f407a4930b42509ad5f7':
  DevicePolicy: Restore CA warning to K behaviour
2014-10-22 02:00:38 +00:00
Dongwon Kang
a6372b3be4 Merge "TIF: add more documentation on Hardware session." into lmp-mr1-dev 2014-10-22 01:46:33 +00:00
Deepanshu Gupta
37779f0749 Merge "Check Bridge init before disposing." into lmp-dev
automerge: 568f16c

* commit '568f16ccfbe95d5a68e3e3a732565a1063d5160e':
  Check Bridge init before disposing.
2014-10-22 01:17:32 +00:00
Jinsuk Kim
07b481a9f7 Merge "CEC: Add missing protections for some HdmiControlService API - DO NOT MERGE" into lmp-dev
automerge: 0c74939  -s ours

* commit '0c74939024cb2aec9e8348808366170d77d6e8e7':
  CEC: Add missing protections for some HdmiControlService API - DO NOT MERGE
2014-10-22 01:16:26 +00:00
Craig Mautner
5a3c231dc8 Debug for bug 18017409
Log adding and removing windows. Log activity state changes.

Change-Id: I544be89ff9af6b13ffde70dedec291793b46a420
2014-10-21 18:15:20 -07:00
Deepanshu Gupta
568f16ccfb Merge "Check Bridge init before disposing." into lmp-dev 2014-10-22 00:57:34 +00:00
Alan Viverette
36a132c0a0 am bb852b0b: Merge "Format ListPreference summary with empty string if entry is null" into lmp-mr1-dev
automerge: c4a12a7

* commit 'c4a12a7ad0d6eef723b65c256cd77570b2177a28':
  Format ListPreference summary with empty string if entry is null
2014-10-22 00:45:34 +00:00
Alan Viverette
c4a12a7ad0 am bb852b0b: Merge "Format ListPreference summary with empty string if entry is null" into lmp-mr1-dev
* commit 'bb852b0b6b743aeca3a6daceafc89166ec6022d8':
  Format ListPreference summary with empty string if entry is null
2014-10-22 00:39:27 +00:00
Alan Viverette
bb852b0b6b Merge "Format ListPreference summary with empty string if entry is null" into lmp-mr1-dev 2014-10-22 00:35:29 +00:00
Alan Viverette
13e13ddd4e Format ListPreference summary with empty string if entry is null
Adding serif-monospace and sans-serif-monospace font families bumped
out the previous monospace, which left the summary as %s. Returning
an unformatted summary is never correct, and we should simply return
a summary populated with an empty string.

BUG: 17666124
Change-Id: Ic22dc5dc87d9ba3ad6f6b92ee059f5c98cbf103a
2014-10-21 17:05:07 -07:00
Wale Ogunwale
be23ff4949 Fix issue #17674789: Recents icon resets if persist mode is 'persistNever'
Changed TaskPersister worker thread to not delete task information on disk
for tasks that are in recents but not persistable.

Also, changed logic that writes tasks information (excluding thunmbnail)
to disk to not write information for tasks that are not persistable.

Bug: 17674789
Change-Id: Iff7c5d24677f8a75157bb6be504fc2d9d6bcc098
2014-10-21 16:47:58 -07:00
Santos Cordon
40f1589544 am 028217eb: Merge "Add hidden method to access a connection\'s service." into lmp-dev
* commit '028217eb6789e82c96ef5ff5fe0a5a9e0c740d97':
  Add hidden method to access a connection's service.
2014-10-21 23:29:41 +00:00
Jinsuk Kim
0c74939024 Merge "CEC: Add missing protections for some HdmiControlService API - DO NOT MERGE" into lmp-dev 2014-10-21 23:25:58 +00:00
Santos Cordon
028217eb67 Merge "Add hidden method to access a connection's service." into lmp-dev 2014-10-21 23:22:02 +00:00
Paul Jensen
1de55d3cc8 Show ProgressDialog when waiting for radio to turn on when provisioning.
Turning on the cellular radio when user selects the provisioning notification
can take 30-60s so a UI is needed to keep the user informed that the radio is
coming up. This is only for provisioning APN support (only AT&T tablets now).

bug:15990642
Change-Id: Ibea894ee934bae2045c0462ae79bfa39d0ef3f05
2014-10-21 16:06:35 -07:00
Bryce Lee
584a445179 [Theater Mode] framework implementation through global setting
Bug: 17684570
Change-Id: I64a9c9c0620049cdfcca0150648fa201281f7178
2014-10-21 15:55:55 -07:00
Filip Gruszczynski
baecc0b2d1 Merge "Disable activity's translucency until it starts being swiped away." into lmp-sprout-dev 2014-10-21 22:14:40 +00:00
Guang Zhu
55bc7dc428 am ccbeb61a: Block monkey from creating user profiles
* commit 'ccbeb61ac21527839deb115199cbe98fa2b73c05':
  Block monkey from creating user profiles
2014-10-21 22:12:38 +00:00
Filip Gruszczynski
3f8dd14451 Disable activity's translucency until it starts being swiped away.
Change-Id: Ia5dceac7bd9ff57920a43736f9db6a33175e01ac
2014-10-21 15:12:00 -07:00
Jinsuk Kim
5c0f472d82 CEC: Add missing protections for some HdmiControlService API - DO NOT MERGE
A few methods are found to be missing protection with system permission.
Add enforceAccessPermission() like other methods.

Bug: 17408780

Change-Id: I58a336b5cc9df2d195bdfe7b928898dde5ff169f
(cherry picked from commit b22d9ee0a364b10d488dd6a2e8ba69d5ca7f6258)
2014-10-21 21:57:34 +00:00
Svetoslav
7e9c21547a Grant the shell user a permission to let apps host widgets.
An app can host widgets only if it has a special signature premission
or the user allowed this app to be able to bind to widgets. This change
grants the permission to whitelist an app to bind to app widgets to the
shell user. Now a test can have a host that will have some widgets. Note
that this is different from whitelisting corp widgets.

bug:17993121

Change-Id: Ic6b866cb2a822254e94a130b876ee5db66ed4fbf
2014-10-21 14:52:31 -07:00
Adam Powell
639e3181e0 am e055c95b: am 054e8be5: Merge "Intent chooser callback" into lmp-mr1-dev
* commit 'e055c95b77a3610452f31d2303fa35bf171acf0e':
  Intent chooser callback
2014-10-21 21:49:55 +00:00
Svetoslav
3a5c721072 APIs for an accessibility service to put interaction tracking overlays.
An accessibility service may register to observe the interactive windows
on the primary display. These windows are the one that has input focus and
ones a sighted user can touch. It is sometimes beneficial for an
accessibility service to overlay a window to intercept user interaction
and based on that introspect and perform an action on the windows that
are on the screen. This is problematic as overlaying a full screen window
that is touchable prevents the accessibility service to introspect the
content under this window.

This change adds a special type of window that only an accessibility service
can place which does not affect what an accessibility service can "see" on
the screen. Hence, even putting such a window full screen the service will
be able to interact with the other interactive windows it covers.

Change-Id: I053ccc3a5c6360a98dc40bdb172b54dab35d8b31
2014-10-21 14:45:53 -07:00
Adam Powell
e055c95b77 am 054e8be5: Merge "Intent chooser callback" into lmp-mr1-dev
* commit '054e8be5e0f9c83dd9792bb1bc118b1a7fd70e17':
  Intent chooser callback
2014-10-21 21:44:26 +00:00
Adrian Roos
c19586a805 am 7b4a38b1: Delay discovery of system trust agents
* commit '7b4a38b197ce43cb286d80fc6c4e9713b2807f13':
  Delay discovery of system trust agents
2014-10-21 21:43:05 +00:00
Adam Powell
054e8be5e0 Merge "Intent chooser callback" into lmp-mr1-dev 2014-10-21 21:41:19 +00:00
Andrew Lee
e56ad3eddd am ba2f181a: am 74af6700: Merge "Add video calling setting to TelephonyManager." into lmp-mr1-dev
* commit 'ba2f181aa1607e9bd2bf1b723dac8a6c855fab14':
  Add video calling setting to TelephonyManager.
2014-10-21 21:39:52 +00:00
John Reck
76f24bde78 am e73a54f3: am bf463af2: Merge "Surface:lockHardwareCanvas" into lmp-mr1-dev
* commit 'e73a54f33c029552469fcf1cda46eed2f360a38e':
  Surface:lockHardwareCanvas
2014-10-21 21:39:36 +00:00
Andrew Lee
aec33e66ac am cd90d42d: am 017c6f2d: Merge "Fire onConferenceChanged after reseting conference." into lmp-mr1-dev
* commit 'cd90d42d9d6e56c8180fd621f0c9afda297291d5':
  Fire onConferenceChanged after reseting conference.
2014-10-21 21:39:30 +00:00
Guang Zhu
ccbeb61ac2 Block monkey from creating user profiles
Bug: 17721767
Change-Id: Ibf686d6aa5da29411ee23f8ce6826ed93c1fa970
2014-10-21 14:36:13 -07:00
John Spurlock
0a76c47e71 am 0dfda02e: am 1a3f7db0: VolumeDialog: Restore default-selection logic.
* commit '0dfda02ec30ee155fd26af0a5d390c504807e0eb':
  VolumeDialog: Restore default-selection logic.
2014-10-21 21:25:34 +00:00
Andrew Lee
ba2f181aa1 am 74af6700: Merge "Add video calling setting to TelephonyManager." into lmp-mr1-dev
* commit '74af6700196ed55a0aa39c7777293e735e7b4d73':
  Add video calling setting to TelephonyManager.
2014-10-21 21:18:48 +00:00
John Reck
e73a54f33c am bf463af2: Merge "Surface:lockHardwareCanvas" into lmp-mr1-dev
* commit 'bf463af2a5ed6c37df5d0e5a49f6a15d457e1c85':
  Surface:lockHardwareCanvas
2014-10-21 21:12:48 +00:00
Andrew Lee
cd90d42d9d am 017c6f2d: Merge "Fire onConferenceChanged after reseting conference." into lmp-mr1-dev
* commit '017c6f2daaed2c5f0301587ba88663f73b76ecb1':
  Fire onConferenceChanged after reseting conference.
2014-10-21 21:12:36 +00:00
Andrew Lee
74af670019 Merge "Add video calling setting to TelephonyManager." into lmp-mr1-dev 2014-10-21 21:08:46 +00:00
John Reck
bf463af2a5 Merge "Surface:lockHardwareCanvas" into lmp-mr1-dev 2014-10-21 20:59:53 +00:00
Andrew Lee
4a3084a46d Add video calling setting to TelephonyManager.
We want to add a user setting to enable/disable video calling. This
is a telephony-level setting which the user sets using Telephony's
Call Settings, and applies universally to video calls.

But this setting needs to be accessible in places such as Dialer,
so these changes are to support storing the setting in
TelephonyManager (to be implemented in PhoneInterfaceManager) and
providing access to the setting for applications like Dialer
through TelephonyManager.

+ Add function definitions to ITelephony.
+ Add function wrapper implementations in TelephonyManager.

Bug: 16014284
Change-Id: I1dce8bf5ae4f0ee115698ce9627ba8fc424dd855
2014-10-21 13:49:42 -07:00
John Reck
bb2d0cc7e1 Surface:lockHardwareCanvas
Bug: 17440886

Change-Id: I1f2d98c63ec1a2814c2258cf7e0096139263770a
2014-10-21 13:23:56 -07:00
Ricardo Cervera
41848002af docs: Removing extra semicolons in Wear notif examples.
Bug: 17053734

Change-Id: If11b711e2797eeb2fc392e0658d644c585e4bc54
2014-10-21 13:15:39 -07:00
Andrew Lee
017c6f2daa Merge "Fire onConferenceChanged after reseting conference." into lmp-mr1-dev 2014-10-21 20:02:19 +00:00
John Spurlock
0dfda02ec3 am 1a3f7db0: VolumeDialog: Restore default-selection logic.
* commit '1a3f7db001a75770d888866a760e1308bb1f25fd':
  VolumeDialog: Restore default-selection logic.
2014-10-21 19:47:00 +00:00
Wale Ogunwale
393b1c1e88 Fix issue #17789629: PopupWindow overlaps with navigation bar.
The Lollipop release introduced a feature that allowed
apps to extend under the navigation bar. This also means
any popup window that is anchored to the bottom of its
parent window will overlap with the navigation bar if the
parent window is extending underneath the navigation bar.

This change introduces a new window flag
(FLAG_LAYOUT_ATTACHED_IN_DECOR) that allows the app to
specify if the popup window should be attached to the decor
frame of the parent window thereby avoiding an overlap
with the screen decorations.

By default the flag is set on SDK version LOLLIPOP_MR1 or
greater and cleared on lesser SDK versions.

Also, replaced flags FLAG_NEEDS_MENU_KEY and
PRIVATE_FLAG_NEEDS_MENU_KEY_SET with needsMenuKey state
variable to make room for the new
FLAG_LAYOUT_ATTACHED_IN_DECOR flag.

Bug: 17789629
Change-Id: I2150e0c6ac688c966c0e8f7e54d42fd20285bea6
2014-10-21 12:45:53 -07:00
Craig Mautner
52656916e3 am 4c101015: Merge "Avoid to skip app window due to un-assigned sending to bottom state while app window sort"
* commit '4c1010152e487d3471e6703e8a9f8c1010488d47':
  Avoid to skip app window due to un-assigned sending to bottom state while app window sort
2014-10-21 19:45:41 +00:00
Craig Mautner
4c1010152e Merge "Avoid to skip app window due to un-assigned sending to bottom state while app window sort" 2014-10-21 19:24:18 +00:00